QorIQ P1013 DDR3 controller in 32 bits mode

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

QorIQ P1013 DDR3 controller in 32 bits mode

Jump to solution
652 Views
jeromegy
Contributor I

Hello,

 

My board uses a P1013 with 64 bits of DDR3 memory with ECC, and I would like to suppress memory chips to have only 32 bits access + ECC. This is for cost and consumption purpose.

 

Thus I have modified the config in this way :

Register @0x2110 : DDR_SDRAM_CFG.[DBW] = '01' (32 bits mode)

Register @0x2110 : DDR_SDRAM_CFG.[8_BE] = '1' (8 burst length)

 

Nevertheless this new conf doesn't work : bit [D_INIT] of DDR_SDRAM_CFG_2 register is stuck to 1 after the enable of the controller.

 

Does anyone know if I have to change other registers in order to have a functionnal 32 bits conf from a 64 bits one ?

 

Thanks a lot,

 

Jérôme

Original Attachment has been moved to: init_DDR_32bits.cmm.zip

Labels (1)
0 Kudos
1 Solution
476 Views
ufedor
NXP Employee
NXP Employee

It is also required to set SDRAM Mode Register 0 - MR0[BL]=0b00 (Fixed BL8).

Example:

If for 64-bit bus the DDR_SDRAM_MODE value is 0x00021421, then for 32-bit it has to be 0x00021420.

View solution in original post

2 Replies
477 Views
ufedor
NXP Employee
NXP Employee

It is also required to set SDRAM Mode Register 0 - MR0[BL]=0b00 (Fixed BL8).

Example:

If for 64-bit bus the DDR_SDRAM_MODE value is 0x00021421, then for 32-bit it has to be 0x00021420.

476 Views
jeromegy
Contributor I

Hello, It works fine with the fixed BL8 value ! Thanks a lot !!

Jérôme

0 Kudos