RAM calibration for iMX8mq custom board.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RAM calibration for iMX8mq custom board.

Jump to solution
2,703 Views
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?

Labels (1)
0 Kudos
Reply
1 Solution
2,457 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
2,457 Views
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 Kudos
Reply
2,457 Views
trongthinh
Contributor IV

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

 

Thank for your advice. 

0 Kudos
Reply
2,458 Views
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 Kudos
Reply
2,457 Views
trongthinh
Contributor IV

It sounds great. Thank you for your answer.

0 Kudos
Reply