ChipFind - документация

Электронный компонент: M38B51EFXXXFP

Скачать:  PDF   ZIP

Document Outline

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
To all our customers
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.
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
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
Fig. 1 Pin Configuration of M38B57MC-XXXFP
Package type : 80P6N-A
80-pin plastic-molded QFP
PIN CONFIGURATION (TOP VIEW)
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
P6
5
/S
STB1
/AN
11
P6
4
/INT
4
/S
BUSY1
/AN
10
M38B57MC-XXXFP
P6
0
/CNTR
1
P6
3
/AN
9
P6
2
/S
RDY1
/AN
8
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
V
EE
P7
5
/AN
5
P7
6
/AN
6
P7
7
/AN
7
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
P8
7
/PWM
0
/FLD
39
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
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
P8
4
/FLD
36
P7
4
/AN
4
P7
3
/AN
3
P7
2
/AN
2
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.
PRELIMINAR
Y
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
2
PRELIMINAR
Y
Notice: This is not a final specification.
Some parametric limits are subject to change.
Fig. 2 Functional Block Diagram
FUNCTIONAL BLOCK DIAGRAM (Package : 80P6N-A)
FUNCTIONAL BLOCK
Port P0(8)
8
Port P1(8)
8
Port P2(8)
8
Port P3(8)
8
Port P4(8)
7
Port P5(8)
8
Port P6(6)
6
Port P7(8)
8
Port P8(8)
8
Port P9(2)
2
System clock generation
X
IN
-X
OUT
(main-clock)
X
CIN
-X
COUT
(sub-clock)
Timers
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)
A-D converter
(10-bit
!
12 channel)
CPU core
Watchdog timer
ROM
RAM
Build-in peripheral functions
Memory
I/O ports
PWM0(14-bit)
PWM1(8-bit)
Serial I/O
Serial I/O1(Clock-synchronized)
(256 byte automatic transfer)
Serial I/O2
(Clock-synchronized or UART)
FLD display function
40 control pins
(36 high-breakdown voltage ports)
Interrupt interval
determination function
1
Buzzer output
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
3
PRELIMINAR
Y
Notice: This is not a final specification.
Some parametric limits are subject to change.
PIN DESCRIPTION
Table 1 Pin Description (1)
Pin
Name
Function
V
CC
, V
SS
Power source
Apply voltage of 4.05.5 V to V
CC
,
and 0 V to V
SS
.
V
EE
Pull-down
Apply voltage supplied to pull-down resistors of ports P0, P1, and P3.
power source
V
REF
Reference
Reference voltage input pin for A-D converter.
voltage
AV
SS
Analog power
Analog power source input pin for A-D converter.
source
Connect to V
SS
.
______
RESET
Reset input
Reset input pin for active "L."
X
IN
Clock input
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.
P0
0
/FLD
8
I/O port P0
8-bit I/O port.
FLD automatic display
P0
7
/FLD
15
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
8-bit output port.
FLD automatic display
P1
7
/FLD
23
A pull-down resistor is built in between port P1 and the V
EE
pin.
pins
High-breakdown-voltage P-channel open-drain output structure.
At reset, this port is set to V
EE
level.
P2
0
/B
UZ02
/
I/O port P2
8-bit I/O port with the same function as port P0.
FLD automatic display
FLD
0
Low-voltage input level.
pins
P2
7
/FLD
7
High-breakdown-voltage P-channel open-drain output structure.
Buzzer output pin (P2
0
)
P3
0
/FLD
24
Output port P3
8-bit output port.
FLD automatic display
P3
7
/FLD
31
A pull-down resistor is built in between port P3 and the V
EE
pin.
pins
High-breakdown-voltage P-channel open-drain output structure.
At reset, this port is set to V
EE
level.
P4
0
/INT
0
,
I/O port P4
7-bit I/O port with the same function as port P0.
Interrupt input pins
P4
1
/INT
1
,
CMOS compatible input level.
P4
2
/INT
3
N-channel open-drain output structure.
P4
3
/B
UZ01
Buzzer output pin
P4
4
/PWM
1
PWM output pin
(Timer output pin)
P4
5
/T
1OUT
,
Timer output pin
P4
6
/T
3OUT
P4
7
/INT
2
Input port P4
1-bit input port.
Interrupt input pin
CMOS compatible input level.
Function except a port function
X
OUT
Clock output
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
4
PRELIMINAR
Y
Notice: This is not a final specification.
Some parametric limits are subject to change.
Table 2 Pin Description (2)
Function except a port function
Pin
Name
Function
P5
0
/S
IN1
,
I/O port P5
8-bit CMOS I/O port with the same function as port P0.
Serial I/O1 function pins
P5
1
/S
OUT1
,
CMOS compatible input level.
P5
2
/S
CLK11
,
CMOS 3-state output structure.
P5
3
/S
CLK12
P5
4
/R
X
D,
Serial I/O2 function pins
P5
5
/T
X
D,
P5
6
/S
CLK21
,
________
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.
Timer input pin
CMOS compatible input level.
N-channel open-drain output structure.
P6
1
/CNTR
0
/
5-bit CMOS I/O port with the same function as port P0.
Timer I/O pin
CNTR
2
CMOS compatible input level.
________
P6
2
/S
RDY1
/
CMOS 3-state output structure.
Serial I/O1 function pin
AN
8
A-D conversion input pin
P6
3
/AN
9
A-D conversion input pin
P6
4
/INT
4
/
Serial I/O1 function pin
S
BUSY1
/AN
10
,
A-D conversion input pin
P6
5
/S
STB1
/
Interrupt input pin (P6
4
)
AN
11
P7
0
/AN
0
I/O port P7
8-bit CMOS I/O port with the same function as port P0.
A-D conversion input pin
P7
7
/AN
7
CMOS compatible input level.
CMOS 3-state output structure.
P8
0
/FLD
32
I/O port P8
4-bit I/O port with the same function as port P0.
FLD automatic display pins
P8
3
/FLD
35
Low-voltage input level.
High-breakdown-voltage P-channel open-drain output structure.
P8
4
/FLD
36
4-bit CMOS I/O port with the same function as port P0.
P8
5
/RTP
0
/
Low-voltage input level.
FLD automatic display pins
FLD
37,
P8
6
/RTP
1
/
FLD
38
P8
7
/PWM
0
/
FLD automatic display pins
FLD
39
14-bit PWM output
P9
0
/X
CIN
,
I/O port P9
2-bit CMOS I/O port with the same function as port P0.
I/O pins for sub-clock generating
P9
1
/X
COUT
CMOS compatible input level.
circuit
(connect a ceramic resona-
CMOS 3-state output structure.
tor or a quarts-crystal oscillator)