MITSUBISHI MICROCOMPUTERS
3819 Group
SINGLE-CHIP 8-BIT MICROCOMPUTER
DESCRIPTION
The 3819 group is a 8-bit microcomputer based on the 740 family
core technology.
The 3819 group has a flourescent display automatic display circuit
and an 16-channel 8-bit A-D converter as additional functions.
The various microcomputers in the 3819 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 3819 group, re-
fer to the section on group expansion.
FEATURES
qBasic
machine-language instructions ...................................... 71
qThe
minimum instruction execution time ......................... 0.48
µs
(at 8.4 MHz oscillation frequency)
qMemory
size .................................................................................
ROM ............................................. 4K to 60 K bytes
RAM ........................................... 192 to 2048 bytes
qProgrammable
input/output ports ............................................ 54
qHigh-breakdown-voltage
output ports ...................................... 52
qInterrupts
................................................. 20 sources, 16 vectors
qTimers
............................................................................. 8-bit
!
6
qSerial
I/O (Serial I/O1 has an automatic transfer function)
...................................................... 8-bit
!
3(clock-synchronized)
qPWM
output circuit ............... 8-bit
!
1(also functions as timer 6)
qA-D
converter ............................................... 8-bit
!
16 channels
qD-A
converter ................................................. 8-bit
!
1 channels
qZero
cross detection input ............................................ 1 channel
qFluorescent
display function
Segments ........................................................................ 16 to 42
Digits .................................................................................. 6 to 16
q2
Clock generating circuit
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 oscil-
lator)
qPower
source voltage
In high-speed mode .................................................. 4.0 to 5.5 V
(at 8.4 MHz oscillation frequency and high-speed selected)
In middle-speed mode ............................................... 2.8 to 5.5 V
(at 8.4 MHz oscillation frequency)
In low-speed mode .................................................... 2.8 to 5.5 V
(at 32 kHz oscillation frequency)
qPower
dissipation
In high-speed mode .......................................................... 35 mW
(at 8.4 MHz oscillation frequency)
In low-speed mode ............................................................ 60
µW
(at 3 V power source voltage and 32 kHz oscillation frequency )
qOperating
temperature range .................................... –10 to 85°C
APPLICATION
Musical Instruments, household appliance, etc.
PIN CONFIGURATION (TOP VIEW)
P9
0
/SEG
16
P9
1
/SEG
17
P9
2
/SEG
18
P9
3
/SEG
19
P9
4
/SEG
20
P9
5
/SEG
21
P9
6
/SEG
22
P9
7
/SEG
23
P3
0
/SEG
24
P3
1
/SEG
25
P3
2
/SEG
26
P3
3
/SEG
27
P3
4
/SEG
28
P3
5
/SEG
29
P3
6
/SEG
30
P3
7
/SEG
31
P0
0
/SEG
32
/DIG
0
P0
1
/SEG
33
/DIG
1
P0
2
/SEG
34
/DIG
2
P0
3
/SEG
35
/DIG
3
P0
4
/SEG
36
/DIG
4
P0
5
/SEG
37
/DIG
5
P0
6
/SEG
38
/DIG
6
P0
7
/SEG
39
/DIG
7
P1
0
/SEG
40
/DIG
8
P1
1
/SEG
41
/DIG
9
P1
2
/DIG
10
P1
3
/DIG
11
P1
4
/DIG
12
P1
5
/DIG
13
75
74
60
77
76
61
68
78
80
79
69
62
59
58
57
56
55
54
53
72
73
63
70
71
P8
7
/SEG
15
P8
6
/SEG
14
P8
5
/SEG
13
P8
4
/SEG
12
P8
3
/SEG
11
P8
2
/SEG
10
P8
1
/SEG
9
P8
0
/SEG
8
PA
7
/SEG
7
PA
6
/SEG
6
V
CC
PA
5
/SEG
5
PA
4
/SEG
4
PA
3
/SEG
3
PA
2
/SEG
2
PA
1
/SEG
1
PA
0
/SEG
0
V
EE
AV
SS
V
REF
67
66
65
64
52
51
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
M38197MA-XXXFP
42
41
40
39
38
37
36
35
34
33
32
31
P1
6
/DIG
14
P1
7
/DIG
15
P2
0
/DIG
16
P2
1
/DIG
17
P2
2
/DIG
18
P2
3
/DIG
19
P2
4
P2
5
P2
6
P2
7
V
SS
X
OUT
X
IN
PB
0
/X
COUT
PB
1
/X
CIN
RESET
P4
0
/INT
0
P4
1
P4
2
/INT
2
P4
3
/INT
3
21
20
12
19
22
23
24
25
26
27
18
17
11
10
P7
7
/AN
7
P7
6
/AN
6
P7
5
/AN
5
P7
4
/AN
4
P7
3
/AN
3
P7
2
/AN
2
P7
1
/AN
1
P7
0
/AN
0
PB
3
PB
2
/DA
P5
7
/S
RDY3
/AN
15
P5
6
/S
CLK3
/AN
14
P5
5
/S
OUT3
/AN
13
P5
4
/S
IN3
/AN
12
P5
3
/S
RDY2
/AN
11
P5
2
/S
CLK2
/AN
10
P5
1
/S
OUT2
/AN
9
P5
0
/S
IN2
/AN
8
P6
7
/S
RDY1
/CS/S
CLK12
P6
6
/S
CLK11
P6
5
/S
OUT1
P6
4
/S
IN1
P6
3
/CNTR
1
P6
2
/CNTR
0
P6
1
/PWM
P6
0
P4
7
/T3
OUT
P4
6
/T1
OUT
P4
5
/INT
1
/ZCR
P4
4
/INT
4
Package type : 100P6S-A
100-pin plastic-molded QFP
13
14
15
16
28
29
30
1
2
3
4
5
6
7
8
9
9 10 36 37
81 82 83 84 85 86 87 88
89 90 92 93 94 95 96 97 73 74 75 76 77 78 79 80
1 2 3 4 5 6 7 8
99
100
19 20 21 22 23 24 25 26
11 12 13 14 15 16 17 18
27 28 29 30 31 32 33 34
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3819 Group
I/O port PB
I/O port P8
I/O port PA
Output port P9
I/O port P7
AV
SS
V
REF
I/O port P6
I/O port P5
INT
0
PB (4)
P8 (8)
P7 (8)
PA (8)
P9 (8)
P6 (8)
P5 (8)
Zero cross
detection circuit
P4 (8)
Interrupt interval
determination
circuit
16
INT
3
, INT
4
X
CIN
INT
1
/ZCR
D-A
converter (8)
A-D
converter (8)
S I/O1(8)
S I/O2(8)
S I/O3(8)
INT
2
2
Output port P0
V
EE
92
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
FUNCTIONAL BLOCK DIAGRAM (Package : 100P6S-A)
Clock
input
X
IN
Reset input
RESET
(5 V)
V
CC
91
40
Clock
output
X
OUT
(0 V)
V
SS
Output port P1
Output port P2(4)
I/O port P2(4)
35
38
39
Data
bus
P0 (8)
P1 (8)
P2 (8)
Clock generating
circuit
ROM
RAM
A
X
Y
S
T3
OUT
PWM
CNTR
0
CNTR
1
FLD
automatic
display RAM
96 bytes
CPU
Timer 1 (8)
Timer 2 (8)
Timer 3 (8)
Timer 4 (8)
Timer 5 (8)
Timer 6 (8)
T1
OUT
FLD
automatic
display
controller
X
CIN
X
COUT
Sub-clock Sub-clock
input
output
PC
H
PC
L
PS
SI/O
automatic
transfer
controller
SI/O
automatic
transfer RAM
32 bytes
X
COUT
Local data
bus
P3 (8)
65 66 67 68 69 70 71 72
I/O port P4(6)
Input port P4(2)
Output port P3
MITSUBISHI MICROCOMPUTERS
3819 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Pin
V
CC
, V
SS
V
EE
V
REF
AV
SS
RESET
X
IN
Name
Power source
Pull-down
Power source
Analog reference
voltage
Analog power source
Reset input
Clock input
Function
•Apply voltage of 4.0 to 5.5 V to V
CC
, and 0 V to V
SS
.
•Applies voltage supplied to pull-down resistors of ports P0, P1, P2
0
–P2
3
, P3, and P9.
•Reference voltage input pin for A-D converter and D-A converter
•GND input pin for A-D converter and D-A converter
•Connect AV
SS
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 a quartz-crystal oscillator between the X
IN
pin and X
OUT
pin to
set oscillation frequency.
•If an external clock is used, connect the clock source to the X
IN
pin and leave the X
OUT
pin
open.
•This clock is used as the oscillating source of system clock.
•8-bit output port
•This port builds in pull-down resistor between
port P0 and the V
EE
pin.
•At reset this port is set to V
EE
level.
•The high-breakdown-voltage P-channel
open-drain
•8-bit output port with the same function as
port P0
•4-bit output port with the same function as
port P0
Function except a port function
X
OUT
Clock output
P0
0
/SEG
32
/
DIG
0
–P0
7
/
SEG
39
/DIG
7
Output port P0
FLD automatic display pins
P1
0
/SEG
40
/
DIG
8
–P1
7
/
DIG
15
P2
0
/DIG
16
–
P2
3
/DIG
19
Output port P1
FLD automatic display pins
Output port P2
FLD automatic display pins
P2
4
–P2
7
I/O port P2
•4-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.
•TTL input level
•CMOS 3-state output
•8-bit output port with the same function as
port P0
•2-bit input port
•CMOS compatible input level
FLD automatic display pins
P3
0
/SEG
24
–
P3
7
/SEG
31
P4
0
/INT
0
,
P4
5
/INT
1
/
ZCR
P4
2
/INT
2
–
P4
4
/INT
4
P4
1
P4
6
/T1
OUT
,
P4
7
/T3
OUT
Output port P3
Input port P4
External interrupt input pins
A zero cross detection circuit input pin (P4
5
)
I/O port P4
•6-bit CMOS I/O port with the same function
as ports P2
4
–P2
7
•CMOS compatible input level
•CMOS 3-state output
Timer output pins
3
MITSUBISHI MICROCOMPUTERS
3819 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION (Continued)
Pin
P5
0
/S
IN2
/AN
8
,
P5
1
/S
OUT2
/AN
9
,
P5
2
/S
CLK2
/AN
10
,
P5
3
/S
RDY2
/AN
11
P5
4
/S
IN3
/AN
12
,
P5
5
/S
OUT3
/AN
13
,
P5
6
/S
CLK3
/AN
14
,
P5
7
/S
RDY3
/AN
15
P6
0
P6
1
/PWM
P6
2
/CNTR
0
,
P6
3
/CNTR
1
P6
4
/S
IN1
,
P6
5
/S
OUT1
,
P6
6
/S
CLK11
,
P6
7
/S
RDY1
/CS/
S
CLK12
P7
0
/AN
0
–
P7
7
/AN
7
Name
Function
Function except a port function
Serial I/O2 function pins
A-D conversion input pins
I/O port P5
•8-bit CMOS I/O port with the same function
as ports P2
4
–P2
7
•CMOS compatible input level
•CMOS 3-state output
Serial I/O3 function pins
A-D conversion input pins
PWM output pin (Timer output pin)
I/O port P6
•8-bit CMOS I/O port with the same function
as ports P2
4
–P4
7
•CMOS compatible input level
•CMOS 3-state output
Timer input pins
Serial I/O1 function pins
I/O port P7
•8-bit CMOS I/O port with the same function
as ports P2
4
–P2
7
•CMOS compatible input level
•CMOS 3-state output
•8-bit I/O port with the same function as ports
P2
4
–P2
7
•CMOS compatible input level
•The high-breakdown-voltage P-channel
open-drain
•8-bit output port with the same function as
port P0
•8-bit I/O port with the same function as ports
P2
4
–P2
7
•CMOS compatible input level
•The high-breakdown voltage P-channel open-
drain
•4-bit CMOS I/O port with the same function
as ports P2
4
–P2
7
•CMOS compatible input level
•CMOS 3-state output
A-D conversion input pins
P8
0
/SEG
8
–
P8
7
/SEG
15
I/O port P8
P9
0
/SEG
16
–
P9
7
/SEG
23
Output port P9
FLD automatic display pins
PA
0
/SEG
0
–
PA
7
/SEG
7
I/O port PA
PB
0
/X
COUT
,
PB
1
/X
CIN
PB
2
/DA
PB
3
I/O port PB
I/O pins for sub-clock generating circuit (con-
nect a ceramic resonator or a quarts-crystal
oscillator)
D-A conversion output pin
4
MITSUBISHI MICROCOMPUTERS
3819 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PART NUMBERING
Product
M3819
7
M
A
XXX FP
Package type
FP : 100P6S-A package
FS : 100D0 package
ROM number
Omitted in some types.
ROM/PROM 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.
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
5