How to see the current value of phyVref in DFI?

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

How to see the current value of phyVref in DFI?

ソリューションへジャンプ
2,446件の閲覧回数
george
Senior Contributor II

Hi all,

Our i.MX8M prototype board sometimes freezes unexpectedly.

And we are checking the configuration parameters for LPDDR4.

Please tell me about phyVref.

According to the description in RPA, phyVref is updated during data training.

pastedImage_18.png

We added a (attached) command in u-boot to read registers in DFI using "helper.c\imx8m\ddr\drivers - uboot-imx - i.MX U-Boot" as a reference.

Fortunately, the command seems to work correctly.

However, we always see the same value as the phyVref value set in RPA.

*We read 0x54006 in DFI as the address for phyVref.

Can we see the updated phyVref?

Best Regards,

George

ラベル(1)
0 件の賞賛
返信
1 解決策
2,247件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  generally Your understanding is correct.

Note,  the relation between the Vref and PhyVref value is as follows:

 

Vref = VDDQ*PhyVref/128

 

If the initial value is applied:

Vref = 1100*0x11/128 = 146.1 mV

 

Note that this setting affects only Vref for the reads.

Regards,

Yuri.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
2,247件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  According to section 4.2 (Run DDR Calibration and generate DDR initial code) of

"MSCALE_DDR_Tool_User_Guide.pdf" from i.MX8 MSCALE SERIES DDR Tool Release (V2.10) :

   If DDR calibration failed, customers can try to modify some DDR parameters in the scripts,

including PhyVref. So, the RPA provides recommended PhyVref value, which generally can be modified

by customers in case of calibration fails.

Regards,

Yuri.

0 件の賞賛
返信
2,247件の閲覧回数
george
Senior Contributor II

Dear YuriMuhin_ng‌,

Oh !!

Thank you for your reply.

Is my understanding below correct?

1) In other words, if calibration does not fail, phyVref can be anything.

    *Is phyVref the start value for calibration?

2) We can't get updated phyVref after calibration

Best Regards,

George

0 件の賞賛
返信
2,248件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  generally Your understanding is correct.

Note,  the relation between the Vref and PhyVref value is as follows:

 

Vref = VDDQ*PhyVref/128

 

If the initial value is applied:

Vref = 1100*0x11/128 = 146.1 mV

 

Note that this setting affects only Vref for the reads.

Regards,

Yuri.

0 件の賞賛
返信
2,247件の閲覧回数
george
Senior Contributor II

Dear YuriMuhin_ng‌,

Thank you for your reply.

Please tell me one last thing.

> Vref = 1100*0x11/128 = 146.1 mV

Is this “1.1V” the voltage at the DDR_VREF pin?

Best Regards,

George

0 件の賞賛
返信
2,247件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  1.1V is NVCC_DRAM(_1V1).

Regards,

Yuri.

0 件の賞賛
返信
2,247件の閲覧回数
george
Senior Contributor II

Dear Yuri,

Sorry, I was confused.

Thanks,

George

0 件の賞賛
返信