Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Overview
10
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Table 1.1.5 Pin Description (100-pin and 128-pin Packages) (Continued)
Signal name
Function
Pin name
I/O type
Power supply
V
CC2
P5
0
to P5
7
WRL / WR,
WRH / BHE,
RD,
BCLK,
HLDA,
HOLD,
ALE,
RDY
I/O port P5
Input/output
V
CC1
P6
0
to P6
7
I/O port P6
Input/output
V
CC1
P7
0
to P7
7
I/O port P7
Input/output
V
CC1
P8
0
to P8
4
,
P8
6
,
P8
7
,
P8
5
I/O port P8
I/O port P8
5
Input/output
Input/output
Input/output
Input
Output
Output
Output
Output
Output
Input
Output
Input
This is an 8-bit I/O port equivalent to P0. In single-chip mode, P5
7
in this port outputs a divide-by-8 or divide-by-32 clock of X
IN
or a
clock of the same frequency as X
CIN
as selected by program.
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as UART0 and UART1 I/O pins as selected by program.
This is an 8-bit I/O port equivalent to P0 (P7
0
and P7
1
are N
channel open-drain output). This port can function as input/output
pins for timers A0 to A3 when so selected in a program.
Furthermore, P7
0
to P7
5
, P7
1
, and P7
2
to P7
5
can also function as
input/output pins for UART2, an input pin for timer B5, and output
pins for the three-phase motor control timer, respectively.
Output WRL/WR, WRH/BHE, RD, BCLK, HLDA, and ALE signals.
WRL/WR and WRH/BHE are switchable in a program. Note that
WRL and WRH are always used as a pair, so as WR and BHE.
WRL, WRH, and RD selected
addresses when the WRL signal is low, and written to odd
addresses when the WRH signal is low. Data are read out when the
RD signal is low.
WR, BHE, and RD selected
Data are written when the WR signal is low, or read out when the
RD signal is low. Odd addresses are accessed when the BHE
signal is low. Use this mode when the external data bus is 8 bits
wide.
The microcomputer goes to a hold state when input to the HOLD
pin is held low.
While in the hold state, HLDA outputs a low
level. ALE is used to latch the address. While the input level of the
RDY pin is low, the bus of the microcomputer goes to a wait state.
P8
0
to P8
4
, P8
6
, and P8
7
are I/O ports with the same functions as
P0. When so selected in a program, P8
0
to P8
1
and P8
2
to P8
4
can
function as input/output pins for timer A4 or output pins for the
three-phase motor control timer and INT interrupt input pins,
respectively. P8
6
and P8
7
, when so selected in a program, both
can function as input/output pins for the subclock oscillator circuit.
In that case, connect a crystal resonator between P8
6
(X
COUT
pin)
and P8
7
(X
CIN
pin).
P8
5
is an input-only port shared with NMI. An NMI interrupt is
generated when input on this pin changes state from high to low.
The NMI function cannot be disabled in a program.
A pull-up cannot be set for this pin.
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as SI/O3 and SI/O4 I/O pins, Timer B0 to B4 input pins, D-
A converter output pins, A-D converter input pins, or A-D trigger
input pins as selected by program.
P9
0
to P9
7
I/O port P9
Input/output V
CC1
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as A-D converter input pins as selected by program.
Furthermore, P10
4
to P10
7
also function as input pins for the key
input interrupt function.
P10
0
to
P10
7
I/O port P10
Input/output V
CC1
Table 1.1.6 Pin Description (3) (128-pin Package) (Continued)
P11
0
to P11
7
Signal name
I/O port P11
Pin name
I/O type
Input/output
P12
0
to P12
7
I/O port P12 Input/output
P13
0
to P13
7
I/O port P13 Input/output
P14
0
, P14
1
I/O port P14
Function
This is an 8-bit I/O port equivalent to P0.
This is an 8-bit I/O port equivalent to P0.
This is an 8-bit I/O port equivalent to P0.
This is an 2-bit I/O port equivalent to P0.
Input/output
Power supply
circuit block
V
CC1
V
CC2
V
CC2
V
CC1