SDRAM init & data bus

Feb 22, 2011 4 Replies

I need someone to confirm that the SDRAM does not use data bus to receive commands.



Which means that I can mix the data bus in whatever way it suits me while am routing the PCB... right?



(i.e., connect D0 on MCU do say, D5 on SDRAM)



TIA


P.S. I really don't like the guy who wrote 0xcafedede in SDRAM init on Atmel's examples.


Correct. Only address bits are used for configuration.

If you need >8 bit wide SDRAM, and you want single byte writes, you have to be careful to keep D0-D7 in the same group, as well as D8-15, etc...

What, you wanted it to be 0xdeadbeef?

--

Tim Wescott Wescott Design Services

formatting link

Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" was written for you. See details at

formatting link

I once had a phrase generator for this sort of situation -- you gave it a character set (a b c d e in this case, or a b c d e O I S, if you wanted to interpret numbers as letters), and a number of characters to use, and it would choose all the phrases that would fit into that number of characters, using that character set.

It still wouldn't be able to generate "0xfab4bdead", which a colleague of mine used for IEEE-1394, which has a 36-bit field (address, I think) in it someplace.

Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" was written for you. See details at http://www.wescottdesign.com/actfes/actfes.html

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required