Example Configuration
879
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
External Memory Interface A (EMIFA)
19.3.2.1.3 SDRAM Self Refresh Exit Timing Register (SDSRETR) Settings for the EMIFA to K4S641632H-
TC(L)70 Interface
The SDRAM self refresh exit timing register (SDSRETR) should be programmed second to satisfy the t
XSR
timing requirement from the K4S641632H-TC(L)70 datasheet.
shows the calculation of the
proper value to program into the T_XS field of this register. Based on this calculation, a value of 6h should
be written to SDSRETR.
shows how SDSRETR should be programmed.
(1)
The Samsung datasheet does not specify a t
XSR
value. Instead, Samsung specifies t
RC
as the minimum required time after CKE
going high to complete self refresh exit.
Table 19-28. RR Calculation for the EMIFA to K4S641632H-TC(L)70 Interface
Field Name
Formula
Value from K4S641632H-TC(L)70
Datasheet
Value Calculated for
Field
T_XS
T_XS >= (t
XSR
× f
EMA_CLK
) - 1
t
RC
= 68 ns (min)
(1)
6
Figure 19-20. SDRAM Self Refresh Exit Timing Register (SDSRETR)
31
16
0000 0000 0000 0000
Reserved
15
5
4
0
000 0000 0000
0 0110
Reserved
T_XS
19.3.2.1.4 SDRAM Refresh Control Register (SDRCR) Settings for the EMIFA to K4S641632H-TC(L)70
Interface
The SDRAM refresh control register (SDRCR) should next be programmed to satisfy the required refresh
rate of the K4S641632H-TC(L)70.
shows the calculation of the proper value to program into
the RR field of this register. Based on this calculation, a value of 61Ah should be written to SDRCR.
shows how SDRCR should be programmed.
Table 19-29. RR Calculation for the EMIFA to K4S641632H-TC(L)70 Interface
Field Name
Formula
Values
Value Calculated for Field
RR
RR
≤
f
EMA_CLK
× t
Refresh Period
/ n
cycles
From SDRAM datasheet: t
Refresh Period
= 64 ms; n
cycles
= 4096 EMIFA clock
rate: f
EMA_CLK
= 100 MHz
RR = 1562 cycles = 61Ah cycles
Figure 19-21. SDRAM Refresh Control Register (SDRCR)
31
19
18
16
0 0000 0000 0000
000
Reserved
Reserved
15
13
12
0
000
0 0110 0001 1010 (61Ah)
Reserved
RR