首页 > 器件类别 >

M38B45M5H-XXXXFP

SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER   

厂商名称:Mitsubishi(日本三菱)

厂商官网:http://www.mitsubishielectric.com/semiconductors/

下载文档
文档预览
MITSUBISHI MICROCOMPUTERS
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
DESCRIPTION
The 38B4 group is the 8-bit microcomputer based on the 740 family
core technology.
The 38B4 group has six 8-bit timers, a 16-bit timer, a fluorescent
display automatic display circuit, 12-channel 10-bit A-D converter, a
serial I/O with automatic transfer function, which are available for
controlling musical instruments and household appliances.
FEATURES
Basic machine-language instructions ....................................... 71
Minimum instruction execution time ................................. 0.48
µs
(at 4.2 MHz oscillation frequency)
Memory size
ROM ............................................. 48K to 60K bytes
RAM .......................................... 1024 to 2048 bytes
Programmable input/output ports ............................................. 51
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)
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
Clock generating circuit ...................................... Built-in 2 circuits
(connect to external ceramic resonator or quartz-crystal
oscillator)
Power source voltage
In high-speed mode ................................................... 4.0 to 5.5 V
(at 4.2 MHz oscillation frequency)
2.7 to 5.5 V
(at 2.0 MHz oscillation frequency)
In middle-speed mode ................................................ 2.7 to 5.5 V
(at 4.2 MHz oscillation frequency)
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.2 MHz oscillation frequency)
In low-speed mode ............................................................. 60 µW
(at 32 kHz oscillation frequency, at 3 V power source voltage)
In stop mode ......................................................................... 1 µA
(at clock stop)
Operating temperature range ................................... –20 to 85 °C
APPLICATION
Musical instruments, VCR, household appliances, etc.
PIN CONFIGURATION (TOP VIEW)
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
1
/FLD
9
P0
2
/FLD
10
P0
3
/FLD
11
P0
4
/FLD
12
P0
5
/FLD
13
P0
6
/FLD
14
P0
7
/FLD
15
P1
0
/FLD
16
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
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
P5
7
/S
RDY2/
S
CLK22
P5
6
/S
CLK21
P5
5
/TxD
P5
4
/RxD
P5
3
/S
CLK12
P5
2
/S
CLK11
P5
1
/S
OUT1
P5
0
/S
IN1
AV
SS
V
REF
P6
5
/S
STB1
/AN
11
P6
4
/INT
4
/S
BUSY1
/AN
10
P6
3
/AN
9
P6
2
/S
RDY1
/AN
8
P7
7
/AN
7
P7
6
/AN
6
46
45
44
43
42
41
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
M38B4xMxH-XXXXFP
P3
0
/FLD
24
P3
1
/FLD
25
P3
2
/FLD
26
P3
3
/FLD
27
P3
4
/FLD
28
P3
5
/FLD
29
P3
6
/FLD
30
P3
7
/FLD
31
P8
0
/FLD
32
P8
1
/FLD
33
P8
2
/FLD
34
P8
3
/FLD
35
V
EE
P8
4
/FLD
36
P8
5
/RTP
0
/FLD
37
P8
6
/RTP
1
/FLD
38
Note:
In the mask option type P, INT
3
and CNTR
1
cannot be used.
Fig. 1 Pin configuration of M38B4xMxH-XXXXFP
P7
5
/AN
5
P7
4
/AN
4
P7
3
/AN
3
P7
2
/AN
2
P7
1
/AN
1
P7
0
/AN
0
P6
1
/CNTR
0
/CNTR
2
(Note)
P6
0
/CNTR
1
P4
7
/INT
2
RESET
P9
1
/X
COUT
P9
0
/X
CIN
V
SS
X
IN
X
OUT
V
CC
P4
6
/T
3OUT
P4
5
/T1
OUT
P4
4
/PWM
1
P4
3
/B
UZ01
(Note)
P4
2
/INT
3
P4
1
/INT
1
P4
0
/INT
0
P8
7
/PWM
0
/FLD
39
Package type : 80P6N-A
80-pin plastic-molded QFP
2
FUNCTIONAL BLOCK DIAGRAM (Package : 80P6N-A)
8
8
8
1
7
Port P4(8)
Port P3(8)
Port P2(8)
Port P1(8)
I/O ports
8
FUNCTIONAL BLOCK
Port P0(8)
Fig. 2 Functional block diagram
Build-in peripheral functions
Timers
System clock generation
A-D converter
(10-bit 5 12 channel)
Serial I/O
X
IN
-X
OUT
(main-clock)
X
CIN
-X
COUT
(sub-clock)
Serial I/O1(Clock-synchronized)
(256 byte automatic transfer)
Serial I/O2
(Clock-synchronized or UART)
Timer X(16-bit)
Timer 1(8-bit)
Timer 2(8-bit)
Timer 3(8-bit)
Timer 4(8-bit)
Timer 5(8-bit)
Timer 6(8-bit)
PWM1(8-bit)
Memory
CPU core
ROM
PWM0(14-bit)
Buzzer output
Watchdog timer
RAM
Interrupt interval
determination function
FLD display function
40 control pins
(36 high-breakdown
voltage ports)
Port P5(8)
6
Port P6(6)
Port P7(8)
8
Port P8(8)
8
Port P9(2)
2
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
38B4 Group
8
MITSUBISHI MICROCOMPUTERS
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Table 1 Pin description (1)
Pin
V
CC
, V
SS
V
EE
V
REF
AV
SS
RESET
X
IN
Name
Power source
Pull-down
power source
Reference
voltage
Analog power
source
Reset input
Clock input
Function
• Apply voltage of 4.0–5.5 V to V
CC
,
and 0 V to V
SS
.
• Apply voltage supplied to pull-down resistors of ports P0, P1, and P3.
• Reference voltage input pin for A-D converter.
• Analog power source input pin for A-D converter.
• Connect to V
SS
.
• Reset input pin for active “L”.
• Input and output pins for the main clock generating circuit.
• Feedback resistor is built in between X
IN
pin and X
OUT
pin.
• Connect a ceramic resonator or quartz-crystal oscillator between the X
IN
and X
OUT
pins to set the
oscillation frequency.
• When an external clock is used, connect the clock source to the X
IN
pin and leave the X
OUT
pin open.
• The clock is used as the oscillating source of system clock.
• 8-bit I/O port.
• FLD automatic display
• I/O direction register allows each pin to be individually programmed as either pins
input or output.
• At reset, this port is set to input mode.
• A pull-down resistor is built in between port P0 and the V
EE
pin.
• CMOS compatible input level.
• High-breakdown-voltage P-channel open-drain output structure.
• At reset, this port is set to V
EE
level.
P1
0
/FLD
16
– Output port P1
P1
7
/FLD
23
• 8-bit output port.
• A pull-down resistor is built in between port P1 and the V
EE
pin.
• High-breakdown-voltage P-channel open-drain output structure.
• At reset, this port is set to V
EE
level.
• 8-bit I/O port with the same function as port P0.
• Low-voltage input level.
• High-breakdown-voltage P-channel open-drain output structure.
• 8-bit output port.
• A pull-down resistor is built in between port P3 and the V
EE
pin.
• High-breakdown-voltage P-channel open-drain output structure.
• At reset, this port is set to V
EE
level.
• 7-bit I/O port with the same function as port P0.
• CMOS compatible input level
• N-channel open-drain output structure.
• FLD automatic display
pins
Function except a port function
X
OUT
Clock output
P0
0
/FLD
8
P0
7
/FLD
15
I/O port P0
P2
0
/B
UZ02
/
FLD
0
P2
7
/FLD
7
I/O port P2
• FLD automatic display
pins
• Buzzer output pin (P2
0
)
• FLD automatic display
pins
P3
0
/FLD
24
– Output port P3
P3
7
/FLD
31
P4
0
/INT
0
,
P4
1
/INT
1
,
P4
2
/INT
3
P4
3
/B
UZ01
P4
4
/PWM
1
P4
5
/T
1OUT
,
P4
6
/T
3OUT
P4
7
/INT
2
I/O port P4
• Interrupt input pins
In the mask option type P,
INT
3
cannot be used.
• Buzzer output pin
• PWM output pin
(Timer output pin)
• Timer output pin
Input port P4
• 1-bit input port.
• CMOS compatible input level.
• Interrupt input pin
3
MITSUBISHI MICROCOMPUTERS
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Table 2 Pin description (2)
Pin
P5
0
/S
IN1
,
P5
1
/S
OUT1
,
P5
2
/S
CLK11
,
P5
3
/S
CLK12
P5
4
/R
X
D,
P5
5
/T
X
D,
P5
6
/S
CLK21
,
P5
7
/S
RDY2
/
S
CLK22
P6
0
/CNTR
1
I/O port P6
Name
I/O port P5
Function
• 8-bit CMOS I/O port with the same function as port P0.
• CMOS compatible input level.
• CMOS 3-state output structure.
• Serial I/O2 function pins
Function except a port function
• Serial I/O1 function pins
• 1-bit I/O port with the same function as port P0.
• CMOS compatible input level.
• N-channel open-drain output structure.
• 5-bit CMOS I/O port with the same function as port P0.
• CMOS compatible input level.
• CMOS 3-state output structure.
• Timer input pin
In the mask option type P,
CNTR
1
cannot be used.
• Timer I/O pin
• Serial I/O1 function pin
• A-D conversion input pin
• A-D conversion input pin
• Dimmer signal output pin
• Serial I/O1 function pin
• A-D conversion input pin
• Interrupt input pin (P6
4
)
P6
1
/CNTR
0
/
CNTR
2
P6
2
/S
RDY1
/
AN
8
P6
3
/AN
9
P6
4
/INT
4
/
S
BUSY1
/AN
10
,
P6
5
/S
STB1
/
AN
11
P7
0
/AN
0
P7
7
/AN
7
P8
0
/FLD
32
– I/O port P8
P8
3
/FLD
35
P8
4
/FLD
36
P8
5
/RTP
0
/
FLD
37,
P8
6
/RTP
1
/
FLD
38
P8
7
/PWM
0
/
FLD
39
P9
0
/X
CIN
,
P9
1
/X
COUT
I/O port P9
I/O port P7
• 8-bit CMOS I/O port with the same function as port P0.
• CMOS compatible input level.
• CMOS 3-state output structure.
• 4-bit I/O port with the same function as port P0.
• Low-voltage input level.
• High-breakdown-voltage P-channel open-drain output structure.
• 4-bit CMOS I/O port with the same function as port P0.
• Low-voltage input level.
• CMOS 3-state output structure
• A-D conversion input pin
• FLD automatic display pins
• FLD automatic display pins
• Real time port output
• FLD automatic display pins
• 14-bit PWM output
• 2-bit CMOS I/O port with the same function as port P0.
• CMOS compatible input level.
• CMOS 3-state output structure.
I/O pins for sub-clock generating
circuit (connect a ceramic resona-
tor or a quarts-crystal oscillator)
4
MITSUBISHI MICROCOMPUTERS
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PART NUMBERING
Product
M38B4
9 M F H
-
XXXX FP
Package type
FP : 80P6N-A package
ROM number
High-breakdown voltage pull-down option
Regarding option contents, refer to section
“MASK OPTION OF PULL-DOWN
RESISTOR”.
ROM size
1 : 4096 bytes
2 : 8192 bytes
3 : 12288 bytes
4 : 16384 bytes
5 : 20480 bytes
6 : 24576 bytes
7 : 28672 bytes
8 : 32768 bytes
9 : 36864 bytes
A : 40960 bytes
B : 45056 bytes
C : 49152 bytes
D : 53248 bytes
E : 57344 bytes
F : 61440 bytes
The first 128 bytes and the last 2 bytes of ROM
are reserved areas ; they cannot be used for
users.
Memory type
M : Mask ROM version
E : EPROM or One Time PROM version
RAM size
0 : 192 bytes
1 : 256 bytes
2 : 384 bytes
3 : 512 bytes
4 : 640 bytes
5 : 768 bytes
6 : 896 bytes
7 : 1024 bytes
8 : 1536 bytes
9 : 2048 bytes
Fig. 3 Part numbering
5
查看更多>
大家给推荐一款mini pc
要求: 1、Intel平台 可以安装Linux系统别解决驱动问题 2、最好是支持多千兆网卡 3、一...
wanghongyang 淘e淘
求帮助:CLKMD在CCS中为何不变
用 STM #9007H, CLKMD CCS2.2中的寄存器观察窗口中的CLKMD值总是不变,是...
johnners 模拟与混合信号
【NXP Rapid IoT评测】简单上手
看到大家陆陆续续开箱自己的 快速物联网原型套件SLN-RPK-NODE ,我也是迫不及待,...
jj1989 RF/无线
光电开关的检测
  1. 光电开关的结构   光电开关由红外线发射管、接收管构成。常见的光电开关分透射式...
