Hey!
We are developing a board using the C6418. At the moment we are trying go get the SDRAM to work.
We are using a Micron MT48LC4M32B2-6 128Mbit SDRAM-Chip mapped into CE0 of EMIFA. The EMIFA is clocked at CPU/6. For testing our CPU runs at 300MHz or less. So the SDRAM runs at 50MHz or less.
ECLKOUT1 is enabled in GBLCTL. And ECLKOUT1 runs.... ;)
CE0 is configured to memory-type SDRAM32.
In SDCTL bit RFEN is set. So SDRAM refresh should be enabled.
In SDCTL bit SLFRFR is unset. So SDRAM self-refresh is disabled.
The Layout and timing of the SDRAM *should* be set correctly.
The SDTIM register is set do to four Auto Refreshes every 15,6µs.
Now we are expiring two problems:
First:
We are configuring our EMIFA to do four Auto Refreshes on the SDRAM contents every 15,6µs. If the CPU is idle, we expect the EMIF to produce four Chip-Selects to the SDRAM every 15,6µs. But: There are no access to the SDRAM! Do we need to access the SDRAM first before the EMIF starts to Refresh SDRAM contents?
Next:
If we write a Word into the first Adress of the SDRAM (lets say this is address 0x000) this Word appers at Address 0x000 and 0x100. If we write an other Word 0x101 this Word appers at adress 0x001. The address 0x101is still in the same page (or row) of the SDRAM. And: We can only measure one access to the SDRAM. Is this a known Problem? Or can someone figure out what causes this fault?
Thanks :)
Regards,
Chris