DDR4 calibration & configuration

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

DDR4 calibration & configuration

Jump to solution
1,697 Views
vzeric
Contributor III

Hello everyone, I want to do DDR4 calibration & configuration on i.MX8 QuadMax MEK.

DDR tool that is provided by NXP for MX8QM doesn't have calibration, but for example tool for MX8M family boards has calibration (I only can run stress test for my board). I downloaded the tool from https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/... and I downloaded RPA for creating .cfg and .ds files. For me, it can only mean two things: I don't need calibration or there is separate tool for calibration. As I didn't find tool for DDR4 calibration, I (possible wrongly) assume that I don't actually need calibration.Does it make sense to only generate .cfg file and save it to the intended location?

I was thinking about to generate a random .cfg file which will not configure DDR4 in right way, so probably boot will fail. I don't know if it will be good test to confirm that calibration is not needed? Any thoughts?
0 Kudos
Reply
1 Solution
1,687 Views
BiyongSUN
NXP Employee
NXP Employee

If you read the JEDEC DDR4&LPDDR4 spec, you will find the auto calibration(training) is mandatory. 

 

So, that is why the ddr stress test tool now is real ddr stress test. 

Before the stress test tool for i.MX6(DDR3, LPDDR2) has one very important  function is calibration. 

BTW, the IP integrated in i.MX8/i.MX8X/i.MX8M families also can do the auto calibration  for DDR3, although it is not required in DDR3 spec. 

The DDR IP inside the i.MX6 and i.MX8/i.MX8X/i.MX8M, they are different.

Suggest you can read the spec. 

 

View solution in original post

1 Reply
1,688 Views
BiyongSUN
NXP Employee
NXP Employee

If you read the JEDEC DDR4&LPDDR4 spec, you will find the auto calibration(training) is mandatory. 

 

So, that is why the ddr stress test tool now is real ddr stress test. 

Before the stress test tool for i.MX6(DDR3, LPDDR2) has one very important  function is calibration. 

BTW, the IP integrated in i.MX8/i.MX8X/i.MX8M families also can do the auto calibration  for DDR3, although it is not required in DDR3 spec. 

The DDR IP inside the i.MX6 and i.MX8/i.MX8X/i.MX8M, they are different.

Suggest you can read the spec.