i.mx6 DDR3 read & write calibration

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

i.mx6 DDR3 read & write calibration

Jump to solution
1,743 Views
weidongzhou
Contributor I

Does that mean we do not need to do strictly length match between DQS signal and it's corresponding byte lanes, since i.mx6 DDR controller already support read and write calibration? If not, what purpose for design of these kind of calibration ?

Labels (1)
0 Kudos
Reply
1 Solution
1,330 Views
Yuri
NXP Employee
NXP Employee

  I do not think, that this is good idea to violate PCB design recommendations, having a hope
to adjust timing requirements later via calibration. General considerations are as following.

  There are two approaches regarding PCB design. Basically, the best approach - to use

simulation technique. In the same time, general rules (as the second approach) may be

provided for customers to simplify their PCB considerations, but note, for assurance such

rules are very strong.

  So, if You can simulate the PCB design please use it, if cannot - please follow

general (and more strong) recommendations, such as provided  in app note(s) or

in Hardware Development Guide.


Have a great day,
Yuri

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

View solution in original post

0 Kudos
Reply
5 Replies
1,330 Views
Yuri
NXP Employee
NXP Employee

  Really the calibration helps for fine tuning, when base PCB design rules

are not violated. So, please try to follow design recommendations.  


Have a great day,
Yuri

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

0 Kudos
Reply
1,330 Views
weidongzhou
Contributor I

Yuri,

This is really where my question come from

-- per Hardware Guide of i.mx6, Table 3-3. DDR3 routing by byte group, it say "Match the signals of each byte group ± 25 mils". so we need to match the length of DQS with byte lines within ± 25 mils.

hwguide.jpg

And per IMX6DQRM, MMDCx_MPRDDLCTL field descriptions, it say "This field indicates the absolute delay between read DQS strobe and the read data of Byte3 with fractions of a clock period and up to half cycle".

dqrm.jpg

so the DDR controller can adjust the delay line for 127 steps in accuracy of 1/256 Tclk for each step. Typically the Tclk equal to 1ns for a 533MHz DDR3 system. That would make the adjust step in

4ps, and equal to 25 mils in a typical PCB flight time model.

Since we already route the DQS in ± 25 mils with byte lines, so why we still need to do read or write calibration, if our base PCB layout rules are not violated?

A wider margin than ± 25 mils, would benefit us a lot for DQS routing.

0 Kudos
Reply
1,331 Views
Yuri
NXP Employee
NXP Employee

  I do not think, that this is good idea to violate PCB design recommendations, having a hope
to adjust timing requirements later via calibration. General considerations are as following.

  There are two approaches regarding PCB design. Basically, the best approach - to use

simulation technique. In the same time, general rules (as the second approach) may be

provided for customers to simplify their PCB considerations, but note, for assurance such

rules are very strong.

  So, if You can simulate the PCB design please use it, if cannot - please follow

general (and more strong) recommendations, such as provided  in app note(s) or

in Hardware Development Guide.


Have a great day,
Yuri

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

0 Kudos
Reply
1,330 Views
weidongzhou
Contributor I

I do not think, that this is good idea to violate PCB design recommendations, having a hope

to adjust timing requirements later via calibration.

Could you tell us what purpose for read&write calibration feature designed for? According DQRM, there is up to 1/2 clock period for delay line tuning. If I can simulate my PCB design, or follow your recommendations, then this calibration is useless?

0 Kudos
Reply
1,330 Views
Yuri
NXP Employee
NXP Employee

  Please refer to AN4467 (i.MX 6 Series DDR Calibration), in particular - section 7.3 (Timing Calibrations Usage).

http://cache.freescale.com/files/32bit/doc/app_note/AN4467.pdf

0 Kudos
Reply