Refresh Control Register (Rfcr) - Fujitsu MB91F109 FR30 Hardware Manual

Fr30 series 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 4 BUS INTERFACE

4.11 Refresh Control Register (RFCR)

The refresh control register (RFCR) controls the CBR (CAS before RAS) refresh
operation when the DRAM interface is used.
This register has a 6-bit downward counter that uses the divide-by-32 output of a
timebase timer as a clock source and specifies a refresh interval by controlling its
reload value by the RFCR.
Configuration of Refresh Control Register (RFCR)
The refresh control register (RFCR) is configured as follows:
RFCR
Address: 0000 0626
H
The timebase timer is a counter used for oscillation stabilization wait intervals. It operates with
a frequency that is one half of X0 when CHC=1 is set by the gear control register (GCR) and
with a frequency equal to the internal PLL oscillation frequency when CHC=0. For example,
when the PLL oscillation frequency is 25 MHz at CHC=0, one cycle equals 40 ns, and 40 × 32 =
1280 ns equals one refresh interval.
The refresh interval is counted with the output from the timebase timer.
Bit Functions of Refresh Control Register (RFCF)
[bit 13 to 8] REL (RELoad value bits)
The REL is a register to set refresh intervals.
At read time, the count of the refresh interval downward counter is read as is.
The DRAMs of areas 4 and 5 are refreshed at the same time with the interval indicated by
the REL.
[bit 7] R1W (Refresh 1 Wait)
The R1W bit extends the first refresh cycle (R1) by only one cycle.
0: no wait (initial value)
1: wait
[bit 6] R3W (Refresh 3 Wait)
The R3W bit extends the third refresh cycle (R3) by one cycle.
0: no wait (initial value)
1: wait
130
15
14
13
12
REL5 REL4 REL3 REL2 REL1 REL0
7
6
5
4
R1W R3W
11
10
9
8
3
2
1
0
STR CKS1 CKS0
Access
Initial value
--XXXXXX
R/W
Initial value
Access
00---000
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f109

Table of Contents