LPC3250 access sdram

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC3250 access sdram

888 Views
ywzhu
Contributor II

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.

 

Labels (4)
Tags (1)
0 Kudos
Reply
1 Reply

628 Views
CarlosCasillas
NXP Employee
NXP Employee

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

0 Kudos
Reply