[LPC1788] [LPCOpen] Bug in EMC initialisation with SDRAM in RBC configuration

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

[LPC1788] [LPCOpen] Bug in EMC initialisation with SDRAM in RBC configuration

776 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Tue Jun 24 01:45:49 MST 2014
Hi all,

I am using LPCOpen last revision with on a LPC1788 with external SDRAM configured as RBC (Row Bank Column).

I have found that there is a bug when configuring SDRAM mode register, according to the LPC1788 user manual:


Quote:
Determine the shift value OFFSET to shift the mode register content by. This shift
value depends on the SDRAM device organization and it is calculated as:
OFFSET = number of columns + total bus width + bank select bits (RBC mode)
OFFSET = number of columns + total bus width (BRC mode)



The bank select bits are never added to the Col_len variable in initDynMem() function so the mode register is wrongly initialized.

PGR
标签 (1)
0 项奖励
回复
0 回复数