DRAM Refresh Cycles
The DRAM interface supports a CAS-before-RAS refresh cycle and a self-refresh cycle.
CAS-before-RAS refresh cycle
Before performing a CAS-before-RAS refresh, set RPC2 to "1" while RPC1 = "0" in order to enable the
DRAM refresh function. Once this is done, the BCU executes a CAS-before-RAS refresh by using the
underflow signal that is output by the 8-bit programmable timer 0 as a trigger. Therefore, refresh generation
timing can be programmed using the internal prescaler and 8-bit programmable timer 0.
For details on how to control the prescaler and 8-bit programmable timer 0, refer to "Prescaler and Operating
Clock for Peripheral Circuits", and "8-Bit Programmable Timers".
Example: RPC delay: 1 cycle; Refresh RAS pulse width: 2 cycles; Precharge: 1 cycle
BCLK
#RAS
#HCAS/
#LCAS
When the refresh cycle is terminated, the #HCAS/#LCAS signal boot timing is 0.5 cycles before that of
#RAS. Consequently, the pulse width of #HCAS/#LCAS is determined by the refresh RAS pulse width that
was set using RRA. The number of precharge cycles after the refresh cycle is defined by the value that was
set using RPRC, the same value that is used for both random cycles and page mode accesses.
Self-refresh
To support DRAM chips equipped with a self-refresh function, the BCU has a function to generate a self-
refresh cycle.
To start a self-refresh cycle, set RPC2 to "1" after setting RPC1 to "1". To deactivate a self-refresh cycle,
write "0" to RPC1 or RPC2.
Example: RPC delay: 1 cycle
BCLK
#RAS
#HCAS/
#LCAS
Refresh
RPC delay
For a self-refresh function as well, the RPC delay is determined by setting RPC0 in the same way as for a
CAS-before-RAS refresh.
The refresh RAS pulse width is determined by the timing at which the refresh is deactivated in software and
is unaffected by settings of RRA.
#RAS and #HCAS/#LCAS are booted up simultaneously upon completion of a self-refresh and the precharge
duration that follows is fixed at 6 cycles.
S1C33L03 FUNCTION PART
CAS-before-RAS refresh cycle
Refresh
Fixed at
RPC delay
1 cycle
Figure 4.36 CAS-Before-RAS Refresh
Self-refresh mode set up
Fixed at
1 cycle
Figure 4.37 Self-Refresh
EPSON
II CORE BLOCK: BCU (Bus Control Unit)
Refresh
RPC pulse width
Self-refresh mode
Self-refresh mode
deactivation
Precharge cycle
(6 cycles)
A-1
B-II
Precharge
cycle
BCU
B-II-4-31
Need help?
Do you have a question about the CMOS 32-Bit Single Chip Microcomputer S1C33L03 and is the answer not in the manual?
Questions and answers