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 singlechip microcomputer has a large 16 M bytes address space, three
instruction queue buffers, and two data buffers for high-speed instruction 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
M37702M2LXXXGP
M37702S1LGP
M37702M2LXXXHP
M37702S1LHP
.................................................. 80-pin QFP (0.65 mm lead pitch)
M37702M2LXXXHP, M37702S1LHP
.................................... 80-pin fine-pitch QFP (0.5 mm lead pitch)
APPLICATION
Control devices for communication equipment such as cellular radio 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 microcomputer.
(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)
5 V
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
VCC, VSS
CNVSS
______
RESET
X
IN
XOUT
_
E
BYTE
CC,
AV
AV
SS
VREF
P00 – P07
P10 – P17
P20 – P27
P30 – P33
P40 – P47
P50 – P57
P60 – P67
P70 – P77
P80 – P87
Name
Power supply
CNVSS 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
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
Functions
Supply 2.7 – 5.5 V to VCC and 0 V to VSS.
This pin controls the processor mode. Connect to VSS for single-chip mode, and
CC for external ROM types.
to V
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
IN
and X
OUT
crystal resonator between X
source should be connected to the X
. When an external clock is used, the clock
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 VCC and AVSS to VSS
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 (A7 – A0) 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 (D15 – D8) is input or output
__
when E output is “L” and an address (A15 – A8) 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
(A15 – A8) 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
output when E output is “L” and an address (A23 – A16) is output when E output
__
7 – D0) is input or
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, P40 and P41 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 P42 can be programmed for φ
mode. P4
1 output pin divided the clock to XIN pin by 2. In microprocessor
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 INT0, INT1 and
____
INT2 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 – AN7 input pins. P77 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 RXD, TXD, CLK, CTS/RTS pins for UART 0 and UART 1.
____ ____
5
MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
BASIC FUNCTION BLOCKS
The M37702M2LXXXGP has the same functions as the
M37702M2BXXXFP except for the reset circuit.
Refer to the section on the M37702M2BXXXFP.
RESET CIRCUIT
Reset occurs when the RESET pin is returned to “H” level after
holding it at “L” level when the power voltage is at 2.7 – 5.5 V. Program execution starts at the address formed by setting the
address pins A
FFFF
16, and A7 – A0 to the contents of address FFFE16.
(1) Port P0 data direction register
(2) Port P1 data direction register
(3) Port P2 data direction register
(4) Port P3 data direction register
(5) Port P4 data direction register
(6) Port P5 data direction register
(7) Port P6 data direction register
(8) Port P7 data direction register
(9) Port P8 data direction register
(10) A-D control register
(11)
(12)
Figure 1 shows the status of the internal registers when a reset
occurs.
Figure 2 shows an example of a reset circuit. The reset input voltage must be held 0.55 V or lower when the power voltage reaches
UART 0 transmission interrupt control
(34)
(35)
(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48) Processor status register PS
(49) Program bank register PG
(50) Program counter PC
(51) Program counter PCL
(52) Direct page register DPR
(53) Data bank register DT
Contents of other registers and RAM are not initialized and should be initialized by software.