QorIQ P1013 DDR3 controller in 32 bits mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QorIQ P1013 DDR3 controller in 32 bits mode

ソリューションへジャンプ
668件の閲覧回数
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

ラベル(1)
0 件の賞賛
1 解決策
492件の閲覧回数
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.

元の投稿で解決策を見る

2 返答(返信)
493件の閲覧回数
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.

492件の閲覧回数
jeromegy
Contributor I

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

Jérôme

0 件の賞賛