SDRAM init & data bus

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.

Reply to
aleksa
Loading thread data ...

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...

Reply to
Arlet Ottens

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

Reply to
Tim Wescott

Or the Java crowd 0xcafebabe

Reply to
Dennis

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
Reply to
Tim Wescott

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.