About Clock Delay Calibration of DDR3 in i.MX6DQ.

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

About Clock Delay Calibration of DDR3 in i.MX6DQ.

跳至解决方案
2,067 次查看
keitanagashima
Senior Contributor I

First refer to 44.12.53 MMDC PHY CK Control Register in IMX6DQRM(Rev.2).

"DDR clock0 delay fine tuning. This field holds the number of delay units that are added to DDR clock

(CK0)."

Next, refer to 17 Clock Delay Calibration in i.MX 6Dual/6Quad DDR Calibration (Rev.0).

To add delay to SDCLK0, SDCLK0_B, configure SDCTRL[SDCLK0_DEL].

To add delay to SDCLK1, SDCLK1_B, configure SDCTRL[SDCLK1_DEL].

[Q1]

Which is right description?

Can we add the delay to CLK0 and CLK1?

[Q2]

Refer to 17 Clock Delay Calibration in i.MX 6Dual/6Quad DDR Calibration (Rev.0).

"Delay unit period is derived from the internal MMDC clock."

How does "Delay unit period" was decided?

Best Regards,

Keita

标签 (3)
0 项奖励
1 解答
1,704 次查看
Yuri
NXP Employee
NXP Employee

Hi,

> if one set the SDclk0_del=10 (Add DDR clock0 delay of 2 delay units.),

> how much is delay added actually?

Just for estimations (depends on environment - temperature, voltage, etc ) : ~ (4 - 6) ps

Regards,

Yuri.

在原帖中查看解决方案

0 项奖励
10 回复数
1,704 次查看
Yuri
NXP Employee
NXP Employee

  Basically, both - section 44.12.53 [MMDC PHY CK Control Register (MMDCx_MPSDCTRL)]

of the Reference Manual and section 17 (Clock Delay Calibration) of the app note AN4467 -
relate to the same registers MMDC1_MPSDCTRL and MMDC2_MPSDCTRL, which are named

as SDCTRL[SDCLK0_DEL] and SDCTRL[SDCLK1_DEL] in the app note.
As mentioned in the app note, “with proper DDR board design, there is no need for the clock
delay, which can be kept to its default 0”.


Regards,

Yuri.

1,704 次查看
keitanagashima
Senior Contributor I

Hi Yuri,

Thank you for your reply.

[Q1]

Let me confirm again.

There was description of "DDR clock0 delay fine tuning. This field holds the number of delay units that are added to DDR clock (CK0)." in 44.12.53 MMDC PHY CK Control Register in IMX6DQRM(Rev.2).

The description looks for only CK0.

Is it possible to add the delay for CK1 by MMDC2_MPSDCTRL register?

[Q2]

I'd like to know the "Delay unit period".

Could you tell me the value of unit?

Best Regards,

Keita

0 项奖励
1,704 次查看
Yuri
NXP Employee
NXP Employee

Keita, hello !

1.
   Yes, it is possible to add the delay for CK1 by MMDC2_MPSDCTRL register.


2.

  The delay elements in the SDCLK path are similar to those in the data strobes

but they are not exactly the same. The delay is on the order of picoseconds,
sorry - not specified exactly.

Regards,

Yuri.

0 项奖励
1,704 次查看
keitanagashima
Senior Contributor I

Hi Yuri,

Thank you for your reply.

Q1 is OK. Thank you!

Q2:

Sorry. I couldn't understand well.

For example, if one set the SDclk0_del=10 (Add DDR clock0 delay of 2 delay units.), how much is delay added actually?

Best Regards,

Keia

0 项奖励
1,705 次查看
Yuri
NXP Employee
NXP Employee

Hi,

> if one set the SDclk0_del=10 (Add DDR clock0 delay of 2 delay units.),

> how much is delay added actually?

Just for estimations (depends on environment - temperature, voltage, etc ) : ~ (4 - 6) ps

Regards,

Yuri.

0 项奖励
1,704 次查看
keitanagashima
Senior Contributor I

Hi Yuri,

Thank you for your reply.

Let me clarify my understanding.

Is below understanding right?

- SDclk0_del=01 (Add DDR clock0 delay of 1 delay units.) : 2 - 3 [ps]

- SDclk0_del=10 (Add DDR clock0 delay of 2 delay units.) : 4 - 6 [ps]

- SDclk0_del=11 (Add DDR clock0 delay of 3 delay units.) : 6 - 9 [ps]


And, how did you estimate the delay unit?


Best Regards,

Keita

1,704 次查看
Yuri
NXP Employee
NXP Employee

Your understanding is correct.

As for delay estimation - you (customer) may provide own measurements
for assurance.

Regards,

Yuri.

0 项奖励
1,704 次查看
keitanagashima
Senior Contributor I

Hi Yuri,

Hello.

>As for delay estimation - you (customer) may provide own measurements

>for assurance.


How did you estimate the below delay unit?

(i.e. What did you refer to the data to lead below estimation? Internal data?)

> Just for estimations (depends on environment - temperature, voltage, etc ) : ~ (4 - 6) ps

I couldn't find the how to determine the delay unit...

Best Regards,

Keita

0 项奖励
1,704 次查看
Yuri
NXP Employee
NXP Employee

You may output two waveforms SDclk0 and SDclk1 (assuming the memory controller
is configured and enabled) with delay between both :

SDclk0_del = 0
SDclk1_del = 11

and measure delay between these two channels.

Regards,

Yuri.

1,704 次查看
keitanagashima
Senior Contributor I

Hi Yuri,

OK.

I understood that no specification and one have to measure on actual board.

Best Regards,

Keita

0 项奖励