Hi,
My customer is trying to fill out the required cells in register calc tool. The calc tool is found in the following document.
Now they have some questions :
1. They will use MT41K64M16TW107AIT(DDR3L-1866) with the clock of 666.666 Mhz (1333MT/s). In this case, they will have to set C9 cell to "User defined" and take the required TIMING values from the datacheet to fill out SDRAM Timing Values in the Design Parameter sheet. Correct ?
2.In the Refresh Configuration table in the Design Parameter sheet, what value should be set in INITREF_DIS ? I believe it should be basically set to "Normal Operation", but they has another option "Disable SDRAM Initialization and Refresh". Could you please explain the use case for this ?
3. In the Controller Register sheet, there is a bit field "T_RTW " in EMIF_SDTIM2 Register, and TRM explains that is:
Minimum number of DDR3_CLKOUT cycles between read and write
date phases, minus 1. This is not an SDRAM timing parameter. The
value depends on the board topology supported.
For single rank: reg_t_RTW= (((2*dqs_delay_for_cs0)+tDQSCK+
wr_leveling_tolerance)/clock_period)-1
For dual rank: reg_t_RTW=
((dqs_delay_for_cs0+dqs_delay_for_cs1+
absolute(command_delay_for_cs0-
command_delay_for_cs1)+tDQSCK+
wr_leveling_tolerance)/clock_period)-1
They are not sure what values could be used for dqs_delay_for_cs0, tDQSCK, wr_leveling_tolerance and clock_period.
4. In the Controller Register sheet, there is a bit field "T_CSTA " in EMIF_SDTIM4 Register, and TRM explains that is:
Minimum DDR3_CLKOUT cycles between write-to-write or read-toread data phases to different chip selects, minus 1.
If DDR3L spec defined CAS#- to-CAS# command delay (tCCD)=4CLOCK, they would apply 3 for this bit filed. Correct ?
5. In the Controller Register sheet, there is a bit field "ZQ_REFINTERVAL" in EMIF_ZQ_CONFIG Register, and TRM explains that is:
Number of refresh periods between ZQCS commands, minus one.
This field supports between one refresh period to 256 ms between
ZQCS calibration commands. Refresh period is defined by the
EMIF_SDRFC[15-0] REFRESH_RATE field.
ZQ_REFINTERVAL = number of refresh periods between ZQCS
commands.
The interval is calculated as = 0.5% / [(Tsens x Tdriftrate) + (Vsens x
Vdriftrate)].
Tsens = max (dRTTdT, dRONdTM) from the memory device data
sheet.
Vsens = max(dRTTdV, dRONdVM) from the memory device data
sheet
Tdriftrate = drift rate in o C/second. This is the temperature drift rate
that the SDRAM is subject to in the application. Vdriftrate = drift rate
in mV/second. This is the voltage drift rate that the SDRAM is
subject to in the application.
Example:
If Tsens= 1.5%/ o C, Vsens = 0.15%/mV, Tdriftrate = 1.2 o C/second
and Vdriftrate = 10mV/second,
Interval = 0.5/[(1.5 x 1.2) + (0.15 x 10)] = 152ms.
Since refresh interval = 7.8µs, ZQ_REFINTERVAL = 152ms/7.8µs =
4C1Fh
Here, they could not fiond Tdriftrate and Vdriftrate from the DDR3L datasheet. Could you please take a look at DDR3L datasheet and let us know if what parameters are used for these variables.
Best Regards,
NK