4
MITSUBISHI MICROCOMPUTERS
M37736M4LXXXHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
Pin
Name
Input/Output
Functions
Vcc,
Vss
CNVss
Power source
Apply 2.7 – 5.5 V to Vcc and 0 V to Vss.
CNVss input
Input
This pin controls the processor mode. Connect to Vss for the single-chip mode and the memory
expansion mode, and to Vcc for the microprocessor mode.
When “L” level is applied to this pin, the microcomputer enters the reset state.
These are pins of main-clock generating circuit. Connect a ceramic resonator or a quartz-
crystal oscillator 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.
This pin functions as the enable signal output pin which indicates the access status in the internal
bus. In the external bus mode B and the memory expansion mode or the microprocessor mode,
this pin output signal
RDE
.
In the memory expansion mode or the microprocessor mode, this pin determines whether the
external data bus has an 8-bit width or a 16-bit width. The data bus has a 16-bit width when “L”
signal is input and an 8-bit width when “H” signal is input.
In the memory expansion mode or the microprocessor mode, this pin determines the external bus
mode. The bus mode becomes the external bus mode A when “H” signal is input, and the external
bus mode B when “L” signal is input.
Power source input pin for the A-D converter. Externally connect AVcc to Vcc and AVss to Vss.
_____
X
IN
Reset input
Clock input
Input
Input
_
E
Enable output
Output
BYTE
External data
bus width
selection input
Bus method
select input
Input
BSEL
Input
AVcc,
AVss
V
REF
Analog power
source input
Reference
voltage input
I/O port P0
Input
This is reference voltage input pin for the A-D converter.
P0
0
– P0
7
I/O
In the 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 the input mode when
reset.
In the memory expansion mode or the microprocessor mode, these pins output address (A
0
– A
7
)
at the external bus mode A, and these pins output signals
CS
0
–
CS
4
and
RSMP
, and addresses
(A
16
, A
17
) at the external bus mode B.
In the single-chip mode, these pins have the same functions as port P0. When the BYTE pin is set
to “L” in the memory expansion mode or the microprocessor mode and external data bus has a
16-bit width, high-order data (D
8
– D
15
) is input/output or an address (A
8
– A
15
) is output. When
the BYTE pin is “H” and an external data bus has an 8-bit width, only address (A
8
– A
15
) is output.
In the single-chip mode, these pins have the same functions as port P0. In the memory expansion
mode or the microprocessor mode, low-order data (D
0
– D
7
) is input/output or an address
is output. When using the external bus mode A, the address is A
16
– A
23
. When using the
external bus mode B, the address is A
0
– A
7
.
In the single-chip mode, these pins have the same function as port P0. In the memory expansion
mode or the microprocessor mode, R/
W
, ALE, and
HLDA
signals are output at the external
bus mode A, and
WEL
,
WEH
, ALE, and
HLDA
signals are output at the external bus mode B.
In the single-chip mode, these pins have the same functions as port P0. In the memory expansion
mode or the microprocessor mode, P4
0
, P4
1
, and P4
2
become
HOLD
and
RDY
input pins, and a
clock
φ
1
output pin, respectively. Functions of the other pins are the same as in the single-chip
mode. However, in the memory expansion mode, P4
2
can be selected as an I/O port.
In addition to having the same functions as port P0 in the single-chip mode, these pins also
function as I/O pins for timers A0 to A3.
In addition to having the same functions as port P0 in the single-chip mode, these pins also
function as I/O pins for timer A4, input pins for external interrupt input (
INT
0
–
INT
2
) and input pins
for timers B0 to B2. P6
7
also functions as sub-clock
φ
SUB
output pin.
In addition to having the same functions as port P0 in the single-chip mode, these pins function
as input pins for A-D converter. Additionally, P7
6
and P7
7
have the function as the output pin
(X
COUT
) and the input pin (X
CIN
) of the sub-clock (32 kHz) oscillation circuit, respectively. When
P7
6
and P7
7
are used as the X
COUT
and X
CIN
pins, connect a resonator or an oscillator between
the both.
In addition to having the same functions as port P0 in the single-chip mode, these pins also
function as I/O pins for UART 0 and UART 1.
Port P9 is an 8-bit I/O port. These ports are floating when reset. When writing to the port latch,
these ports become the output mode. P9
0
– P9
3
also function as I/O port for UART 2.
In addition to having the same functions as port P0 in the single-chip mode. P10
4
– P10
7
also
function as input pins for key input interrupt input (
Kl
0
–
Kl
3
).
These pins should be left open.
P1
0
– P1
7
I/O port P1
I/O
P2
0
– P2
7
I/O port P2
I/O
P3
0
– P3
3
I/O port P3
I/O
P4
0
– P4
7
I/O port P4
I/O
P5
0
– P5
7
I/O port P5
I/O
P6
0
– P6
7
I/O port P6
I/O
P7
0
– P7
7
I/O port P7
I/O
P8
0
– P8
7
I/O port P8
I/O
P9
0
– P9
7
Output port P9
Output
P10
0
– P10
7
I/O port P10
I/O
EVL0, EVL1
Output
PIN DESCRIPTION
X
OUT
Clock output
Output