i.mx6 DDR3 read & write calibration

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

i.mx6 DDR3 read & write calibration

跳至解决方案
1,747 次查看
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 ?

标签 (1)
0 项奖励
回复
1 解答
1,334 次查看
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 项奖励
回复
5 回复数
1,334 次查看
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 项奖励
回复
1,334 次查看
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 项奖励
回复
1,335 次查看
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 项奖励
回复
1,334 次查看
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 项奖励
回复
1,334 次查看
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 项奖励
回复