English
Language : 

SH7040 Datasheet, PDF (235/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
10.4.5 Refresh Timing
The bus state controller is equipped with a function to control refreshes of DRAM. CAS-before-
RAS (CBR) refresh or self-refresh can be selected by setting the RTCSR’s RMD bit.
CAS-before-RAS Refresh: For CBR refreshes, set the RCR’s RMD bit to 0 and the RFSH bit to
1. Also write the values in RTCNT and RTCOR necessary to fulfill the refresh interval prescribed
for the DRAM being used. When a clock is selected with the CKS2–CKS0 bits of the RSTCR,
RTCNT starts counting up from the value at that time. The RTCNT value is constantly compared
to the RTCOR value and a CBR refresh is performed when the two match. RTCNT is cleared at
that time and the count starts again. Figure 10.15 shows the timing for the CBR refresh operation.
The number of RAS assert cycles in the refresh cycle is set by the TRAS1, TRAS0 bits of the
DCR.
TRp
TRr1
TRr2
TRc
TRc
CK
RAS
CASx
Figure 10.15 CAS-Before-RAS Refresh Timing (TRAS1, TRAS0 = 0, 0)
197