Which is better for reference inc file in SABRE-SD

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

Which is better for reference inc file in SABRE-SD

跳至解决方案
2,074 次查看
ko-hey
Senior Contributor II

Hi all

I want to confirm which inc file is better.

There are two files for SABRE-SD.

One is MX6Q_SabreSD_DDR3_register_programming_aid_v1.5.inc.

It is in i.MX6/7 DDR Stress Test Tool V2.30 .

The other can get from "RealView .inc file" tab of MX6Q_SabreSD_DDR3_register_programming_aid_v1.9.xlsx.

That is in i.MX6DQ SABRE SDP/B DDR3 Register Programming Aid​.

Which one is better to reference ?

Ko-hey

标签 (1)
0 项奖励
回复
1 解答
1,669 次查看
Yuri
NXP Employee
NXP Employee

Hello,

   generally, You may use any of the mentioned initialization scripts.

The Programming Aid provides ability to modify the script automatically.


Have a great day,
Yuri

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

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,670 次查看
Yuri
NXP Employee
NXP Employee

Hello,

   generally, You may use any of the mentioned initialization scripts.

The Programming Aid provides ability to modify the script automatically.


Have a great day,
Yuri

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

0 项奖励
回复
1,669 次查看
ko-hey
Senior Contributor II

Hi

Do you mean there are no recommendation ?

Ko-hey

0 项奖励
回复
1,669 次查看
Yuri
NXP Employee
NXP Employee

Hi,

Do you see signicficant difference between the files ?

~Yuri.

0 项奖励
回复
1,669 次查看
ko-hey
Senior Contributor II

Hi Yuri

Sorry for late reply.

> Do you see signicficant difference between the files ?

Yes, I compared both.

As a result, there are three different point.

1. Register address: 0x021b08c0

The following comment is written in both of it.

However, it's uncommented in v1.5 but it isn't uncommented in v1.9.

Which is appropriate for SABRE-SD Rev C ?

setmem /32 0x021b08c0 = 0x24911492

2. Register address: 0x021b0008

There is a difference in MMDC Core ODT Timing Control Register(MMDCx_MDOTC).

In particular, the tAOFPD and tAONPD field are different.

Which tAOFPD and tAONPD settings is appropriate for SABRE-SD Rev C ?

inc file version
Register Address
Register Value
tAOFPDtAONPD
v 1.5

0x021B0008

0x094440402 cycles2 cycles
v 1.90x244440405 cycles5 cycles

3. Register address: 0x021b0010

There is a difference in MMDC Core Timing Configuration Register 1(MMDCx_MDCFG1)

In particular, the tRC, tRAS and tRPA field are different.

Which tRC, tRAS and tRPA settings is appropriate for SABRE-SD Rev C ?

inc file version
Register Address
Register Value
tRCtRAStRPA
v 1.5

0x021b0010

0xFF538F6427 clocks20 clockstRP + 1
v 1.90xFF320F6426 clocks19 clockstRP

------------------------------------------------------------------

Add info: I attached following files that I used to confirm.

・2Gb_1_35V_DDR3L.pdf

・MX6Q_SabreSD_DDR3_register_programming_aid_v1.5.inc

・MX6Q_SabreSD_DDR3_register_programming_aid_v1.9.inc

------------------------------------------------------------------

Ko-hey

1,669 次查看
Yuri
NXP Employee
NXP Employee

Hi,

Generally it is recommended to use the recent release (1.9).

Nevertheless, the following may be useful.

1.
   As for the duty cycle ;  from old errata :

“DDR: The SDCLK and SDCLK_B signals during DDR access have
a duty cycle violation vs. JEDEC requirements - Fixed in 1.2”


2.

tAOFPD - This field determines the time between termination cuircuit starts to turn
off the ODT resistance till termination has reached high impedance. Obtain this
value from DDR3 data sheet.


tAONPD - This field determines the time between termination cuircuit gets out of high
impedance and begins to turn on till ODT resistance are fully on. Obtain this value
from DDR3 data sheet.

3.

tRC - Active to Active or Refresh command period (same bank). Obtain this value from
DDR3 data sheet.

tRPA - Precharge-all command period. Obtain this value from DDR3 data sheet.

tRAS - Active to Precharge command period (same bank). Obtain this value from
DDR3 data sheet.

Regards,

Yuri.

1,669 次查看
ko-hey
Senior Contributor II

Hi Yuri

Thank you for your great support.

ko-hey

0 项奖励
回复