38B5 Group User’s Manual
1-2
HARDWARE
DESCRIPTION/FEATURES/APPLICATION/PIN CONFIGURATION
DESCRIPTION
The 38B5 group is the 8-bit microcomputer based on the 740 family
core technology.
The 38B5 group has six 8-bit timers, a 16-bit timer, a fluorescent dis-
play automatic display circuit, 12-channel 10-bit A-D converter, a se-
rial I/O with automatic transfer function, which are available for con-
trolling musical instruments and household appliances.
The 38B5 group has variations of internal memory size and packag-
ing. For details, refer to the section on part numbering.
For details on availability of microcomputers in the 38B5 group, refer
to the section on group expansion.
Built-in pull-down resistors connected to high-breakdown voltage ports
are available by specifying with the mask option in some products. For
the details, refer to the section on the mask option of pull-down resis-
tor.
FEATURES
Basic machine-language instructions....................................... 71
The minimum instruction execution time .......................... 0.48
μ
s
(at 4.19 MHz oscillation frequency)
Memory size
ROM ............................................. 24K to 60K bytes
RAM ..........................................1024 to 2048 bytes
Programmable input/output ports ............................................. 55
High-breakdown-voltage output ports ...................................... 36
Software pull-up resistors.......(Ports P5, P6
1
to P6
5
, P7, P8
4
to P8
7
, P9)
Interrupts .................................................. 21 sources, 16 vectors
Timers ........................................................... 8-bit
6, 16-bit
1
Serial I/O1 (Clock-synchronized) ................................... 8-bit
1
......................(max. 256-byte automatic transfer function)
Fig. 1 Pin configuration of M38B5xMxH-XXXXFP
Package type : 80P6N-A
80-pin plastic-molded QFP
PIN CONFIGURATION (TOP VIEW)
Serial I/O2 (UART or Clock-synchronized) .................... 8-bit
1
PWM ............................................................................ 14-bit
1
8-bit
1 (also functions as timer 6)
A-D converter .............................................. 10-bit
12 channels
Fluorescent display function......................... Total 40 control pins
Interrupt interval determination function ..................................... 1
Watchdog timer ............................................................ 20-bit
1
Buzzer output ............................................................................. 1
2 Clock generating circuit
Main clock (X
IN
–X
OUT
).......................... Internal feedback resistor
Sub-clock (X
CIN
–X
COUT
) ..........Without internal feedback resistor
(connect to external ceramic resonator or quartz-crystal
oscillator)
Power source voltage
In high-speed mode ...................................................4.0 to 5.5 V
(at 4.19 MHz oscillation frequency and high-speed selected)
In middle-speed mode................................................ 2.7 to 5.5 V
(at 4.19 MHz oscillation frequency and middle-speed selected)
In low-speed mode ..................................................... 2.7 to 5.5 V
(at 32 kHz oscillation frequency)
Power dissipation
In high-speed mode ..........................................................35 mW
(at 4.19 MHz oscillation frequency)
In low-speed mode .............................................................60
μ
W
(at 32 kHz oscillation frequency, at 3 V power source voltage)
Operating temperature range ................................... –20 to 85
°
C
APPLICATION
Musical instruments, VCR, household appliances, etc.
1
2
3
4
5
6
7
8
9
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
4
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
6
6
6
6
6
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
P
0
/
U
/
0
P
1
/
1
P
2
/
2
P
3
/
3
P
4
/
4
P
5
/
5
P
6
/
6
P
7
/
7
P
0
/
8
P
3
/
1
P
4
/
1
P
5
/
1
P
6
/
1
P
7
/
1
P
1
/
1
P
2
/
1
P
3
/
1
P
4
/
2
P
5
/
2
P
6
/
2
P
7
/
2
P
1
/
1
P
0
/
0
P6
5
/S
STB1
/AN
11
P6
4
/INT
4
/S
BUSY1
/AN
10
M38B5xMxH-XXXXFP
P
0
/
1
(
P6
3
/AN
9
P6
2
/S
RDY1
/AN
8
P7
7
/AN
7
R
P
1
/
C
P
0
/
C
P
4
/
1
P
3
/
U
P
2
/
3
(
P
1
/
1
P
0
/
0
V
EE
P8
4
/FLD
36
P
5
/
5
P7
6
/AN
6
V
REF
AV
SS
P5
0
/S
IN1
P5
1
/S
OUT1
P5
2
/S
CLK11
P5
3
/S
CLK12
P5
4
/RxD
P5
5
/TxD
P5
6
/S
CLK21
P5
7
/S
RDY2/
S
CLK22
P
7
/
0
/
3
P8
6
/RTP
1
/FLD
38
P8
3
/FLD
35
P8
2
/FLD
34
P8
1
/FLD
33
P8
0
/FLD
32
P3
7
/FLD
31
P3
6
/FLD
30
P3
5
/FLD
29
P3
4
/FLD
28
P3
3
/FLD
27
P3
2
/FLD
26
P3
1
/FLD
25
P3
0
/FLD
24
P8
5
/RTP
0
/FLD
37
P
1
/
0
/
2
P
5
/
1
X
I
X
O
V
P
6
/
3
V
P
0
/
1
P
1
/
9
P
2
/
1
P
7
/
2
P
4
/
4
P
3
/
3
P
2
/
2
Note:
In the mask option type P, INT
3
and CNTR
1
cannot be used.