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

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

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

779 Views
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
Labels (1)
0 Kudos
Reply
0 Replies