Renesas M16C/62P Hardware Manual page 75

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Figure 9.6 shows the external memory connect example in 4-Mbyte mode.
In this example, the CS pin of 4-Mbyte ROM is connected to the CS0 pin of microcomputer. The 4 Mbyte
ROM address input AD21, AD20 and AD19 pins are connected to the CS3, CS2 and CS1 pins of micro-
computer, respectively. The address input AD18 pin is connected to the A19 pin of microcomputer. Fig-
ures 9.7 to 9.9 show the relationship of addresses between the 4-Mbyte ROM and the microcomputer for
the case of a connection example in Figure 9.6.
In microprocessor mode, or in memory expansion mode where the PM13 bit in the PM1 register is "0",
banks are located every 512 Kbytes. Setting the OFS bit in the DBR register to "1" (offset) allows the
accessed address to be offset by 40000h, so that even the data overlapping a bank boundary can be
accessed in succession.
In memory expansion mode where the PM13 bit is "1," each 512-Kbyte bank can be accessed in 256 Kbyte
units by switching them over with the OFS bit.
Because the SRAM can be accessed on condition that the chip select signals S2 = H and S1 =L, CS0 and
_______
CS2 can be connected to S2 and S1, respectively. If the SRAM does not have the input pins to accept "H"
active and "L" active chip select signals(S1, S2), CS0 and CS2 should be decoded external to the chip.
Figure 9.6 External Memory Connect Example in 4-Mbyte Mode
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
_____
_____
____
____
D0 to D7
A0 to A16
A17
A19
CS1
CS2
CS3
RD
CS0
WR
NOTES:
1. If only one chip select pin (S1 or S2) is present,
decoding by use of an external circuit is required.
page 61
f o
3
6
4
9. Memory Space Expansion Function
_______
_______
_______
8
DQ0 to DQ7
17
AD0 to AD16
AD17
AD18
AD19
AD20
AD21
OE
CS
DQ0 to DQ7
AD0 to AD16
OE
S2
(1)
S1
W
_______
_______
_______
____
_______

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents