首页 > 器件类别 >

M38B50M8XXXFS

SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER

厂商名称:Renesas(瑞萨电子)

厂商官网:https://www.renesas.com/

下载文档
文档预览
To all our customers
Regarding the change of names mentioned in the document, such as Mitsubishi
Electric and Mitsubishi XX, to Renesas Technology Corp.
The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas
Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog
and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.)
Accordingly, although Mitsubishi Electric, Mitsubishi Electric Corporation, Mitsubishi
Semiconductors, and other Mitsubishi brand names are mentioned in the document, these names
have in fact all been changed to Renesas Technology Corp. Thank you for your understanding.
Except for our corporate trademark, logo and corporate statement, no changes whatsoever have been
made to the contents of the document, and these changes do not constitute any alteration to the
contents of the document itself.
Note : Mitsubishi Electric will continue the business operations of high frequency & optical devices
and power devices.
Renesas Technology Corp.
Customer Support Dept.
April 1, 2003
ARY
IMIN
REL
P
MITSUBISHI MICROCOMPUTERS
e.
n.
ang
atio
cific ct to ch
e
l sp ubje
fina
s
ot a its are
is n
his tric lim
T
me
ice:
Not e para
Som
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
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
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.
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.
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 ............................................ 512 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)
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 and low-speed selected)
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.
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
62
61
60
59
58
57
56
55
54
53
52
51
64
63
50
49
48
47
46
45
44
43
42
41
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
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
M38B57MC-XXXFP
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
4
5
6
7
8
9
10
2
3
11
12
Fig. 1 Pin Configuration of M38B57MC-XXXFP
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
P6
0
/CNTR
1
P4
7
/INT
2
RESET
P9
1
/X
COUT
P9
0
/X
CIN
Vss
X
IN
X
OUT
Vcc
P4
6
/T
3OUT
P4
5
/T
1OUT
P4
4
/PWM
1
P4
3
/B
UZ01
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
13
14
15
16
17
18
19
20
21
22
23
24
1
2
FUNCTIONAL BLOCK DIAGRAM (Package : 80P6N-A)
I/O ports
Port P1(8)
Port P2(8)
Port P3(8)
Port P4(8)
8
8
8
8
1
7
ARY
IMIN
L
PRE
FUNCTIONAL BLOCK
Fig. 2 Functional Block Diagram
.
.
tion hange
c
ifica
pec ject to
al s sub
a fin
e
not mits ar
is
i
This etric l
m
ice:
Not e para
om
S
Port P0(8)
Build-in peripheral functions
Timers
System clock generation
A-D converter
(10-bit
!
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
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
8
MITSUBISHI MICROCOMPUTERS
ARY
IMIN
L
PRE
.
.
tion hange
c
ifica
pec ject to
al s sub
a fin
e
not mits ar
is
i
This etric l
m
ice:
Not e para
om
S
38B5 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
______
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.
Function except a port function
RESET
X
IN
X
OUT
Clock output
• 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.
• I/O direction register allows each pin to be individually programmed as either
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.
• 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.
• FLD automatic display
pins
P0
0
/FLD
8
P0
7
/FLD
15
I/O port P0
P1
0
/FLD
16
– Output port P1
P1
7
/FLD
23
• FLD automatic display
pins
P2
0
/B
UZ02
/
FLD
0
P2
7
/FLD
7
I/O port P2
• 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
• 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
• 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
ARY
IMIN
L
PRE
.
.
tion hange
c
ifica
pec ject to
al s sub
a fin
e
not mits ar
is
i
This etric l
m
ice:
Not e para
om
S
38B5 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
,
________
Name
I/O port P5
• CMOS compatible input level.
Function
• 8-bit CMOS I/O port with the same function as port P0.
• CMOS 3-state output structure.
Function except a port function
• Serial I/O1 function pins
• Serial I/O2 function pins
P5
7
/S
RDY2
/
S
CLK22
P6
0
/CNTR
1
I/O port P6
• 1-bit I/O port with the same function as port P0.
• CMOS compatible input level.
• N-channel open-drain output structure.
P6
1
/CNTR
0
/
CNTR
2
________
• Timer input pin
• 5-bit CMOS I/O port with the same function as port P0.
• CMOS compatible input level.
• CMOS 3-state output structure.
• Timer I/O pin
• Serial I/O1 function pin
• A-D conversion input pin
• A-D conversion input pin
• Serial I/O1 function pin
• A-D conversion input pin
• Interrupt input pin (P6
4
)
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.
• A-D conversion input pin
• FLD automatic display pins
• FLD automatic display pins
• 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
查看更多>
热门器件
热门资源推荐
器件捷径:
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL CM CN CO CP CQ CR CS CT CU CV CW CX CY CZ D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF DG DH DI DJ DK DL DM DN DO DP DQ DR DS DT DU DV DW DX DZ
需要登录后才可以下载。
登录取消