Incorrect DDR2 configuration in TOWER defaults

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

Incorrect DDR2 configuration in TOWER defaults

ソリューションへジャンプ
1,164件の閲覧回数
bjoernjohanness
Contributor III

The default DDR configuration for the tower project sets

     DDR_CR21 = 0x20040232

More specifically it clears MR1DAT0 bit E11, which means that DQS# is enabled (See DDR UM: EMR definition). This is incorrect since the Kinetis DRAM controller only supports single-ended DQS. Right??

I'm extremely surprised no one else has mentioned this in the community, probably due to the extremely poor documentation of the DRAM controller so people just give up.

タグ(5)
1 解決策
903件の閲覧回数
bjoernjohanness
Contributor III

Update: Since Ma Hui has no interest in replying with the correct answer, I'll provide it to whoever is interested:

As mentioned, turns out that the TOWER project ("K70 DDR2 configuration tool" etc.) is incorrectly configured. Freescale now acknowledges this. Bit E10 in EMR1 should be SET rather than cleared in order to disable DQS#, which physically isn't supported by Kinetis. Hence, something like this is in order:

DDR_CR21 = 0x20040232  |  (1 << (10+16) );

元の投稿で解決策を見る

3 返答(返信)
903件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

K70 DDR2 Controller only support single-ended DQS. As I check TWR-K70F120M board DDR2 initialization code with below setting about DDR_CR21:

DDR_CR21 = 0x00040232;

So, the DDR2 memory still keep the default DQS# setting, which default is disable.

Wish it helps.
best regards
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
904件の閲覧回数
bjoernjohanness
Contributor III

Update: Since Ma Hui has no interest in replying with the correct answer, I'll provide it to whoever is interested:

As mentioned, turns out that the TOWER project ("K70 DDR2 configuration tool" etc.) is incorrectly configured. Freescale now acknowledges this. Bit E10 in EMR1 should be SET rather than cleared in order to disable DQS#, which physically isn't supported by Kinetis. Hence, something like this is in order:

DDR_CR21 = 0x20040232  |  (1 << (10+16) );

903件の閲覧回数
bjoernjohanness
Contributor III

Ma, thank you for your reply. I appreciate it.

Could you please take a second to elaborate how you reach that conclusion? Which of the 32 bits in 0x00040232 will keep the DDR2 memory in it's "default DQS# setting"?

Thanks!

//bjoern

0 件の賞賛
返信