MITSUBISHI MICROCOMPUTERS
7513 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
qSerial
I/O1 .................... 8-bit
✕
1 (UART or Clock-synchronized)
qSerial
I/O2 ................................... 8-bit
✕
1 (Clock-synchronized)
qPWM
output .................................................................... 8-bit
✕
1
qA-D
converter ............................................... 10-bit
✕
8 channels
qD-A
converter ................................................. 8-bit
✕
2 channels
qLCD
drive control circuit
Bias ................................................................................... 1/2, 1/3
Duty ........................................................................... 1/2, 1/3, 1/4
Common output .......................................................................... 4
Segment output ........................................................................ 40
q2
Clock generating circuits
(connect to external ceramic resonator or quartz-crystal oscillator)
qWatchdog
timer ............................................................ 14-bit
✕
1
qPower
source voltage ................................................ 2.2 to 5.5 V
qPower
dissipation
In high-speed mode .......................................................... 40 mW
(at 8 MHz oscillation frequency, at 5 V power source voltage)
In low-speed mode ............................................................ 60
µW
(at 32 kHz oscillation frequency, at 3 V power source voltage)
qOperating
temperature range................................... – 20 to 85°C
DESCRIPTION
The 7513 group is the 8-bit microcomputer based on the 740 fam-
ily core technology.
The 7513 group has the LCD drive control circuit, the A-D/D-A
converter, the UART, and the PWM as additional functions.
The various microcomputers in the 7513 group include variations
of internal memory size and packaging. For details, refer to the
section on part numbering.
For details on availability of microcomputers in the 7513 group,
refer to the section on group expansion.
FEATURES
qBasic
machine-language instructions ...................................... 71
qThe
minimum instruction execution time ........................... 0.5 µs
(at 8MHz oscillation frequency)
qMemory
size
ROM ............................................................... 32 K to 60 K bytes
RAM ............................................................... 1024 to 2048 bytes
qProgrammable
input/output ports ............................................ 55
qOutput
port ................................................................................. 8
qInput
port .................................................................................... 1
qInterrupts
................................................. 17 sources, 16 vectors
(includes key input interrupt)
qTimers
........................................................... 8-bit
✕
3, 16-bit
✕
2
APPLICATIONS
Camera, Wireless phone, etc.
71
70
69
68
67
66
65
64
63
62
61
60
59
SEG
9
SEG
8
SEG
7
SEG
6
SEG
5
SEG
4
SEG
3
SEG
2
SEG
1
SEG
0
V
CC
V
REF
AV
SS
COM
3
COM
2
COM
1
COM
0
V
L3
V
L2
C
2
80
79
78
77
76
75
74
73
72
58
57
56
55
54
53
52
51
SEG
10
SEG
11
SEG
12
SEG
13
SEG
14
SEG
15
SEG
16
SEG
17
P3
0
/SEG
18
P3
1
/SEG
19
P3
2
/SEG
20
P3
3
/SEG
21
P3
4
/SEG
22
P3
5
/SEG
23
P3
6
/SEG
24
P3
7
/SEG
25
P0
0
/SEG
26
P0
1
/SEG
27
P0
2
/SEG
28
P0
3
/SEG
29
P0
4
/SEG
30
P0
5
/SEG
31
P0
6
/SEG
32
P0
7
/SEG
33
P1
0
/SEG
34
P1
1
/SEG
35
P1
2
/SEG
36
P1
3
/SEG
37
P1
4
/SEG
38
P1
5
/SEG
39
PIN CONFIGURATION (TOP VIEW)
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
M37513EFFS
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
P1
6
P1
7
P2
0
P2
1
P2
2
P2
3
P2
4
P2
5
P2
6
P2
7
V
SS
X
OUT
X
IN
X
COUT
X
CIN
RESET
P7
0
/INT
0
P7
1
P7
2
P7
3
Package type : 100D0 (Window type ceramic LCC)
Fig. 1 M37513EFFS pin configuration
C
1
V
L1
P6
7
/AN
7
P6
6
/AN
6
P6
5
/AN
5
P6
4
/AN
4
P6
3
/S
CLK22
/AN
3
P6
2
/S
CLK21
/AN
2
P6
1
/S
OUT2
/AN
1
P6
0
/S
IN2
/AN
0
P5
7
/DA
2
P5
6
/DA
1
P5
5
/CNTR
1
P5
4
/CNTR
0
P5
3
/RTP
1
P5
2
/RTP
0
P5
1
/PWM
1
P5
0
/PWM
0
P4
7
/S
RDY1
P4
6
/S
CLK1
P4
5
/T
X
D
P4
4
/R
X
D
P4
3
/φ/T
OUT
P4
2
/INT
2
P4
1
/INT
1
P4
0
/ADT
P7
7
P7
6
P7
5
P7
4
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
4
6
7
8
2
3
1
5
MITSUBISHI MICROCOMPUTERS
7513 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN CONFIGURATION (TOP VIEW)
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
75
74
SEG
12
SEG
11
SEG
10
SEG
9
SEG
8
SEG
7
SEG
6
SEG
5
SEG
4
SEG
3
SEG
2
SEG
1
SEG
0
V
C C
V
REF
AV
SS
COM
3
COM
2
COM
1
COM
0
V
L3
V
L2
C
2
C
1
V
L1
53
52
51
SEG
13
SEG
14
SEG
15
SEG
16
SEG
17
P3
0
/SEG
18
P3
1
/SEG
19
P3
2
/SEG
20
P3
3
/SEG
21
P3
4
/SEG
22
P3
5
/SEG
23
P3
6
/SEG
24
P3
7
/SEG
25
P0
0
/SEG
26
P0
1
/SEG
27
P0
2
/SEG
28
P0
3
/SEG
29
P0
4
/SEG
30
P0
5
/SEG
31
P0
6
/SEG
32
P0
7
/SEG
33
P1
0
/SEG
34
P1
1
/SEG
35
P1
2
/SEG
36
P1
3
/SEG
37
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
50
49
48
47
46
45
44
43
42
41
M37513M8-XXXGP
M37513M8-XXXHP
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
P1
4
/SEG
38
P1
5
/SEG
39
P1
6
P1
7
P2
0
P2
1
P2
2
P2
3
P2
4
P2
5
P2
6
P2
7
V
SS
X
OUT
X
IN
X
COUT
X
CIN
RESET
P7
0
/INT
0
P7
1
P7
2
P7
3
P7
4
P7
5
P7
6
Package type : GP........ 100P6Q-A (100-pin plastic-molded LQFP)
Package type : HP ........ 100PFB-A (100-pin plastic-molded TQFP)
Fig. 2 M37513M8-XXXGP/M37513M8-XXXHP pin configuration
P6
7
/AN
7
P6
6
/AN
6
P6
5
/AN
5
P6
4
/AN
4
P6
3
/S
CL K22
/AN
3
P6
2
/S
CL K21
/AN
2
P6
1
/S
OUT2
/AN
1
P6
0
/S
IN2
/AN
0
P5
7
/DA
2
P5
6
/DA
1
P5
5
/CNTR
1
P5
4
/CNTR
0
P5
3
/RTP
1
P5
2
/RTP
0
P5
1
/PWM
1
P5
0
/PWM
0
P4
7
/S
RDY1
P4
6
/S
CL K1
P4
5
/T
X
D
P4
4
/R
X
D
P4
3
/φ/T
OUT
P4
2
/INT
2
P4
1
/INT
1
P4
0
/ADT
P7
7
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
10
1
2
3
4
5
6
7
8
9
2
FUNCTIONAL BLOCK DIAGRAM
Main clock input
Reset input
(5V)
(0V)
V
SS
V
CC
RESET
Main clock output
X
IN
X
OUT
X
COUT
φ
Key input/key-on wake-up interrupt
X
CIN
X
CIN
X
COUT
V
REF
AV
SS
INT
1,
INT
2
Fig. 3 Functional block diagram
Data bus
C P U
A
ROM
X
Y
S
PC
H
Timer X(16)
Timer Y(16)
D-A2
D-A1
Timer 1(8)
Timer 2(8)
Timer 3(8)
PS
PC
L
LCD display
RAM
(20 bytes)
RAM
V
L1
C
1
C
2
V
L2
V
L3
LCD drive
control circuit
COM
0
COM
1
COM
2
COM
3
A-D converter
(10)
PWM(8)
T
OUT
DA
2
DA
1
CNTR
0
,CNTR
1
ADT
P5(8)
P4(8)
P3(8)
P2(8)
Clock generating circuit
X
CIN
Sub-clock input
X
COUT
φ
Sub-clock output
Watchdog timer
Reset
Real time port function
SI/O1 (8)
SEG
0
SEG
1
SEG
2
SEG
3
SEG
4
SEG
5
SEG
6
SEG
7
SEG
8
SEG
9
SEG
10
SEG
11
SEG
12
SEG
13
SEG
14
SEG
15
SEG
16
SEG
17
INT
0
SI/O2(8)
P7(8)
P6(8)
P1(8)
P0(8)
Sub-clock input
I/O port P7
I/O port P6
I/O port
P5
I/O port P4
Output port P3
Sub-clock output
I/O port
P2
I/O port
P1
I/O port
P0
MITSUBISHI MICROCOMPUTERS
7513 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
3
MITSUBISHI MICROCOMPUTERS
7513 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Table 1 Pin description (1)
Pin
V
CC
, V
SS
V
REF
AV
SS
Name
Power source
Analog refer-
ence voltage
Analog power
source
Reset input
Clock input
Clock output
LCD power
source
Charge-pump
capacitor pin
Common output
Function
•Apply voltage of 2.2 V to 5.5 V to V
CC
, and 0 V to V
SS
.
•Reference voltage input pin for A-D converter and D-A converter.
•GND input pin for A-D converter and D-A converter.
•Connect to V
SS
.
•Reset input pin for active “L”.
•Input and output pins for the main clock generating circuit.
•Connect a ceramic resonator or a quartz-crystal oscillator between the X
IN
and X
OUT
pins to set
the oscillation frequency.
•If an external clock is used, connect the clock source to the X
IN
pin and leave the X
OUT
pin open.
V
L1
–V
L3
C
1
, C
2
COM
0
–COM
3
•Input 0
≤
V
L1
≤
V
L2
≤
V
L3
≤
V
CC
voltage.
•Input 0 – V
L3
voltage to LCD.
•External capacitor pins for a voltage multiplier (3 times) of LCD contorl.
•LCD common output pins.
•COM
2
and COM
3
are not used at 1/2 duty ratio.
•COM
3
is not used at 1/3 duty ratio.
SEG
0
–SEG
17
P0
0
/SEG
26
–
P0
7
/SEG
33
Segment output
I/O port P0
•LCD segment output pins.
•8-bit I/O port.
•CMOS compatible input level.
•CMOS 3-state output structure.
•Pull-up control is enabled.
•I/O direction register allows each 8-bit pin to be pro-
grammed as either input or output.
P1
0
/SEG
34
–
P1
5
/SEG
39
I/O port P1
•6-bit I/O port with same function as port P0.
•CMOS compatible input level.
•CMOS 3-state output structure.
•Pull-up control is enabled.
•I/O direction register allows each 6-bit pin to be pro-
grammed as either input or output.
P1
6
, P1
7
•2-bit I/O port.
•CMOS compatible input level.
•CMOS 3-state output structure.
•I/O direction register allows each pin to be individually programmed as either input or output.
P2
0
– P2
7
I/O port P2
•Pull-up control is enabled.
•8-bit I/O port with same function as P1
6
and P1
7
.
•CMOS compatible input level.
•CMOS 3-state output structure.
•Pull-up control is enabled.
P3
0
/SEG
18
–
P3
7
/SEG
25
Output port P3
•8-bit output port with same function as port P0.
•CMOS 3-state output structure.
•Port output control is enabled.
•LCD segment output pins
•Key input (key-on wake-up) interrupt
input pins
•LCD segment output pins
Function except a port function
RESET
X
IN
X
OUT
4
MITSUBISHI MICROCOMPUTERS
7513 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Table 2 Pin description (2)
Pin
P4
0
/ADT
Name
I/O port P4
Function
•1-bit I/O port with same function as P1
6
and P1
7
.
•CMOS compatible input level.
•N-channel open-drain output structure.
P4
1
/INT
1
,
P4
2
/INT
2
P4
3
/φ/T
OUT
P4
4
/R
X
D,
P4
5
/T
X
D,
P4
6
/S
CLK1
,
P4
7
/S
RDY1
P5
0
/PWM
0
,
P5
1
/PWM
1
P5
2
/RTP
0
,
P5
3
/RTP
1
P5
4
/CNTR
0
,
P5
5
/CNTR
1
P5
6
/DA
1
,
P5
7
/DA
2
P6
0
/AN
0
/S
IN2,
I/O port P6
P6
1
/AN
1
/S
OUT2,
P6
2
/AN
2
/S
CLK21,
P6
3
/AN
3
/S
CLK22
P6
4
/AN
4
–
P6
7
/AN
7
P7
0
/INT
0
P7
1
–P7
7
Input port P7
I/O port P7
•1-bit I/O port.
•CMOS compatible input level.
•7-bit I/O port with same function as P1
6
and P1
7
.
•CMOS compatible input level.
•N-channel open-drain output structure.
X
COUT
X
CIN
Sub-clock output
Sub-clock input
•Sub-clock generating circuit I/O pins.
(Connect a resonator. External clock cannot be used.)
•8-bit I/O port with same function as P1
6
and P1
7
.
•CMOS compatible input level.
•CMOS 3-state output structure.
•Pull-up control is enabled.
•A-D conversion input pins
•Interrupt input pin
•7-bit I/O port with same function as P1
6
and P1
7
.
•CMOS compatible input level.
•CMOS 3-state output structure.
•Pull-up control is enabled.
•φ clock output pin
•Timer 2 output pin
•Serial I/O1 I/O pins
Function except a port function
•A-D trigger input pin
•Interrupt input pin
•Interrupt input pins
I/O port P5
•8-bit I/O port with same function as P1
6
and P1
7
.
•CMOS compatible input level.
•CMOS 3-state output structure.
•Pull-up control is enabled.
•PWM function pins
•Real time port function pins
•Timer X, Y function pins
•D-A conversion output pins
•A-D conversion input pins
•Serial I/O2 I/O pins
5