LPC3250 access sdram

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC3250 access sdram

1,189 次查看
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.

 

标签 (4)
标记 (1)
0 项奖励
回复
1 回复

929 次查看
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 项奖励
回复