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 cycle400ns at 10MHz operation
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.
(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 –
Page 5
Pin codeI/OFunctions
(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 –
Page 6
Data bus
RD (Port B)
IP
Port B output
selection
"0" when reset
∗
Schmitt input
SCK0 in
Port B data
Port B direction
"0" when reset
"0" when reset
SCK OUT
Output enable
∗
Pull-up transistors
approx. 100kΩ
Pull-up
resistance
SCK1
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 –
Page 7
CXP84412/84416
Pin
PB4/SO0
PB7/SO1
2 pins
Port B
Data bus
Port C
Pull-up
resistance
Output enable
Port B output
selection
"0" at reset
Port B data
Port B direction
"0" when reset
RD (Port B)
Pull-up
resistance
"0" when reset
Port C data
SO
Circuit format
∗
IP
∗
Pull-up transistors
approx. 100kΩ
∗
2
When reset
Hi-Z
PC0 to PC7
8 pins
PE0/EC
PE1
PE2/RMC
PE3/NMI
4 pins
PE4/PWM
1 pin
Port E
Port E
Data bus
Data bus
Port C direction
"0" when reset
RD (Port C)
Schmitt input
IP
Note : PE1
No schmitt input.
PWM
Port E output
selection
"0" when reset
Port E data
"1" when reset
RD (Port E)
∗
1
High current drive
of 12mA possible
RD (Port E)
∗
1
IP
∗
2
Pull-up transistors
approx. 100kΩ
EC
RMC/NMI
Data bus
Hi-Z
Hi-Z
H level
– 7 –
Page 8
CXP84412/84416
Pin
PE5/TO/ADJ
1 pin
PD0 to PD7
PF0 to PF7
PG0 to PG7
PH0 to PH7
PI4 to PI7
Port E
Port D
Port F
Port G
Port H
Port I
Output enable
Data bus
TO
ADJ16K
ADJ2K
Port E output
selection
Port E output
selection
"00" when reset
Port E output
selection
"0" when reset
Port E data
"1" when reset
MPX
RD (Port B)
Pull-up
resistance
"0" when reset
Port data
Port direction
"0" when reset
Circuit format
∗
ADJ signals are frequency division
outputs for 32kHz oscillation frequency
adjustment ADJ2K provides usage as
buzzer output.
When reset
H level
∗
IP
Hi-Z
36 pins
PI0/INT0
to
PI3/INT3
4 pins
Port I
Data bus
Data bus
RD
Pull-up
resistance
"0" when reset
Port data
Port direction
"0" when reset
RD
INT0
INT1
INT2
INT3
∗
Pull-up transistors
approx. 100kΩ
∗
IP
Schmitt input
∗
Pull-up transistors
approx. 100kΩ
Hi-Z
– 8 –
Page 9
CXP84412/84416
A
Pin
EXTAL
XTAL
2 pins
TEX
TX
2 pins
RST
1 pin
EXTAL
XTAL
TEX
TX
Circuit format
IP
IP
Pull-up resistor
OP
• Diagram shows circuit
IP
IP
• When the operation of the oscillation
circuit is stopped by the software, the
feedback resistor is removed, and
TEX and TX become "Low" level and
"High" level respectively.
Mask option
IP
composition during oscillation.
• Feedback resistor is removed
during stop, and XTAL becomes
"High".
• Digram shows circuit
circuit composition
during oscillation.
Schmitt input
When reset
Oscillation
Oscillation
Hi-z or
L level
(When pull-up
resistance is
added)
– 9 –
Page 10
CXP84412/84416
Absolute Maximum Ratings(Vss = 0V reference)
ItemSymbolRatingsUnitRemarks
VDD
–0.3 to +7.0
V
Supply voltage
Input voltage
Output voltage
High level output current
High level total output current
AVSS
VIN
VOUT
IOH∑IOH
IOL
–0.3 to +0.3
–0.3 to +7.0
–0.3 to +7.0
–5
–50
15
∗1
∗1
V
V
V
mA
Output per pin
mA
Total for all output pins
mA
Value per pin, excluding high current outputs
Low level output current
IOLC
Low level total output current
Operating temperature
Storage temperature
Allowable power dissipation
∗1
VIN and VOUT must not exceed VDD + 0.3V.
∗2
The high current drive transistor is the N-ch transistor of Port C (PC)
∑IOL
Topr
Tstg
PD
20
100
–20 to +75
–55 to +150
600
mA
Value per pin∗2for high current outputs
mA
Total for all output pins
°C
°C
mW
Note) Usage exceeding absolute maximum ratings may permanently impair the LSI. Normal operation should
be conducted under the recommended operating conditions. Exceeding these conditions may adversely
affect the reliability of the LSI.
Clock 1MHz
0V for all pins excluding measured
pins
10
20
VSS
∗1
RST specifies the input current when pull-up resistance has been selected; leakage current when no
resistance has been selected.
∗2
Pins PA to PD, and PF to PI specifies the input current when pull-up resistance has been selected; leakage
current when no resistance has been selected.
∗3
When all pins are open.
mA
µA
µA
pF
– 11 –
Page 12
A
A
A
AC Characteristics
(1) Clock timing
CXP84412/84416
(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
ItemSymbolPinConditionsMin.Unit
System clock frequency
System clock input pulse width
System clock input
rise time, fall time
Event count input clock
pulse width
Event count input clock
rise time, fall time
System clock frequency
Event count input clock
input pulse width
Event count input clock
rise time, fall time
∗
tsys indicates the three values below according to the upper two bits (CPU clock selection) of the control
clock register (address: 00FEH).
fC
tXL,
tXH
tCR,
tCF
tEH,
tEL
tER,
tEF
fC
tTL,
tTH
tTR,
tTF
XTAL
EXTAL
EXTAL
EXTAL
EC
EC
TEX
TX
TEX
TEX
Fig. 1, Fig. 2
Fig. 1, Fig. 2
External clock drive
Fig. 1, Fig. 2
External clock drive
Fig. 3
Fig. 3
VDD=2.7 to 5.5V
Fig. 2 (32kHz clock
application condition)
Fig. 3
Fig. 3
1
37.5
tsys + 50
10
∗
32.768
Typ.
Max.
10
200
20
20
MHz
kHz
tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11")
Note 1) tsys indicates the three values below according to the upper two bits (CPU clock selection) of the
control clock register (address: 00FEH).
tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11")
Note 2) The load condition for the SCK0 (SCK1) output mode, SO0 (SO1) output delay time is 50pF + 1TTL.
– 13 –
Page 14
Fig. 4. Serial transfer CH0 timing
CS0
(CS1)
0.2V
DD
CXP84412/84416
tWHCS
0.8VDD
tKCY
SCK0
(SCK1)
SI0
(SI1)
tDCSKtDCSKF
tKLtKH
0.8VDD
0.2VDD
tKSI
SIK
t
0.8VDD
Input
data
0.2VDD
0.8VDD
SO0
(SO1)
DCSOtKSOtDCSOF
t
Output
data
– 14 –
DD
0.8V
0.2VDD
Page 15
CXP84412/84416
(3) A/D converter characteristics
ItemSymbolPinConditionMin.Typ.Max.Unit
Resolution
Linearity error
∗1
Zero transition voltage
Full-scale transition
voltage
Conversion time
Sampling time
Reference input voltage
Analog input voltage
VZT
∗2
VFT
tCONV
tSAMP
VREF
VIAN
IREF
AVREF current
IREFS
AVREF
AN0 to AN7
AVREF
(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, AVREF = 4.0 to AVDD, Vss = AVSS = 0V
Ta = 25°C
VDD = 5.0V
–10
30
8
±3
70mV
Bits
LSB
VSS = AVSS = 0V
5010
VDD
AVREF
1.0
µs
µs
V
V
mA
Operation mode
4930mV
160/fADC
12/fADC
4970
∗3
∗3
VDD – 0.5
0
0.6
SLEEP mode
STOP mode
10µA
32kHz operation mode
Fig. 5. Definition of A/D converter terms
FFH
FEH
Digital conversion value
01H
00H
Linearity error
Analog input
FTVZT
V
∗
1
VZT : Value at which the digital transfer value changes from
00H to 01H and vice versa.
∗
2
VFT : Value at which the digital transfer value changes from
FEH to FFH and vice versa.
∗
3
fADC indicates the below values due to the contents of bit 6
(CKS) of A/D control resistor (address : 00F9H) and bits 6,
7 (PCK0, 1) of clock control resistor (address : 00FFH).