There are two 16M x 16 SDRAM connect to the LPC3250 as a 32bit wide SDRAM.
I get some problems when accessing the SDRAM.
When write:
UNS_32 *p = (UNS_32 *)0x83FC0000;
*p = 0xE59F002C;
Then read from p and p+4, and the result is 0xE59FE59F, 0x002C002C respectively.
I cannot figure out what is wrong.
Hi,
You could refer to application note AN10935 “Using SDR/DDR SDRAM memories with LPC32xx” in order to verify the connections of your SDRAM modules to the LPC microcontroller.
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------