![](http://datasheet.mmic.net.cn/90000/M30622ECV-XXXFP_datasheet_3496112/M30622ECV-XXXFP_36.png)
Mitsubishi microcomputers
M16C / 62T Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
33
Bus Control
Bus Control
The following explains the signals required for accessing external devices and software waits. The signals
required for accessing the external devices are valid when the processor mode is set to memory expansion
mode and microprocessor mode. The software waits are valid in all processor modes.
M30623(80-pin package), in which the BYTE pin is connected to the CNVSS pin, and the external data bus
width can be used 8 bits.
M16C/62T group is not guaranteed to operate in memory expansion and microprocessor modes.
(1) Address bus/data bus
The address bus consists of the 20 pins A0 to A19 for accessing the 1M bytes of address space.
The data bus consists of the pins for data I/O. When the BYTE pin is “H”, the 8 ports D0 to D7 function
as the data bus. When BYTE is “L”, the 16 ports D0 to D15 function as the data bus.
When a change is made from single-chip mode to memory expansion mode, the value of the address
bus is undefined until external memory is accessed.
(2) Chip select signalIn (In M30623(80-pin package), the chip select signals have no corresponding
external pin.)
The chip select signal is output using the same pins as P44 to P47. Bits 0 to 3 of the chip select control
register (address 000816) set each pin to function as a port or to output the chip select signal. The chip
select control register is valid in memory expansion mode and microprocessor mode. In single-chip
mode, P44 to P47 function as programmable I/O ports regardless of the value in the chip select control
register.
_______
In microprocessor mode, only CS0 outputs the chip select signal after the reset state has been can-
_______
celled. CS1 to CS3 function as input ports. Figure 1.12.1 shows the chip select control register.
The chip select signal can be used to split the external area into as many as four blocks. Tables 1.12.1
and 1.12.2 show the external memory areas specified using the chip select signal.
Memory space
expansion mode
Specified
address
range
Normal mode
(PM15,14=0,0)
Expansion
mode 1
(PM15,14=1,0)
Expansion
mode 2
(PM15,14=1,1)
Processor mode
Memory expansion
mode
Microprocessor
mode
3000016 to
FFFFF16
(832K bytes)
0400016 to
CFFFF16
(816K bytes)
0400016 to
FFFFF16
(1008K bytes)
4000016 to
FFFFF16
(512K bytes ! 8)
2800016 to
2FFFF16
(32K bytes)
2800016 to
3FFFF16
(96K bytes)
0800016 to
27FFF16
(128K bytes)
0400016 to
07FFF16
(16K bytes)
Chip select signal
4000016 to
BFFFF16
(512K bytes ! 7
+ 256K bytes)
3000016 to
CFFFF16
(640K bytes)
Memory expansion
mode
Microprocessor
mode
Memory expansion
mode
Microprocessor
mode
CS0
CS1
CS2
CS3
Note 1: In M30623(80-pin package), the chip select signals have no corresponding external pin.
Note 2: The M16C/62T Group is not guaranteed to operate in memory expansion and microprocessor
modes.
Table 1.12.1. External areas specified by the chip select signals