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 ....... (PortsP5,P61toP65,P7,P84toP87,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 (XIN–XOUT) .......................... Internal feedback resistor
Sub-clock (XCIN–XCOUT) .......... 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
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
P2
0
/B
UZ02
/FLD
0
P2
1
/FLD
1
P2
2
/FLD
2
P2
3
/FLD
3
P2
4
/FLD
4
P2
5
/FLD
5
P2
6
/FLD
6
P2
7
/FLD
7
P0
0
/FLD
8
P0
3
/FLD
11
P0
4
/FLD
12
P0
5
/FLD
13
P0
6
/FLD
14
P0
7
/FLD
15
P1
1
/FLD
17
P1
2
/FLD
18
P1
3
/FLD
19
P1
4
/FLD
20
P1
5
/FLD
21
P1
6
/FLD
22
P1
7
/FLD
23
P7
1
/AN
1
P7
0
/AN
0
P65/SSTB1/AN11
P64/INT4/SBUSY1/AN10
M38B5xMxH-XXXXFP
P6
0
/CNTR
1
P63/AN9
P62/SRDY1/AN8
RESET
P9
1
/X
COUT
P9
0
/X
CIN
P4
4
/PWM
1
P4
3
/B
UZ01
P4
2
/INT
3
P4
1
/INT
1
P4
0
/INT
0
VEE
P7
5
/AN
5
P76/AN6
P77/AN7
VREF
AVSS
P50/SIN1
P51/SOUT1
P52/SCLK11
P53/SCLK12
P54/RxD
P55/TxD
P56/SCLK21
P57/SRDY2/SCLK22
P8
7
/PWM
0
/FLD
39
P86/RTP1/FLD38
P83/FLD35
P82/FLD34
P81/FLD33
P80/FLD32
P37/FLD31
P36/FLD30
P35/FLD29
P34/FLD28
P33/FLD27
P32/FLD26
P31/FLD25
P30/FLD24
P85/RTP0/FLD37
P6
1
/CNTR
0
/CNTR
2
P4
5
/T
1OUT
X
IN
X
OUT
Vcc
P4
6
/T
3OUT
Vss
P1
0
/FLD
16
P0
1
/FLD
9
P0
2
/FLD
10
P4
7
/INT
2
P84/FLD36
P7
4
/AN
4
P7
3
/AN
3
P7
2
/AN
2
Note: In the mask option type P, INT3 and CNTR1 cannot be used.
(Note)