4
MITSUBISHI MICROCOMPUTERS
M37702M2AXXXFP, M37702M2BXXXFP
M37702S1AFP, M37702S1BFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Name
Power supply
CNV
SS
input
Reset input
Clock input
Clock output
Enable output
Bus width selection
input
Analog supply input
Reference voltage
input
I/O port P0
I/O port P1
I/O port P2
I/O port P3
I/O port P4
I/O port P5
I/O port P6
I/O port P7
I/O port P8
PIN DESCRIPTION
Pin
V
CC
, V
SS
CNV
SS
RESET
X
IN
X
OUT
_
E
BYTE
AV
CC
,
AV
SS
V
REF
P0
0
– P0
7
P1
0
– P1
7
P2
0
– P2
7
P3
0
– P3
7
P4
0
– P4
7
P5
0
– P5
7
P6
0
– P6
7
P7
0
– P7
7
P8
0
– P8
7
Functions
Supply 5 V ± 10% to V
CC
and 0V to V
SS
.
This pin controls the processor mode. Connect to V
SS
for single-chip mode, and
to V
CC
for external ROM types.
To enter the reset state, this pin must be kept at a “L” condition which should be
maintained for the required time.
These are I/O pins of internal clock generating circuit. Connect a ceramic or quartz
crystal resonator between X
IN
and X
OUT
. When an external clock is used, the clock
source should be connected to the X
IN
pin and the X
OUT
pin should be left open.
Data or instruction read and data write are performed when output from this pin
is “L”.
In memory expansion mode or microprocessor mode, this pin determines
whether the external data bus is 8-bit width or 16-bit width. The width is 16 bits
when “L” signal inputs and 8 bits when “H” signal inputs.
Power supply for the A-D converter. Connect AV
CC
to V
CC
and AV
SS
to V
SS
externally.
This is reference voltage input pin for the A-D converter.
In single-chip mode, port P0 becomes an 8-bit I/O port. An I/O direction register
is available so that each pin can be programmed for input or output. These ports
are in input mode when reset.
Address (A
7
– A
0
) is output in memory expansion mode or microprocessor mode.
In single-chip mode, these pins have the same functions as port P0. When the
BYTE pin is set to “L” in memory expansion mode or microprocessor mode and
external data bus is 16-bit width, high-order data (D
15
– D
8
) is input or output
_
when E output is “L” and an address (A
15
– A
8
) is output when E output is “H”.
If the BYTE pin is “H” that is an external data bus is 8-bit width, only address
(A
15
– A
8
) is output.
In single-chip mode, these pins have the same functions as port P0. In memory
expansion mode or microprocessor mode low-order data (D
7
– D
0
) is input or
output when E output is “L” and an address (A
23
– A
16
) is output when E output
is “H”.
In single-chip mode, these pins have the same functions as port P0. In memory
expansion mode or microprocessor mode, R/W, BHE, ALE and HLDA signals
are output.
In single-chip mode, these pins have the same functions as port P0. In memory
expansion mode or microprocessor mode, P4
0
and P4
1
become HOLD and RDY
input pin respectively. Functions of other pins are the same as in single-chip
mode. In single-chip mode or memory expansion mode, port P4
2
can be pro-
grammed for
φ
1
output pin divided the clock to X
IN
pin by 2. In microprocessor
mode. P4
2
always has the function as
φ
1
output pin.
In addition to having the same functions as port P0 in single-chip mode, these
pins also function as I/O pins for timer A0, timer A1, timer A2 and timer A3.
In addition to having the same functions as port P0 in single-chip mode, these
0
, INT
1
and
____
2
pins, and input pins for timer B0, timer B1 and timer B2.
In addition to having the same functions as port P0 in single-chip mode, these
pins also function as analog input AN
0
– AN
7
input pins. P7
7
also has an A-D
conversion trigger input function.
In addition to having the same functions as port P0 in single-chip mode, these
____ ____
pins also function as R
X
D, T
X
D, CLK, CTS/RTS pins for UART 0 and UART 1.
Input/Output
Input
Input
Input
Output
Output
Input
Input
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O