Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
Post a new Thread
SDRAM Interface problem - Bhaskar Reddy N - Jun 24 9:40:00 2005
Hi,
this may be board related problem but i was clue less
on this. needed help.
I am using 6711, code running internally. CE0 space is
used for SDRAM, CE1 for Flash, CE2 for SRAM and CE3
with a 3to8 decoder for interfacing i/o. In i/o
devices like UART, ADC are interfaced parallally, it
inclueds some other leds and digital sensing inputs.
And the problem is whenever i try to write something
to SDRAM, my UART (Exar UART XR16C850) initialization
gets currupted. I checked the cross talk of CS signal
by continuosly writing into SDRAM and not writing
anything to UART. UART is not getting the CS signal.
Then how the UART initialization going bad.
Is it the problem with SDRAM initalization.
My SDRAM is 4m16, 2 no of devices. UART uses sdcas for
read enable and sdwe for write enable.
Thanks in advance
BHASKAR REDDY . N
Mysore
Cell: 9880 177365
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com

(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )
Re: SDRAM Interface problem - Mike Dunn - Jun 24 10:33:00 2005
Hello BHASKAR,
If you have multiple devices and only the UART is getting corrupted, I would suspect a
possible logic problem. The actual problem may be occuring when you are switching
devices. Make sure that the enables for you 3:8 are properly disabling the device while
the address lines are changing [most decoders will glitch when the address lines change]. This
would be my first suspect.
I assume that you use the UART, it works okay. Then you access SDRAM and the UART doesn't
work afterwards.
Try doing only SDRAM reads and see if it fails. If this is the case, try a similar
sequence, except do FLASH reads and see if it fails.
mikedunn
Bhaskar Reddy N <t...@yahoo.com> wrote:
Hi,
this may be board related problem but i was clue less
on this. needed help.
I am using 6711, code running internally. CE0 space is
used
for SDRAM, CE1 for Flash, CE2 for SRAM and CE3
with a 3to8 decoder for interfacing i/o. In
i/o
devices like UART, ADC are interfaced parallally, it
inclueds some other leds and
digital sensing inputs.
And the problem is whenever i try to write something
to
SDRAM, my UART (Exar UART XR16C850) initialization
gets currupted. I checked the cross
talk of CS signal
by continuosly writing into SDRAM and not writing
anything to UART.
UART is not getting the CS signal.
Then how the UART initialization going bad.
Is it
the problem with SDRAM initalization.
My SDRAM is 4m16, 2 no of devices. UART uses sdcas
for
read enable and sdwe for write enable.
Thanks in advance
BHASKAR
REDDY .
N
Mysore
Cell: 9880 177365
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
<*> To visit your group on the web,
go
to:
http://groups.yahoo.com/group/c6x/
<*> To unsubscribe from this
group, send an email to:
c...@yahoogroups.com
<*

(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )
Re: SDRAM Interface problem - Jeff Brower - Jun 24 11:17:00 2005
Bhaskar-
> this may be board related problem but i was clue less
> on this. needed help.
> I am using 6711, code running internally. CE0 space is
> used for SDRAM, CE1 for Flash, CE2 for SRAM and CE3
> with a 3to8 decoder for interfacing i/o. In i/o
> devices like UART, ADC are interfaced parallally, it
> inclueds some other leds and digital sensing inputs.
> And the problem is whenever i try to write something
> to SDRAM, my UART (Exar UART XR16C850) initialization
> gets currupted. I checked the cross talk of CS signal
> by continuosly writing into SDRAM and not writing
> anything to UART. UART is not getting the CS signal.
> Then how the UART initialization going bad.
> Is it the problem with SDRAM initalization.
> My SDRAM is 4m16, 2 no of devices. UART uses sdcas for
> read enable and sdwe for write enable.
SDRAM has refresh going in the background, so I think you have to watch things more
carefully. My guess is that somehow your 3:8 decoder is allowing a "glitch" type
of
UART access during an SDRAM refresh cycle.
According to your mem space description, you should be using something like this:
___________
| |
/AWE--------------------------|/WR |
/ARE--------------------------|/RD |
_____ | UART |
A8----| |o--------------|/CS |
A9----| |o-- A/D CS | |
A10----| 3:8 |o-- LEDs |___________|
| |o-- :
/CE3----|/EN |o-- :
|_____|
-Jeff

(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )
SDRAM Interface problem - Bhaskar Reddy N - Jul 1 2:26:00 2005
Hi all,
Thanks for the help.
Actually the problem is not with the SDRAM interface.
The UART i am using has an issue.
It enters factory testmode if IOR and IOW are active
at the same time. where in it continuously sends same
byte on TX. But SDRAM needs these to be active at the
same time to write data.
Thats the reason why it gives problem if i try to
write something, but has no effect if i read SDRAM.
Jeff's sugestion to or the CE signal with IOR/IOW is
the workaround.
Thanks
BHASKAR REDDY . N
Mysore
Cell: 9880 177365

(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )
Re: SDRAM Interface problem - Jeff Brower - Jul 1 12:13:00 2005
Bhaskar-
> Thanks for the help.
> Actually the problem is not with the SDRAM interface.
> The UART i am using has an issue.
> It enters factory testmode if IOR and IOW are active
> at the same time. where in it continuously sends same
> byte on TX. But SDRAM needs these to be active at the
> same time to write data.
> Thats the reason why it gives problem if i try to
> write something, but has no effect if i read SDRAM.
>
> Jeff's sugestion to or the CE signal with IOR/IOW is
> the workaround.
Hey good teamwork, huh? Thanks for letting us know you got it working. For sure I
would suspect the UART before the SDRAM :-)
-Jeff

(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )