This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem in interfacing sdr sdram(MT48LC16M16A2BG) with LPC3250 in 16bit

we configured sdr sdram as per LPC3250 .s file. and .s file configured for 32 bit sdr sdram and we configured it as 16 bit.
when we are writing data into sdr sdram it is writing data into that address location like shown below
address data
0x80000000 0x1111
0x80000002 0x2222
0x80000004 0x3333
0x80000006 0x4444
0x80000008 0x5555
0x8000000A 0x6666
0x8000000C 0x7777

when we are reading data from sdram, it is reading data from alternate location like below
address data
0x80000000 0x1111
0x80000002 0x1111
0x80000004 0x3333
0x80000006 0x3333
0x80000008 0x5555
0x8000000A 0x5555
0x8000000C 0x7777

and what is the problem

Parents
  • I just want to clarify one doubt, that how the LPC3250 is generating ACTIVE command.

    What we have understood that when we read/write memory in sdram then EMC present in LPC3250 generates the ACTIVE command. If it so then how the row address for the ACTIVE command is generated by the LPC3250.

    please let us know whether what we are thinking is correct or not. If it is not correct then how the ACTIVE command is generated.

Reply
  • I just want to clarify one doubt, that how the LPC3250 is generating ACTIVE command.

    What we have understood that when we read/write memory in sdram then EMC present in LPC3250 generates the ACTIVE command. If it so then how the row address for the ACTIVE command is generated by the LPC3250.

    please let us know whether what we are thinking is correct or not. If it is not correct then how the ACTIVE command is generated.

Children