![](/html/98/9866/9866aa41c60337f22d2a4810da985c7d3f32e20a01d58608fa7aba586d462642/bg1.png)
CXP84412/84416
CMOS 8-bit Single Chip Microcomputer
Description
The CXP84412/84416 is a CMOS 8-bit single chip
microcomputer integrating on a single chip an A/D
converter, serial interface, timer/counter, time base
timer, 32kHz timer/counter, remote control reception
circuit and other servo systems besides the basic
configurations of 8-bit CPU, ROM, RAM, and I/O
port.
The CXP84412/84416 also provides and a sleep/
stop function that enables lower power consumption.
Features
• Wide-range instruction system (213 instructions) to cover various types of data.
— 16-bit arithmetic/multiplication and division/Boolean bit operation instructions
• Minimum instruction cycle 400ns at 10MHz operation
122µs at 32kHz operation
• Incorporated ROM capacity 12Kbytes (CXP84412)
16Kbytes (CXP84416)
• Incorporated RAM capacity 448bytes
• Peripheral functions
— A/D converter 8-bit, 8-channel, successive approximation method
(Conversion time of 32µs/10MHz)
— Serial interface Incorporated 8-bit, 8-stage FIFO
(Auto transfer for 1 to 8 bytes), 2 channel
— Timer 8-bit timer, 8-bit timer/counter, 19-bit time base timer,
32kHz timer/counter
— Remote control reception circuit Incorporated 6-stage FIFO 8-bit measurement counter
— PWM output for tuner 14 bits
• Interruption 12 factors, 12 vectors, multi-interruption possible
• Standby mode SLEEP/STOP
• Package 80-pin plastic QFP
• Piggyback/evaluation chip CXP84400 80-pin ceramic QFP
80 pin QFP (PIastic)
Structure
Silicon gate CMOS IC
Sony reserves the right to change products and specifications without prior notice. This information does not convey any license by
any implication or otherwise under any patents or other right. Application circuits shown, if any, are typical examples illustrating the
operation of the devices. Sony cannot assume responsibility for any problems arising out of the use of these circuits.
– 1 –
E93909-ST
![](/html/98/9866/9866aa41c60337f22d2a4810da985c7d3f32e20a01d58608fa7aba586d462642/bg2.png)
CXP84412/84416
Vss
V
DD
RST
XTAL
EXTAL
TX
TEX
PE3/NMI
PI3/INT3
PI2/INT2
PI1/INT1
PI0/INT0
PA0 to PA7
8
PORT A
PB0 to PB7
8
PORT B
CLOCK GEN./
SYSTEM CONTROL
SPC700
CPU CORE
PC0 to PC7
8
PORT C
RAM
ROM
PE0 to PE3
PE4 to PE5
2
PF0 to PF7
8
PORT F
PD0 to PD7
4
8
PORT DPORT E
32kHz
448 BYTES
12K/16K BYTES
PRESCALER/
INTERRUPT CONTROLLER
2
PG0 to PG7
8
PH0 to PH7
8
PORT GPORT HPORT I
TIMER/COUNTER
TIME BASE TIMER
PI0 to PI7
8
REF
Block Diagram
AV
AVss
A/D CONVERTER
14 BIT PWM GENERATOR
8
AN0 to AN7
PE4/PWM
FIFO
REMOCON
PE2/RMC
PB1/CS0
SERIAL
PB3/SI0
PB4/SO0
PB2/SCK0
FIFO
UNIT 0
INTERFACE
PB6/SI1
PB7/SO1
PB0/CS1
PB5/SCK1
2
8 BIT TIMER 1
8 BIT TIMER/COUNTER 0
PE0/EC
PE5/TO
PE5/ADJ
– 2 –
![](/html/98/9866/9866aa41c60337f22d2a4810da985c7d3f32e20a01d58608fa7aba586d462642/bg3.png)
Pin Assignment (Top View)
CXP84412/84416
PF3
PF4
PF5
PF6
PF7
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PH0
PH1
PH2
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
80
PF2
79
PF1
78
PF0
77
PG7
76
PG6
75
PG5
74
PG4
73
NC
72
DD
V
71
PG3
PG2
70
69
PG1
68
PG0
67
1
2
3
4
5
6
7
8
9
PI7
66
PI6
65
PI5
60
59
58
64
63
62
61
57
56
55
54
53
52
51
50
49
48
47
46
45
44
42
41
43
PI4
PI3/INT3
PI2/INT2
PI1/INT1
PI0/INT0
PE5/TO/ADJ
PE4/PWM
PE3/NMI
PE2/RMC
PE1
PE0/EC
PB7/SO1
PB6/SI1
PB5/SCK1
PB4/SO0
PB3/SI0
PB2/SCK0
PB1/CS0
PB0/CS1
PA7/AN7
PA6/AN6
PA5/AN5
PA4/AN4
PA3/AN3
25
PH3
26
PH4
27 28
PH5
PH6
29
PH7
30
RST
31
EXTAL
32
XTAL
33
SS
V
34
TX
35
36
TEX
Note) NC (Pin 73) must be connected to VDD.
– 3 –
SS
AV
37
38
REF
AV
40
39
PA1/AN1
PA0/AN0
PA2/AN2
![](/html/98/9866/9866aa41c60337f22d2a4810da985c7d3f32e20a01d58608fa7aba586d462642/bg4.png)
Pin Description
Pin code I/O Functions
(Port A)
8-bit I/O port. I/O can be
PA0/AN0
to
PA7/AN7
I/O/analog input
set in single bit units.
Incorporation of the
pull-up resistance can be
set through the software
Analog inputs to A/D converter.
(8 pins)
in a unit of 4 bits.
(8 pins)
CXP84412/84416
PB0/CS1
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PE0/EC
PE1
PE2/RMC
PE3/NMI
PE4/PWM
PE5/TO/ADJ
I/O/input
I/O/input
I/O/I/O
I/O/input
I/O/output
I/O/input/output
I/O/input
I/O/output
I/OPC0 to PC7
I/OPD0 to PD7
Input/input
Input
Input/input
Input/input
Output/output
Output/output/
output
I/OPF0 to PF7
Chip select input for serial interface (CH1).
(Port B)
8-bit I/O port. I/O can be
set in single bit units.
Incorporation of pull-up
resistor can be set
through the software in a
unit of 4 bits.
(8 pins)
Chip select input for serial interface (CH0).
Serial clock I/O (CH0).
Serial data input (CH0).
Serial data output (CH0).
Serial clock I/O (CH1).
Serial data input (CH1).
Serial data output (CH1).
(Port C)
8-bit I/O port. I/O can be set in a unit of single bits. Capable of driving
12mA sync current. Incorporation of pull-up resistor can be set through
the software in a unit of 4 bits.
(8 pins)
(Port D)
8-bit I/O port. I/O can be set in a unit of single bits. Incorporation of pullup resistor can be set through the software in a unit of 4 bits.
(8 pins)
External event inputs for timer/counter.
(Port E)
6-bit port. Lower 4 bits
are for inputs; upper
2 bits are for outputs.
Remote control reception circuit input.
Non-maskable interruption request input.
Incorporation of pull-up
resistor can be set
through the software.
(8 pins)
14-bit PWM output.
Rectangular wave output for 16-bit timer/
counter (duty output 50%). Output for 32kHz
oscillation frequency demultiplication.
(Port F)
8-bit output port. I/O can be set in a unit of single bits. Incorporation of
pull-up resistor can be set through the software in a unit of 4 bits.
(8 pins)
– 4 –
![](/html/98/9866/9866aa41c60337f22d2a4810da985c7d3f32e20a01d58608fa7aba586d462642/bg5.png)
Pin code I/O Functions
(Port G)
I/OPG0 to PG7
8-bit I/O port. I/O can be set in a unit of single bits. Incorporation of pullup resistor can be set through the software in a unit of 4 bits.
(8 pins)
(Port H)
I/OPH0 to PH7
8-bit I/O port. I/O can be set in a unit of single bits. Incorporation of pullup resistor can be set through the software in a unit of 4 bits.
(8 pins)
CXP84412/84416
PI0/INT0
to
PI3/INT3
PI4 to PI7
EXTAL
TEX
RST
NC
AVREF
AVss
VDD
Vss
I/O/input
I/O
Input
OutputXTAL
Input
OutputTX
Input
Input
(Port I)
8-bit output ports. I/O can be set in a unit of single
bits. Incorporation of pull-up resistor can be set
External
interruption
request inputs.
through the software in a unit of 4 bits.
(8 pins)
Crystal connectors for system clock oscillation. When the clock is supplied
externally, input to EXTAL; opposite phase clock should be input to XTAL.
Crystal connectors for 32kHz timer/counter clock generation circuit.
Connect a 32.768kHz crystal oscillator between TEX and TX. For usage
as event input, connect clock oscillation source to TEX, and open TX.
Low-level active, system reset.
NC. Under normal operating conditions, connect to VDD.
Reference voltage input for A/D converter.
A/D converter GND.
Vcc supply.
GND
– 5 –
![](/html/98/9866/9866aa41c60337f22d2a4810da985c7d3f32e20a01d58608fa7aba586d462642/bg6.png)
Port B output
selection
"0" when reset
∗
Schmitt input
SCK0 in
Port B direction
"0" when reset
"0" when reset
SCK OUT
Output enable
∗
Pull-up transistors
approx. 100kΩ
I/O Circuit Format for Pins
CXP84412/84416
Pin
PA0/AN0
to
PA7/AN7
8 pins
PB0/CS1
PB1/CS0
PB3/SI0
PB6/SI1
Port A
Port B
Data bus
Data bus
Pull-up
resistance
"0" when reset
Port A data
Port A direction
"0" when reset
RD (Port A)
Port A input
selection
"0" when reset
Pull-up
resistance
"0" when reset
Port B data
Port B direction
"0" when reset
Circuit format
A/D converter
Input multiplexer
Schmitt input
∗
Input protection
IP
circuit
∗
Pull-up transistors
approx. 100kΩ
∗
IP
When reset
Hi-Z
Hi-Z
4 pins
PB2/SCK0
PB5/SCK1
2 pins
Port B
RD (Port B)
CS1
CS0
SI0
SI1
∗
Pull-up transistors
approx. 100kΩ
Hi-Z
– 6 –