How to see the current value of phyVref in DFI?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to see the current value of phyVref in DFI?

跳至解决方案
2,428 次查看
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,229 次查看
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,229 次查看
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,229 次查看
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,230 次查看
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,229 次查看
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,229 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  1.1V is NVCC_DRAM(_1V1).

Regards,

Yuri.

0 项奖励
回复
2,229 次查看
george
Senior Contributor II

Dear Yuri,

Sorry, I was confused.

Thanks,

George

0 项奖励
回复