![](http://datasheet.mmic.net.cn/280000/M30623M4T-246GP_datasheet_16083409/M30623M4T-246GP_32.png)
32
Mitsubishi microcomputers
M16C / 62T Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Bus Settings
Table 1.11.2. Pin functions for each processor mode
I/O port
I/O port
I/O port
I/O port
Processor mode
Memory expansion / microprocessor modes
(separate bus)
“01”, “10”
“00”
“11” (Note 2)
multiplexed bus
for the entire space
8 bits “H”
16 bits “L”
16 bits “L”
8 bits “H”
8 bits “H”
P0
0
to P0
7
P1
0
to P1
7
P2
0
P2
1
to P2
7
P3
0
P3
1
to P3
7
Port P4
to P4
function select bit = 1
P4
0
to P4
3
Port P4
to P4
function select bit = 0
P4
0
to P4
3
P5
0
to P5
3
P5
4
P5
5
P5
6
P5
7
P4
4
to P4
7
Data bus
Data bus
Data bus
Data bus
I/O port
I/O port
Data bus
I/O port
Data bus
I/O port
I/O port
Address bus
Address bus
Address bus
I/O port
Address bus
Address bus
I/O port
Address bus
Address bus
Address bus
A
8
/D
7
I/O port
Address bus
Address bus
Address bus
Address bus
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
Address bus
Address bus
Address bus
Address bus
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
ALE
Single-chip
mode
Memory
expansion mode
(Note 1)
Address bus
/data bus
Address bus
/data bus
Address bus/
data bus (Note 3)
Address bus/
data bus (Note 3)
Address bus/
data bus (Note 3)
Address bus/
data bus (Note 3)
Either CS1 or CS2 is for multiplexed bus
and others are for separate bus
Multiplexed bus
space select bit
Data bus width
BYTE pin level
RDY
HOLD
HLDA
ALE
RDY
HOLD
HLDA
ALE
RDY
HOLD
HLDA
ALE
RDY
HOLD
HLDA
ALE
RDY
HOLD
HLDA
CS (chip select) or programmable I/O port
(For details, refer to “Bus control”.)
Outputs RD, WRL, WRH, and BCLK or RD, BHE, WR, and BCLK
(For details, refer to “Bus control”.)
Note 1: In M30623(80-pin package), set the data bus width to 8 bits by any of the following operations, to transfer the
microcomputer to memory expansion mode correctly.
At reset, input “H” to the CNV
SS
(BYTE) pin to start the program in microprocessor mode. Then, set the
processor mode bit to memory expansion mode.
At reset, input “L” to the CNV
SS
(BYTE) pin to start the program in single-chip mode, and input “H” to this pin.
Then, set the processor mode bit to memory expansion mode.
Note 2: If the entire space is of multiplexed bus in memory expansion mode, choose an 8-bit width. The processor
operates using the separate bus after reset is revoked, so the entire space multiplexed bus cannot be chosen
in microprocessor mode.
The higher-order address becomes a port if the entire space multiplexed bus is chosen, so only 256 bytes can
be used in each chip select.
Note 3: Address bus when in separate bus mode.
Note 4: In M30623(80-pin package), P1, P4
4
to P4
7
have no corresponding external pin.
Note 5: M16C/62T group is not guaranteed to operate in memory expansion and microprocessor modes.