qwqwqw2088 电源技术
有哪些TI的运放适合做前级
本帖最后由 dontium 于 2015-1-23 11:35 编辑 有哪些TI的运放适合做前级...
sw3926 模拟与混合信号
免费申请阅读测评《计算机视觉之PyTorch数字图像处理》
点此 免费申请 申请时间:即日起~11月7日 《计...
eric_wang 嵌入式系统
热门器件
热门资源推荐
器件捷径:
L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 LA LB LC LD LE LF LG LH LI LJ LK LL LM LN LO LP LQ LR LS LT LU LV LW LX LY LZ M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 MA MB MC MD ME MF MG MH MI MJ MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ N0 N1 N2 N3 N4 N5 N6 N7 N8 NA NB NC ND NE NF NG NH NI NJ NK NL NM NN NO NP NQ NR NS NT NU NV NX NZ O0 O1 O2 O3 OA OB OC OD OE OF OG OH OI OJ OK OL OM ON OP OQ OR OS OT OV OX OY OZ P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 PA PB PC PD PE PF PG PH PI PJ PK PL PM PN PO PP PQ PR PS PT PU PV PW PX PY PZ Q1 Q2 Q3 Q4 Q5 Q6 Q8 Q9 QA QB QC QE QF QG QH QK QL QM QP QR QS QT QV QW QX QY R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 RA RB RC RD RE RF RG RH RI RJ RK RL RM RN RO RP RQ RR RS RT RU RV RW RX RY RZ
需要登录后才可以下载。
登录取消