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
M37733EHLXXXHP
PROM VERSION OF M37733MHLXXXHP
DESCRIPTION
The M37733EHLXXXHP 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 PROM, 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.
The M37733EHLXXXHP has the same function as the
M37733MHLXXXHP except that the built-in ROM is PROM. (Refer
to the basic function blocks description.)
qSingle
power supply ...................................................... 2.7–5.5 V
qLow
power dissipation (At 3 V supply voltage, 12 MHz frequency)
............................................ 9 mW (Typ.)
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
qWatchdog
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
(0.5 mm lead pitch)
APPLICATION
FEATURES
qNumber
of basic instructions .................................................. 103
qMemory
size
PROM .............................................. 124 Kbytes
RAM ................................................ 3968 bytes
qInstruction
execution time
The fastest instruction at 12 MHz frequency ...................... 333 ns
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)
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
49
59
57
55
53
52
51
50
47
43
56
54
48
46
45
60
P8
5
/C LK
1
P8
4
/C TS
1
/R TS
1
P8
3
/T
X
D
0
P8
2
/R
X
D
0
/C LKS
0
P8
1
/C LK
0
P8
0
/C TS
0
/R TS
0
/C LKS
1
V
C C
AV
C C
V
R EF
AV
SS
V
SS
P7
7
/AN
7
/X
C IN
P7
6
/AN
6
/X
C O U T
P7
5
/AN
5
/AD
TR G
/T
X
D
2
P7
4
/AN
4
/R
X
D
2
P7
3
/AN
3
/C LK
2
P7
2
/AN
2
/C TS
2
P7
1
/AN
1
P7
0
/AN
0
P6
7
/TB2
IN
/f
SUB
58
44
42
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
34
33
32
31
30
29
28
27
26
25
24
23
22
21
M37733EHLXXXHP
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
/BH E
P3
2
/ALE
P3
3
/H LD A
V
SS
E
X
OUT
X
IN
R ESET
C N V
SS
BYTE
P4
0
/H O LD
P4
1
/R D Y
P4
2
/f
1
10
11
12
13
14
16
17
18
15
P6
6
/TB1
IN
P6
5
/TB0
IN
P6
4
/IN T
2
P6
3
/IN T
1
P6
2
/IN T
0
P6
1
/TA4
IN
P6
0
/TA4
OUT
P5
7
/TA3
IN
/KI
3
P5
6
/TA3
OUT
/KI
2
P5
5
/TA2
IN
/KI
1
P5
4
/TA2
OUT
/KI
0
P5
3
/TA1
IN
P5
2
/TA1
OUT
P5
1
/TA0
IN
P5
0
/TA0
OUT
P4
7
P4
6
P4
5
P4
4
P4
3
Outline
80P6D-A, 80P6Q-A
19
20
2
3
1
5
6
7
4
8
9
P
.
.
tion hange
c
ifica
pec ject to
ls
fina re sub
a
ot a
is n limits
is
: Th metric
ice
Not e para
Som
REL
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733EHLXXXHP
PROM VERSION OF M37733MHLXXXHP
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)
UART2(9)
UART1(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)
M37733EHLXXXHP 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
PROM
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
P
.
.
tion hange
c
ifica
pec ject to
ls
fina re sub
a
ot a
is n limits
is
: Th metric
ice
Not e para
Som
REL
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733EHLXXXHP
PROM VERSION OF M37733MHLXXXHP
FUNCTIONS OF M37733EHLXXXHP
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
PROM
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
P
.
.
tion hange
c
ifica
pec ject to
ls
fina re sub
a
ot a
is n limits
is
: Th metric
ice
Not e para
Som
REL
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733EHLXXXHP
PROM VERSION OF M37733MHLXXXHP
PIN DESCRIPTION
Pin
Vcc,
Vss
CNVss
_____
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
RESET
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
___
same function as port P0. In the memory expansion
__
the
____
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
____
P0. In the memory expansion
port
___
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
.
.
tion hange
c
ifica
pec ject to
ls
fina re sub
a
ot a
is n limits
is
: Th metric
ice
Not e para
Som
REL
INA
IM
RY
MITSUBISHI MICROCOMPUTERS
M37733EHLXXXHP
PROM VERSION OF M37733MHLXXXHP
PIN DESCRIPTION (EPROM MODE)
Pin
V
CC
, V
SS
CNV
SS
____
BYTE
X
IN
X
OUT
E
Name
Power supply
V
PP
input
V
PP
input
Reset input
Clock input
Clock output
Enable output
Analog supply input
Reference voltage input
Address input (A
0
– A
7
)
Address input (A
8
– A
15
)
Data I/O (D
0
– D
7
)
Address input (A
16
)
Input port P3
Input port P4
Control signal input
Input port P6
Input port P7
Input port P8
Input/Output
Input
Input
Input
Input
Output
Output
Input
Input
Input
I/O
Input
Input
Input
Input
Input
Input
Input
RESET
Functions
Supply 5V±10% to V
CC
and 0V to V
SS
.
Connect to V
PP
when programming or verifing.
Connect to V
PP
when programming or verifing.
Connect to V
SS
.
Connect a ceramic resonator between X
IN
and X
OUT
.
Keep open.
Connect AV
CC
to V
CC
and AV
SS
to V
SS
.
Connect to V
SS
.
Port P0 functions as the lower 8 bits address input (A
0
– A
7
).
Port P1 functions as the higher 8 bits address input (A
8
– A
15
).
Port P2 functions as the 8 bits data bus(D
0
– D
7
).
P3
0
functions as the most significant bit address input (A
16
).
Connect to V
SS
.
Connect to V
SS
.
___
__
__
_
AV
CC
, AV
SS
V
REF
P0
0
– P0
7
P1
0
– P1
7
P2
0
– P2
7
P3
0
P3
1
– P3
3
P4
0
– P4
7
P5
0
– P5
7
P6
0
– P6
7
P7
0
– P7
7
P8
0
– P8
7
P5
0
, P5
1
and P5
2
function as
PGM
,
OE
and
CE
input pins respectively.
Connect P5
3
, P5
4
, P5
5
and P5
6
to V
CC
. Connect P5
7
to V
SS
.
Connect to V
SS
.
Connect to V
SS
.
Connect to V
SS
.
5