RAM calibration for iMX8mq custom board.

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

RAM calibration for iMX8mq custom board.

跳至解决方案
2,701 次查看
trongthinh
Contributor IV

I have following the instruction in this document (https://community.nxp.com/docs/DOC-340179). I have already generated  "ddr_init.c" and "ddrphy_train.c" by using tool mscale_ddr_tool_v210_setup.exe.zip for one custom board. I have some questions need to be clarified:

1. I do calibration process for one board then I apply the result for all or I need to do for each board? Please advice!

2. If I do calibration process for more than one custom boards, How many custom board I need to do? 

3. If I do calibration process for more than one custom boards, there will be a lot of "ddr_init.c" and "ddrphy_train.c". How can I choose the correct one to integrate with u-boot?

标签 (1)
0 项奖励
回复
1 解答
2,455 次查看
art
NXP Employee
NXP Employee

Sorry, I was wrong, what I've talked about is for i.MX6/i.MX7 series processors. For i.MX8M, due to the fact that the calibration procedure is self-training and performed at each board start-up, it is enough to use a single calibration procedure on a single hardware unit and use a single set of "ddr_init.c" and "ddrphy_train.c" to implement them to a target application (u-boot).

Best Regards,
Artur

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,455 次查看
art
NXP Employee
NXP Employee

The typical procedure of choosing the DDR calibration values for mass production units is as follows.

The calibration is performed on some reasonable (e.g. some tens of units) number of boards. Then, the average values of calibration parameters are calculated and applied for mass production.


Have a great day,
Artur

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
2,455 次查看
trongthinh
Contributor IV

how to calculate the average values of calibration parameters? Is there any document or example? 

 

Thank for your advice. 

0 项奖励
回复
2,456 次查看
art
NXP Employee
NXP Employee

Sorry, I was wrong, what I've talked about is for i.MX6/i.MX7 series processors. For i.MX8M, due to the fact that the calibration procedure is self-training and performed at each board start-up, it is enough to use a single calibration procedure on a single hardware unit and use a single set of "ddr_init.c" and "ddrphy_train.c" to implement them to a target application (u-boot).

Best Regards,
Artur

0 项奖励
回复
2,455 次查看
trongthinh
Contributor IV

It sounds great. Thank you for your answer.

0 项奖励
回复