DDR3 calibration for i.MX6

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

DDR3 calibration for i.MX6

Jump to solution
2,291 Views
marcelballmann
Contributor III

Hi,

we have the same DDR3 config like the SABRESDB. Also the Layout is the same. Also the memory is mircron, but the low voltage version. We are using the Stress Test tool from Freescale but a lots of our boards don't pass the calibration. What can I do? What I have to config to solve this or where can I find the cause of this issue. Are there better tools like the Stress Test tool?

Regards Marcel

Labels (3)
1 Solution
1,575 Views
marcelballmann
Contributor III

So I have found the issue, the write leveling setting are false.

setmem /32    0x021b080c =     0x001F001F   

setmem /32    0x021b0810 =     0x001F001F   

setmem /32    0x021b480c =     0x00440044   

setmem /32    0x021b4810 =     0x00440044   

But you have to set for T-Routing all four equal

setmem /32    0x021b080c  =    0x001F001F   

setmem /32    0x021b0810 =    0x001F001F   

setmem /32    0x021b480c  =    0x001F001F   

setmem /32    0x021b4810 =    0x001F001F

View solution in original post

0 Kudos
5 Replies
1,575 Views
tonyzheng
NXP Employee
NXP Employee

Hi, Marcel

You can refer to https://community.freescale.com/docs/DOC-94917 to update your DDR scripts.

Regards,

Tao Zheng

1,575 Views
marcelballmann
Contributor III

Hi,

Thank you, that s a good idea. But for some i.MX6 we dont get some calibrartion results to fill in, because I get a ERROR message at DQS gating calibration.

Regards

Marcel

0 Kudos
1,575 Views
tonyzheng
NXP Employee
NXP Employee

What do you mean? Can't you use Mx6DQSDL DDR3 Script Aid V0.08 to generate your DDR scripts?

0 Kudos
1,576 Views
marcelballmann
Contributor III

So I have found the issue, the write leveling setting are false.

setmem /32    0x021b080c =     0x001F001F   

setmem /32    0x021b0810 =     0x001F001F   

setmem /32    0x021b480c =     0x00440044   

setmem /32    0x021b4810 =     0x00440044   

But you have to set for T-Routing all four equal

setmem /32    0x021b080c  =    0x001F001F   

setmem /32    0x021b0810 =    0x001F001F   

setmem /32    0x021b480c  =    0x001F001F   

setmem /32    0x021b4810 =    0x001F001F

0 Kudos
1,575 Views
marcelballmann
Contributor III

Hi I mean, I can t fill in the calibration data I get nothing back from the tool with the sabre data because

Would you like to run the DQS gating, read/write delay calibration? (y/n)

Starting DQS gating calibration...

. . . . . . . . . . . . . . ERROR FOUND, we can't get suitable value !!!!

dram test fails for all values.

The DDR stress test can run with an incrementing frequency or at a static freq

To run at a static freq, simply set the start freq and end freq to the same valu

0 Kudos