MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
DESCRIPTION
The M37702M2LXXXGP is a single-chip 16-bit microcomputer
designed with high-performance CMOS silicon gate technology.
This is housed in a small 80-pin plastic molded QFP. This single-
chip microcomputer has a large 16 M bytes address space, three
instruction queue buffers, and two data buffers for high-speed in-
struction execution. The CPU is a 16-bit parallel processor that
can also be switched to perform 8-bit parallel processing. This
microcomputer is suitable for communication, office, business and
industrial equipment controller that require high-speed processing
of large data.
The strong points of the M37702M2LXXXGP, M37702S1LGP,
M37702M2LXXXHP and M37702S1LHP are the low supply voltage
and small package.
The differences between M37702M2LXXXGP, M37702S1LGP,
M37702M2LXXXHP and M37702S1LHP are the ROM size and
the package as shown below. Therefore, the following descriptions
will be for the M37702M2LXXXGP unless otherwise noted.
Type name
ROM size
Package
M37702M2LXXXGP 16 K bytes 80-pin plastic molded QFP (80P6S-A)
M37702S1LGP
External 80-pin plastic molded QFP (80P6S-A)
M37702M2LXXXHP 16 K bytes 80-pin plastic molded fine-pitch QFP (80P6D-A)
M37702S1LHP
External 80-pin plastic molded fine-pitch QFP (80P6D-A)
APPLICATION
Control devices for communication equipment such as cellular ra-
dio telephones, cordless telephones, and radio communications
Control devices for office equipment such as copiers, printers,
typewriters, facsimiles, word processors, and personal computers
Control devices for industrial equipments such as ME, NC, and
measuring instruments
NOTE
Refer to “Chapter 5 PRECAUTIONS” when using this microcom-
puter.
FEATURES
•
Number of basic instructions ..................................................103
•
Memory size
ROM ................................................ 16 K bytes
RAM ................................................. 512 bytes
•
Instruction execution time
The fastest instruction at 8 MHz frequency ....................... 500 ns
•
Single low supply voltage ........................................... 2.7 – 5.5 V
•
Low power dissipation
(At 3 V supply voltage, 8 MHz frequency) .............. 12 mW (Typ.)
(At 5 V supply voltage, 8 MHz frequency) .............. 30 mW (Typ.)
•
Wide operating temperature range ............................. –40 – 80°C
•
Interrupts ............................................................ 19 types 7 levels
•
Multiple function 16-bit timer ................................................ 5 + 3
•
UART (may also be synchronous) .............................................. 2
•
8-bit A-D converter ............................................. 8-channel inputs
•
12-bit watchdog timer
•
Programmable input/output
(ports P0, P1, P2, P3, P4, P5, P6, P7, P8) .............................. 68
•
Small package
M37702M2LXXXGP, M37702S1LGP
.................................................. 80-pin QFP (0.65 mm lead pitch)
M37702M2LXXXHP, M37702S1LHP
.................................... 80-pin fine-pitch QFP (0.5 mm lead pitch)
MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
PIN CONFIGURATION (TOP VIEW)
P8
6
/R
X
D
1
P8
7
/T
X
D
1
P0
0
/
A
0
P0
1
/
A
1
P0
2
/
A
2
P0
3
/
A
3
P0
4
/
A
4
P0
5
/
A
5
P0
6
/A
6
P0
7
/A
7
P1
0
/A
8
/D
8
P1
1
/A
9
/D
9
P1
2
/A
10
/D
10
P1
3
/A
11
/D
11
P1
4
/A
12
/D
12
P1
5
/A
13
/D
13
P1
6
/A
14
/D
14
P1
7
/A
15
/D
15
P2
0
/A
16
/D
0
P2
1
/A
17
/D
1
60
58
55
49
56
53
59
57
54
45
44
43
52
50
46
42
48
P8
5
/CLK
1
P8
4
/CTS
1
/RTS
1
P8
3
/T
X
D
0
P8
2
/R
X
D
0
P8
1
/CLK
0
P8
0
/CTS
0
/RTS
0
V
CC
AV
CC
V
REF
AV
SS
V
SS
P7
7
/AN
7
/AD
TRG
P7
6
/AN
6
P7
5
/AN
5
P7
4
/AN
4
P7
3
/AN
3
P7
2
/AN
2
P7
1
/AN
1
P7
0
/AN
0
P6
7
/TB2
IN
51
47
41
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
40
39
38
37
36
35
M37702M2LXXXGP
or
M37702S1LGP
or
M37702M2LXXXHP
or
M37702S1LHP
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P2
2
/A
18
/D
2
P2
3
/A
19
/D
3
P2
4
/A
20
/D
4
P2
5
/A
21
/D
5
P2
6
/A
22
/D
6
P2
7
/A
23
/D
7
P3
0
/
R/W
P3
1
/
BHE
P3
2
/
ALE
P3
3
/
HLDA
V
ss
E
X
OUT
X
IN
RESET
CNV
SS
BYTE
P4
0
/
HOLD
P4
1
/
RDY
P4
2
/
φ
1
11
12
15
16
14
13
17
18
Outline
M37702M2LXXXGP, M37702S1LGP••••••80P6S-A
M37702M2LXXXHP, M37702S1LHP••••••80P6D-A
V
: Used in the evaluation chip mode only
2
P6
6
/TB1
IN
P6
5
/TB0
IN
P6
4
/I
NT
2
P6
3
/I
NT
1
P6
2
/I
NT
0
P6
1
/TA4
IN
P6
0
/TA4
OUT
P5
7
/TA3
IN
P5
6
/TA3
OUT
P5
5
/TA2
IN
P5
4
/TA2
OUT
P5
3
/TA1
IN
P5
2
/TA1
OUT
P5
1
/TA0
IN
P5
0
/TA0
OUT
P4
7
/DBC
V
P4
6
/VPA
V
P4
5
/VDA
V
P4
4
/QCL
V
P4
3
/MX
V
10
19
1
4
2
5
6
7
8
9
20
3
M37702M2LXXXGP BLOCK DIAGRAM
Reset input
RESET
26
30 71
25
70
24
68
69
67
Enable output
Clock input Clock output
X
OUT
X
IN
E
(5V)
V
CC
(5V)
AV
CC
(0V)
V
SS
(0V)
CNVss
(0V)
AV
SS
Reference
voltage input
V
REF
Bus width
selection input
BYTE
27
28
29
Clock Generating Circuit
Instruction Register(8)
Incrementer(24)
Stack Pointer S(16)
Program Address Register PA(24)
Processor Status Register PS(11)
Program Counter PC(16)
Direct Page Register DPR(16)
Instruction Queue Buffer Q
2
(8)
Data Address Register DA(24)
Program Bank Register PG(8)
Instruction Queue Buffer Q
1
(8)
Instruction Queue Buffer Q
0
(8)
Timer TA4(16)
Watchdog Timer
Timer TB2(16)
Timer TB1(16)
Timer TB0(16)
UART0(9)
UART1(9)
A-D Converter(8)
Timer TA3(16)
Address Bus
ROM
RAM
Timer TA2(16)
Data Bus(Odd)
16K Bytes
512 Bytes
Timer TA1(16)
Data Bus(Even)
Timer TA0(16)
Index Register X(16)
Index Register Y(16)
Data Bank Register DT(8)
Data Buffer DB
H
(8)
Incrementer/Decrementer(24)
Input Buffer Register IB(16)
Accumulator A(16)
Accumulator B(16)
Data Buffer DB
L
(8)
Arithmetic Logic
Unit(16)
P8(8)
P6(8)
P5(8)
P7(8)
P4(8)
P3(4)
P2(8)
P1(8)
P0(8)
59 60 61 62 63 64 65 66
72 73 74 75 76 77 78 79
80 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
16 17 18 19 20 21 22 23
31 32 33 34
35 36 37 38 39 40 41 42
43 44 45 46 47 48 49 50
51 52 53 54 55 56 57 58
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Input/Output
port P8
Input/Output
port P7
Input/Output
port P6
Input/Output
port P5
Input/Output
port P4
MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
Input/Output
port P3
Input/Output
port P2
Input/Output
port P1
Input/Output
port P0
3
MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
FUNCTIONS OF M37702M2LXXXGP
Parameter
Number of basic instructions
Instruction execution time
Memory size
Input/Output ports
Multi-function timers
Serial I/O
A-D converter
Watchdog timer
Interrupts
Clock generating circuit
Supply voltage
Power dissipation
Input/Output characteristic
Memory expansion
Operating temperature range
Device structure
Package
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
Input/Output voltage
Output current
ROM
RAM
P0 – P2, P4 – P8
P3
TA0, TA1, TA2, TA3, TA4
TB0, TB1, TB2
103
500 ns (the fastest instruction at external clock 8 MHz frequency)
16 K bytes
512 bytes
8-bit
!
8
4-bit
!
1
16-bit
!
5
16-bit
!
3
(UART or clock synchronous serial I/O)
!
2
8-bit
!
1 (8 channels)
12-bit
!
1
3 external types, 16 internal types
(Each interrupt can be set the priority levels to 0 – 7.)
Built-in (externally connected to a ceramic resonator or quartz
crystal resonator)
2.7 – 5.5 V
12 mW (at 3 V supply voltage, external clock 8 MHz frequency)
30 mW (at 5 V supply voltage, external clock 8 MHz frequency)
5V
5 mA
Maximum 16 M bytes
–40 – 85°C
CMOS high-performance silicon gate process
80-pin plastic molded QFP (80P6S-A: 0.65 mm lead pitch)
80-pin plastic molded fine-pitch QFP (80P6D-A: 0.5 mm lead pitch)
Functions
4
MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Pin
V
CC
, V
SS
CNV
SS
______
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
Input/Output
Functions
Supply 2.7 – 5.5 V to V
CC
and 0 V to V
SS
.
Input
Input
Input
Output
Output
Input
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.
RESET
X
IN
X
OUT
_
E
BYTE
AV
CC
,
AV
SS
V
REF
P0
0
– P0
7
Input
I/O
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
_____
memory
P0. In
____
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
____ ____
pins also function as I/O pins for timer A4, external interrupt input INT
0
, INT
1
and
____
INT
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.
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
P6
0
– P6
7
I/O port P5
I/O port P6
I/O
I/O
P7
0
– P7
7
I/O port P7
I/O
P8
0
– P8
7
I/O port P8
I/O
5