English
Language : 

HD6413003RF Datasheet, PDF (162/715 Pages) Renesas Technology Corp – Microcontroller (MCU)
7.3 Operation
7.3.1 Area Division
One of three functions can be selected for the H8/3003 refresh controller: interfacing to DRAM
connected to area 3, interfacing to pseudo-static RAM connected to area 3, or interval timing.
Table 7-3 summarizes the register settings when these three functions are used.
Table 7-3 Refresh Controller Settings
Usage
Register Settings
DRAM Interface
PSRAM Interface
RFSHCR SRFMD
Selects self-refresh mode
PSRAME
Cleared to 0
Set to 1
DRAME
Set to 1
Cleared to 0
CAS/WE
Selects 2CAS or
—
2WE mode
M9/M8
Selects column
—
addressing mode
RFSHE
Selects RFSH signal output
RCYCE
Selects insertion of refresh cycles
RTCOR
Refresh interval setting
RTMCSR CKS2 to CKS0
CMF
Set to 1 when RTCNT = RTCOR
CMIE
Cleared to 0
P8DDR
ABWCR
P81DDR
ABW3
Set to 1 (CS3 output)
Cleared to 0
Interval Timer
Cleared to 0
Cleared to 0
Cleared to 0
—
—
Cleared to 0
—
Interrupt interval setting
Enables or disables
interrupt requests
Set to 0 or 1
—
DRAM Interface: To set up area 3 for connection to 16-bit-wide DRAM, initialize RTCOR,
RTMCSR, and RFSHCR in that order, clearing bit PSRAME to 0 and setting bit DRAME to 1.
Set bit P81DDR to 1 in the port 8 data direction register (P8DDR) to enable CS3 output. In
ABWCR, make area 3 a 16-bit-access area.
Pseudo-Static RAM Interface: To set up area 3 for connection to pseudo-static RAM, initialize
RTCOR, RTMCSR, and RFSHCR in that order, setting bit PSRAME to 1 and clearing bit
DRAME to 0. Set bit P81DDR to 1 in P8DDR to enable CS3 output.
144