SDRAM 16Mx4x4 and MCF5307

OP #2151593
Rate this post
• ▲ useful
▼ not useful
Hello everyone,

I just try to connect the MT48LC64M4A2 SDRAM (16 Meg x 4 x 4 banks) to 
my 5307.
I want to use 8 Chips (each with 4 bit data bus). How do I have to 
connect and initialise it? The coldfire Init-Tool seems to be confused 
with this configuration.
It shows the following config:

ColdFire Pin:    A15 A14 A13 A12 A11 A10 A9 A17 A19 A21 A23      A24 A25 
A26 A27
SDRAM Pin:       A0  A1  A2  A3  A4  A5  A6 A7  A8  A9  A10(CMD) BA0 BA1 
BA2 BA3

But I only have 4 Banks (BA0 and BA1)! I use 11 Bit column adress A0..9 
+ A11. Portsize is 32 Bit.
Where is my fault?

Greetings

Frank
OP #2354363
Rate this post
• ▲ useful
▼ not useful
Hi everyone,

just another Problem:
I tried it but the A25 to A27 Pins are not driven from the CPU. My 
Initcode is:

MCF5307_DRAMC_DCR = MCF5307_DRAMC_DCR_SO | MCF5307_DRAMC_DCR_RTIM_3 | 
MCF5307_DRAMC_DCR_RC(0x18);

MCF5307_DRAMC_DACR0 = (0x3800 << 18)              |
                      MCF5307_DRAMC_DACR_CASL_1   |
                      MCF5307_DRAMC_DACR_CBM(0x6) |
                      MCF5307_DRAMC_DACR_PS_32    |
                      MCF5307_DRAMC_DACR_PM_OFF;

MCF5307_DRAMC_DMR0 = MCF5307_DRAMC_DCMR_MASK_256M | 
MCF5307_DRAMC_DCMR_V;

MCF5307_DRAMC_DACR0 |= MCF5307_DRAMC_DACR_IP;
* (vuint32 *) 0xe0000000 = 0xcafebabe;
for (i = 0; i < 5; i++)
asm ("nop");


Does anyone have an idea?

Greetings

Frank

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.