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
MITSUBISHI MICROCOMPUTERS
3806 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
DESCRIPTION
The 3806 group is 8-bit microcomputer based on the 740 family
core technology.
The 3806 group is designed for controlling systems that require
analog signal processing and include two serial I/O functions, A-D
converters, and D-A converters.
The various microcomputers in the 3806 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 3806 group, re-
fer to the section on group expansion.
•
Clock generating circuit ....................... Internal feedback resistor
•
(connect to external ceramic resonator or quartz-crystal)
Memory expansion possible
Specification
Standard
(unit)
Minimum instruction
execution time
(µs)
Oscillation frequency
(MHz)
0.5
8
Extended operating
temperature version
0.5
8
4.0 to 5.5
32
–40 to 85
High-speed
version
0.4
10
2.7 to 5.5
40
–20 to 85
FEATURES
•
Basic machine-language instructions ....................................... 71
•
Memory size
•
•
•
•
•
•
•
ROM ................................................................ 12 K to 48 K bytes
RAM ................................................................. 384 to 1024 bytes
Programmable input/output ports ............................................. 72
Interrupts .................................................. 16 sources, 16 vectors
Timers ............................................................................. 8 bit
!
4
Serial I/O1 .................... 8-bit
!
1 (UART or Clock-synchronized)
Serial I/O2 .................................... 8-bit
!
1 (Clock-synchronized)
A-D converter .................................................. 8-bit
!
8 channels
D-A converter .................................................. 8-bit
!
2 channels
Power source voltage 3.0 to 5.5
(V)
Power dissipation
(mW)
32
Operating temperature –20 to 85
range
(°C)
APPLICATIONS
Office automation, VCRs, tuners, musical instruments, cameras,
air conditioners, etc.
PIN CONFIGURATION (TOP VIEW)
P3
0
P3
1
P3
2
/ONW
P3
3
/RESET
OUT
P3
4
/φ
P3
5
/SYNC
P3
6
/WR
P3
7
/RD
P0
0
/AD
0
P0
1
/AD
1
P0
2
/AD
2
P0
3
/AD
3
P0
4
/AD
4
P0
5
/AD
5
P0
6
/AD
6
P0
7
/AD
7
P1
0
/AD
8
P1
1
/AD
9
P1
2
/AD
10
P1
3
/AD
11
P1
4
/AD
12
P1
5
/AD
13
P1
6
/AD
14
P1
7
/AD
15
63
57
47
46
64
58
53
52
51
45
44
60
59
61
54
50
49
62
55
56
48
43
42
41
P8
7
P8
6
P8
5
P8
4
P8
3
P8
2
P8
1
P8
0
V
CC
V
REF
AV
SS
P6
7
/AN
7
P6
6
/AN
6
P6
5
/AN
5
P6
4
/AN
4
P6
3
/AN
3
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
11
12
19
20
13
15
17
21
22
23
10
14
16
18
24
1
3
4
5
7
2
6
8
9
40
39
38
37
36
35
34
33
M38063M6-XXXFP
32
31
30
29
28
27
26
25
P2
0
/DB
0
P2
1
/DB
1
P2
2
/DB
2
P2
3
/DB
3
P2
4
/DB
4
P2
5
/DB
5
P2
6
/DB
6
P2
7
/DB
7
V
SS
X
OUT
X
IN
P4
0
P4
1
RESET
CNV
SS
P4
2
/INT
0
P6
2
/AN
2
P6
1
/AN
1
P6
0
/AN
0
P7
7
P7
6
P7
5
P7
4
P7
3
/S
RDY2
P7
2
/S
CLK2
P7
1
/S
OUT2
P7
0
/S
IN2
P5
7
/DA
2
P5
6
/DA
1
P5
5
/CNTR
1
P5
4
/CNTR
0
P5
3
/INT
4
P5
2
/INT
3
P5
1
/INT
2
P5
0
P4
7
/S
RDY1
P4
6
/S
CLK1
P4
5
/T
X
D
P4
4
/R
X
D
P4
3
/INT
1
Package type : 80P6N-A
80-pin plastic-molded QFP
MITSUBISHI MICROCOMPUTERS
3806 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN CONFIGURATION (TOP VIEW)
P3
2
/ONW
P3
3
/RESET
OUT
P3
4
/φ
P3
5
/SYNC
P3
6
/WR
P3
7
/RD
P0
0
/AD
0
P0
1
/AD
1
P0
2
/AD
2
P0
3
/AD
3
P0
4
/AD
4
P0
5
/AD
5
P0
6
/AD
6
P0
7
/AD
7
P1
0
/AD
8
P1
1
/AD
9
P1
2
/AD
10
P1
3
/AD
11
P1
4
/AD
12
P1
5
/AD
13
57
45
43
52
50
46
42
51
60
58
55
56
49
48
47
P3
1
P3
0
P8
7
P8
6
P8
5
P8
4
P8
3
P8
2
P8
1
P8
0
V
CC
V
REF
AV
SS
P6
7
/AN
7
P6
6
/AN
6
P6
5
/AN
5
P6
4
/AN
4
P6
3
/AN
3
P6
2
/AN
2
P6
1
/AN
1
59
54
53
44
41
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
12
15
16
14
13
17
18
11
19
10
20
40
39
38
37
36
35
34
33
32
M38063M6-XXXGP
M38063M6AXXXHP
31
30
29
28
27
26
25
24
23
22
21
P1
6
/AD
14
P1
7
/AD
15
P2
0
/DB
0
P2
1
/DB
1
P2
2
/DB
2
P2
3
/DB
3
P2
4
/DB
4
P2
5
/DB
5
P2
6
/DB
6
P2
7
/DB
7
V
ss
X
OUT
X
IN
P4
0
P4
1
RESET
CNV
SS
P4
2
/INT
0
P4
3
/INT
1
P4
4
/R
X
D
1
4
2
5
6
7
3
Package type : 80P6S-A/80P6D-A
80-pin plastic-molded QFP
2
P6
0
/AN
0
P7
7
P7
6
P7
5
P7
4
P7
3
/S
RDY2
P7
2
/S
CLK2
P7
1
/S
OUT2
P7
0
/S
IN2
P5
7
/DA
2
P5
6
/DA
1
P5
5
/CNTR
1
P5
4
/CNTR
0
P5
3
/INT
4
P5
2
/INT
3
P5
1
/INT
2
P5
0
P4
7
/S
RDY1
P4
6
/S
CLK1
P4
5
/T
X
D
8
9
FUNCTIONAL BLOCK DIAGRAM (Package : 80P6N)
Reset input
V
SS
V
CC
RESET
27
26
73
32
Clock input
X
IN
CNV
SS
Clock output
X
OUT
30
31
Data bus
Clock generating circuit
CPU
RAM
ROM
X
Prescaler 12 (8)
Y
S
PC
H
PS
CNTR
0
CNTR
1
PC
L
Prescaler Y (8)
Prescaler X (8)
A
Timer 1 (8)
Timer 2 (8)
Timer X (8)
Timer Y (8)
Serial I/O2
(8)
(8)
A-D
converter
D-A
converter 2
(8)
INT
2
to
INT
4
D-A
converter 1
(8)
Serial I/O1
(8)
INT
0
to
INT
1
P8(8)
P6(8)
P5(8)
P7(8)
P4(8)
P3(8)
P2(8)
P1(8)
P0(8)
65 66 68
67 69
76 77 78 79 80 1 2 3
12
71
70
72
4 5 6 7 8 9 10 11
74 75
13 15
14
16 17 19
18
20 21 22 2324
25 28 29
57
59 60 61 62 63 64
58
33 34
35 36
37 38
39
40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56
I/O port P8
I/O port P6
I/O port P7
I/O port P5
I/O port P4
I/O port P3
I/O port P2
I/O port P1
I/O port P0
V
REF
AV
SS
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3806 Group
3
MITSUBISHI MICROCOMPUTERS
3806 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Pin
V
CC
V
SS
CNV
SS
Name
Power source
Function
Function except a port function
• Apply voltage of 3.0 V to 5.5 V to V
CC
, and 0 V to V
SS
.
(Extended operating temperature version : 4.0 V to 5.5 V)
(High-speed version : 2.7 V to 5.5 V)
• This pin controls the operation mode of the chip.
• Normally connected to V
SS
.
• If this pin is connected to V
CC
, the internal ROM is inhibited and external memory is accessed.
• Reference voltage input pin for A-D and D-A converters
• GND input pin for A-D and D-A converters
• Connect to V
SS
.
• Reset input pin for active “L”
• Input and output signals for the internal clock generating circuit.
• Connect a ceramic resonator or 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.
• The clock is used as the oscillating source of system clock.
•
•
•
•
•
•
8 bit CMOS 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.
In modes other than single-chip, these pins are used as address, data, and control bus I/O pins.
CMOS compatible input level
CMOS 3-state output structure
CNV
SS
V
REF
AV
SS
______
Analog reference
voltage
Analog power
source
Reset input
Clock input
Clock output
I/O port P0
I/O port P1
I/O port P2
I/O port P3
I/O port P4
RESET
X
IN
X
OUT
P0
0
– P0
7
P1
0
– P1
7
P2
0
– P2
7
P3
0
– P3
7
P4
0
, P4
1
P4
2
/INT
0
,
P4
3
/INT
1
P4
4
/R
X
D,
P4
5
/T
X
D,
P4
6
/S
CLK1
,
_____
P4
7
/S
RDY1
P5
0
P5
1
/INT
2
–
P5
3
/INT
4
P5
4
/CNTR
0
,
P5
5
/CNTR
1
P5
6
/DA
1
,
P5
7
/DA
2
P6
0
/AN
0
–
P6
7
/AN
7
• 8-bit CMOS I/O port with the same function as port P0
• CMOS compatible input level
• CMOS 3-state output structure
• External interrupt input pin
• Serial I/O1 I/O pins
I/O port P5
• 8-bit CMOS I/O port with the same function as port P0
• CMOS compatible input level
• CMOS 3-state output structure
• External interrupt input pin
• Timer X and Timer Y I/O pins
• D-A conversion output pins
I/O port P6
• 8-bit CMOS I/O port with the same function as
port P0
• CMOS compatible input level
• CMOS 3-state output structure
• A-D conversion input pins
4