REL
P
e.
n.
atio
ang
cific t to ch
pe jec
al s
b
a fin are su
not
is
mits
This etric li
m
ice:
Not e para
Som
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733MHLXXXHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
DESCRIPTION
The M37733MHLXXXHP is a single-chip microcomputer using the
7700 Family core. This single-chip microcomputer has a CPU and a
bus interface unit. The CPU is a 16-bit parallel processor that can be
an 8-bit parallel processor, and the bus interface unit enhances the
memory access efficiency to execute instructions fast. This
microcomputer also includes a 32 kHz oscillation circuit, in addition
to the ROM, RAM, multiple-function timers, serial I/O, A-D converter,
and so on.
Its strong points are the low power dissipation, the low supply voltage,
and the small package.
qInterrupts
............................................................ 19 types, 7 levels
qMultiple-function
16-bit timer ................................................. 5 + 3
qSerial
I/O (UART or clock synchronous) ..................................... 3
q10-bit
A-D converter .............................................. 8-channel inputs
q12-bit
watchdog timer
qProgrammable
input/output
(ports P0, P1, P2, P3, P4, P5, P6, P7, P8) ............................... 68
qClock
generating circuit ........................................ 2 circuits built-in
qSmall
package ...................... 80-pin plastic molded fine-pitch QFP
(80P6D-A;0.5 mm lead pitch)
APPLICATION
FEATURES
qNumber
of basic instructions .................................................. 103
qMemory
size
ROM ................................................. 124 Kbytes
RAM ................................................ 3968 bytes
qInstruction
execution time
The fastest instruction at 12 MHz frequency ...................... 333 ns
qSingle
power supply ...................................................... 2.7–5.5 V
qLow
power dissipation (At 3 V supply voltage, 12 MHz frequency)
............................................ 9 mW (Typ.)
Control devices for general commercial equipment such as office
automation, office equipment, personal information equipment, and
so on.
Control devices for general industrial equipment such as
communication equipment, and so on.
PIN CONFIGURATION (TOP VIEW)
56
49
55
44
50
58
57
59
54
52
51
53
48
60
47
46
45
43
P8
5
/CLK
1
P8
4
/CTS
1
/RTS
1
P8
3
/T
X
D
0
P8
2
/R
X
D
0
/CLKS
0
P8
1
/CLK
0
P8
0
/CTS
0
/RTS
0
/CLKS
1
V
CC
AV
CC
V
REF
AV
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P
ion. hange.
icat
ecif ct to c
p
al s
bje
a fin are su
not
s
is
mit
This etric li
m
ice:
Not e para
Som
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733MHLXXXHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Reference
External data bus width
voltage input
selection input
V
REF
BYTE
Data Bus(Even)
Data Bus(Odd)
Data Buffer DB
H
(8)
P0(8)
Data Buffer DB
L
(8)
Instruction Register(8)
Instruction Queue Buffer Q
0
(8)
Instruction Queue Buffer Q
1
(8)
Address Bus
Incrementer(24)
(0V)
AV
SS
Input/Output
port P2
Input/Output
port P8
Input/Output
port P7
Input/Output
port P6
Input/Output
port P5
Input/Output
port P4
Input/Output
port P3
Program Address Register PA(24)
Data Address Register DA(24)
P2(8)
CNVss
Incrementer/Decrementer(24)
(0V)
V
SS
Program Bank Register PG(8)
Data Bank Register DT(8)
UART1(9)
UART2(9)
UART0(9)
V
CC
Input Butter Register IB(16)
Watchdog Timer
Timer TB2(16)
Timer TB1(16)
Timer TB0(16)
Processor Status Register PS(11)
Reset input
RESET
Direct Page Register DPR(16)
Stack Pointer S(16)
Timer TA4(16)
M37733MHLXXXHP BLOCK DIAGRAM
Timer TA3(16)
Timer TA2(16)
Timer TA1(16)
Timer TA0(16)
Index Register Y(16)
X
COUT
X
CIN
Index Register X(16)
Accumulator B(16)
Enable
output
E
Accumulator A(16)
Clock Generating Circuit
3968 bytes
P7(8)
Clock input Clock output
X
IN
X
OUT
RAM
Arithmetic Logic
Unit(16)
X
COUT
X
CIN
124 Kbytes
2
ROM
P8(8)
P6(8)
P5(8)
P4(8)
P3(4)
Program Counter PC(16)
A-D Converter(10)
Input/Output
port P1
Instruction Queue Buffer Q
2
(8)
P1(8)
AV
CC
Input/Output
port P0
REL
P
ion. hange.
icat
ecif ct to c
p
al s
bje
a fin are su
not
s
is
mit
This etric li
m
ice:
Not e para
Som
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733MHLXXXHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
FUNCTIONS OF M37733MHLXXXHP
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
Input/Output voltage
Output current
ROM
RAM
P0 – P2, P4 – P8
P3
TA0, TA1, TA2, TA3, TA4
TB0, TB1, TB2
Functions
103
333 ns (the fastest instruction at external clock 12 MHz frequency)
124 Kbytes
3968 bytes
8-bit
!
8
4-bit
!
1
16-bit
!
5
16-bit
!
3
(UART or clock synchronous serial I/O)
!
3
10-bit
!
1 (8 channels)
12-bit
!
1
3 external types, 16 internal types
Each interrupt can be set to the priority level (0 – 7.)
2 circuits built-in (externally connected to a ceramic resonator or a
quartz-crystal oscillator)
2.7 – 5.5 V
9 mW (at 3 V supply voltage, external clock 12 MHz frequency)
22.5 mW (at 5 V supply voltage, external clock 12 MHz frequency)
5V
5 mA
Maximum 16 Mbytes
–40 to 85 °C
CMOS high-performance silicon gate process
80-pin plastic molded fine-pitch QFP (80P6D-A;0.5 mm lead pitch)
3
REL
P
ion. hange.
icat
ecif ct to c
p
al s
bje
a fin are su
not
s
is
mit
This etric li
m
ice:
Not e para
Som
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733MHLXXXHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Pin
Vcc,
Vss
CNVss
RESET
Name
Input/Output
Power source
Apply 2.7 – 5.5 V to Vcc and 0 V to Vss.
CNVss input
Reset input
Clock input
Clock output
Enable output
External data
bus width
selection input
Analog power
source input
Reference
voltage input
I/O port P0
Input
Input
Input
Output
Output
Input
Functions
X
IN
X
OUT
E
BYTE
AVcc,
AVss
V
REF
P0
0
– P0
7
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. When output level of
E
signal is “L”, data/instruction read or data write is performed.
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.
Power source input pin for the A-D converter. Externally connect AVcc to Vcc and AVss to Vss.
This is reference voltage input pin for the A-D converter.
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
).
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
(A
16
– A
23
) is output.
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
,
BHE
, ALE, and
HLDA
signals are output.
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 and input pins for key input interrupt input (
KI
0
–
KI
3
).
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. P7
2
to P7
5
also function as I/O pins for UART2. 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.
Input
I/O
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
P4
0
– P4
7
I/O port P4
I/O
I/O
P5
0
– P5
7
I/O port P5
P6
0
– P6
7
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
4
P
ion. hange.
icat
ecif ct to c
e
l sp
fina re subj
a
ot a
is n limits
This etric
m
ice:
Not e para
Som
REL
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733MHLXXXHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
BASIC FUNCTION BLOCKS
The M37733MHLXXXHP has the same functions as the
M37733MHBXXXFP except for the package and the reset circuit.
Refer to the section on the M37733MHBXXXFP.
ADDRESSING MODES
The M37733MHLXXXHP has 28 powerful addressing modes. Refer
to the “7700 Family Software Manual” for the details.
MACHINE INSTRUCTION LIST
RESET CIRCUIT
The microcomputer is released from the reset state when the
RESET
pin is returned to “H” level after holding it at “L” level with the power
source voltage at 2.7 – 5.5 V. Program execution starts at the address
formed by setting address A
23
– A
16
to 00
16
, A
15
– A
8
to the contents
of address FFFF
16
, and A
7
– A
0
to the contents of address FFFE
16
.
Figure 3 shows an example of a reset circuit. When the stabilized
clock is input from the external to the main-clock oscillation circuit,
the reset input voltage must be 0.55 V or less when the power source
voltage reaches 2.7 V. When a resonator/oscillator is connected to
the main-clock oscillation circuit, change the reset input voltage from
“L” to “H” after the main-clock oscillation is fully stabilized.
The status of the internal registers during reset is the same as the
M37733MHBXXXFP’s.
_____
The M37733MHLXXXHP has 103 machine instructions. Refer to the
“7700 Family Software Manual” for the details.
DATA REQUIRED FOR MASK ROM ORDERING
Please send the following data for mask orders.
(1) M37733MHLXXXHP mask ROM order confirmation form
(2) 80P6D, 80P6Q mark specification form
(3) ROM data (EPROM 3 sets)
Power on
V
CC
RESET
2.7V
0V
V
CC
RESET
0V
0.55V
Note.
In this case, stabilized clock is input from the
external to the main-clock oscillation circuit.
Perform careful evalvation at the system design
level before using.
Fig. 1 Example of a reset circuit
5