The CXP84716/84720/84724 is a CMOS 8-bit microcomputer integrating on a single chip an A/D converter,
serial interface, timer/counter, time base timer, capture
timer/counter, FRC capture unit, high-precision timing
pattern generation circuit, PWM output, and the like
besides the basic configurations of 8-bit CPU, ROM,
RAM, and I/O port.
The CXP84716/84720/84724 also provides the
sleep/stop functions that enable to execute the poweron reset function and lower the power consumption.
Features
• A wide instruction set (213 instructions) which covers various types of data.
— 16-bit arithmetic/multiplication and division/Boolean bit operation instructions
• Minimum instruction cycle250ns at 16MHz operation (4.5 to 5.5V)
PPG: maximum of 11 pins, 16 stages programmable, 2 channels
— PWM output8 bits, 8 channels
• Interruption19 factors, 15 vectors, multi-interruption possible
• Standby modeSleep/stop
• Package100-pin plastic QFP/LQFP
• Piggyback/evaluatorCXP84700
100 pin QFP (Plastic)100 pin LQFP (Plastic)
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.
2. VSS (Pins 39 and 86) are both connected to GND.
36
37
RST
38
EXTAL
– 4 –
39
XTAL
40
SS
V
EXI2
41
42
EXI3
43
SS
AV
REF
AV
44
DD
AV
45
46
AN0
47
AN1
48
AN2
49
AN3
50
PA1/AN5
PA0/AN4
Page 5
Pin Description
CXP84716/84720/84724
SymbolI/O
AN0
to
Input
AN3
PA0/AN4
to
I/O/Input
PA3/AN7
PA4 to PA7
PB0/CINT
PB1 to PB3
PB4/CS1
PB5/SCK1
PB6/SI1
PB7/SO1
I/O
I/O/Input
I/O
I/O/Input
I/O/I/O
I/O/Input
I/O/Output
Analog inputs to A/D converter.
(4 pins)
(Port A)
8-bit I/O 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)
(Port B)
8-bit I/O 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)
Description
Analog inputs to A/D converter.
(4 pins)
External capture input to 16-bit
timer/counter.
Chip select input for serial interface
(CH1).
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. Can drive 12mA sink
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 pull-up resistor
can be set through the software
in a unit of 4 bits.
Data is gated with PPO contents
PPO0 to PPO7 outputs for programmable
pattern generator (PPG0). Functions as
high-precision real-time pulse output port.
(PPG0: 11 pins; PPG1: 11 pins)
by OR-gate and they are output.
(8 pins)
External event inputs for timer/counter.
(2 pins)
(Port E)
8-bit port. Lower 5 bits are for
input; upper 2 bits are for
Non-maskable interruption request.
output.
(8 pins)
Rectangular wave output for 16-bit
timer/counter.
– 5 –
Page 6
CXP84716/84720/84724
SymbolI/O
PF0 to PF5
PF6/TxD
PF7/RxD
I/O
Output/Output
Input/Input
PG0/PWM0
to
I/O/Output
PG7/PWM7
PH0/PPO8
to
PH7/PPO15
I/O/Real-time
output
Description
(Port F)
Lower 6 bits are for I/O. 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 (PF0 to PF3) or 2 bits (PF4,PF5)
PF6 is for output; PF7 is for input.
(8 pins)
UART transmission data output.
UART reception data input.
(Port G)
8-bit I/O port. I/O can be set in
a unit of single bits.
Incorporation of pull-up
resistor can be set through the
PWM outputs.
(8 pins)
software in a unit of 4 bits.
(8 pins)
(Port H)
8-bit I/O 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.
Data is gated with PPO contents
by OR-gate and they are output.
PPO8 to PPO11 (PPG0) outputs and
PPO12 to PPO15 (PPG1) outputs for
programmable pattern generator (PPG0,
PPG1).
Functions as high-precision real-time pulse
output port.
(8 pins)
PI0/INT0
to
PI4/INT4
PI5/SCK2
PI6/SI2
PI7/SO2
PJ0/PPO16
to
PJ5/PPO21
PJ6/EXI0
PJ7/EXI1
EXI2 to EXI3
CS0
SCK0
SI0
I/O/Input
I/O/I/O
I/O/Input
I/O/Output
I/O/Real-time
output
I/O/Input
I/O/Input
Input
Input
I/O
Input
(Port I)
8-bit I/O port. I/O can be set in
External interruption request inputs.
(5 pins)
a unit of single bits.
Incorporation of pull-up resistor
can be set through the software
in a unit of 4 bits.
(8 pins)
Serial clock I/O (CH2).
Serial data input (CH2).
Serial data output (CH2).
(Port I)
8-bit I/O port. I/O can be set in
a unit of single bits.
Incorporation of pull-up resistor
can be set through the software
PPO16 to PPO21 outputs for
programmable pattern generator (PPG1).
Functions as high-precision real-time
pulse output port.
in a unit of 4 bits.
Data is gated with PPO contents
by OR-gate and they are output.
(8 pins)
External inputs to FRC capture unit.
(2 Pins)
External inputs to FRC capture unit.
(2 pins)
Chip select input for serial interface (CH0).
Serial clock I/O (CH0).
Serial data input (CH0).
SO1
I/O/Output
Serial data I/O (CH0).
– 6 –
Page 7
CXP84716/84720/84724
Symbol
EXTAL
XTAL
RST
NC
AVDD
AVREF
AVSS
VDD
VSS
Input
Output
I/O
Input
I/O
Description
Connects a crystal for system clock oscillation. When a clock is supplied
externally, input it to EXTAL pin and input a reversed phase clock to XTAL
pin.
System reset; active at Low level. This pin is I/O pin, and outputs Low
level at the power on with the power-on reset function is executed. (Mask
option)
Not connected.
Leave this pin open for normal operation.
Positive power supply of A/D converter.
Reference voltage input of A/D converter.
GND of A/D converter.
Positive power supply.
GND.
– 7 –
Page 8
Data bus
RD (Ports B, I, J)
Ports B, I, J direction
IP
Ports B, I, J data
Pull-up resistor
"0" when reset
"0" when reset
∗
Schmitt input
CINT
CS1
SI1
EXI0
EXI1
∗
Pull-up transistors
approx. 100kΩ (VDD = 4.5 to 5.5V)
approx. 300kΩ (VDD = 3.0 to 3.6V)
I/O Circuit Format for Pins
CXP84716/84720/84724
Pin
PA0/AN4
to
PA3/AN7
4 pins
PA4 to PA7
PB1 to PB3
PF0 to PF5
Port A
Port A
Port B
Port F
Data bus
Pull-up resistor
"0" when reset
Port A data
Port A direction
"0" when reset
RD (Port A)
Port A function
selection
"0" when reset
Pull-up resistor
"0" when reset
Ports A, B, F data
Ports A, B, F direction
"0" when reset
Circuit format
A/D converter
∗
IP
Input
protection
circuit
Input multiplexer
∗
Pull-up transistors
approx. 100kΩ (V
approx. 300kΩ (VDD = 3.0 to 3.6V)
VDD = 5.5V, termination of 16MHz
crystal oscillation
PA to PD,
PE0 to PE5,
PF0 to PF5,
PF7,
Input
capacity
CIN
PG to PJ,
CS0, SCK0,
SI0, EXI2,
Clock 1MHz
0V for all pins excluding measured
pins
EXI3,
AN0 to AN3,
EXTAL,
RST
Typ.Max.Unit
17.5
1.4
10
40
8
10
20
mA
mA
µA
pF
∗1
RST pin specifies the output voltage only when the power-on reset circuit is selected with mask option.
∗2
RST pin specifies the input current when the pull-up resistance is selected, and specifies the leakage
current when no resistance is selected.
∗3
PA to PD, PF0 to PF5 and PG to PJ pins specify the input current when the pull-up resistance is selected,
and specify the leakage current when no resistance is selected.
∗4
When all pins are open.
– 16 –
Page 17
CXP84716/84720/84724
Electrical Characteristics
DC Characteristics (VDD = 3.0 to 3.6V)
(Ta = –20 to +75°C, VSS = 0V reference)
ItemSymbolPinsConditionsMin.Typ.Max.Unit
High level
output voltage
Low level
output voltage
Input current
I/O leakage
current
VOH
VOL
IIHE
IILE
IIHT
IILT
IILR
IIL
IIZ
PA to PD,
PE6, PE7,
PF0 to PF6,
PG to PJ,
SCK0, SO0
PA to PD,
PE6, PE7,
PF0 to PF6,
PG to PJ,
SCK0, SO0,
∗1
RST
PC
EXTAL
TEX
∗2
RST
PA to PD∗3,
PF0 to PF
PG to PJ
5∗3,
∗3
PA to PD∗3,
PE0 to PE5,
PF0 to PF5∗3,
PF7,
PG to PJ∗3,
CS0, SCK0,
SI0, EXI2,
EXI3,
AN0 to AN3
∗2
RST
VDD = 3.0V, IOH = –0.15mA
VDD = 3.0V, IOH = –0.5mA
VDD = 3.0V, IOL = 1.2mA
VDD = 3.0V, IOL = 1.6mA
VDD = 3.0V, IOL = 5.0mA
VDD = 3.6V, VIH = 3.6V
VDD = 3.6V, VIL = 0.3V
VDD = 3.6V, VIL = 3.6V
VDD = 3.6V, VIL = 0.4V
VDD = 3.6V, termination of 12MHz
crystal oscillation
PA to PD,
PE0 to PE5,
PF0 to PF5,
PF7,
Input
capacity
CIN
PG to PJ,
CS0, SCK0,
SI0, EXI2,
Clock 1MHz
0V for all pins excluding measured
pins
EXI3,
AN0 to AN3,
EXTAL,
RST
Typ.Max.Unit
6.5
0.5
10
18
2.0
10
20
mA
mA
µA
pF
∗1
RST pin specifies the output voltage only when the power-on reset circuit is selected with mask option.
∗2
RST pin specifies the input current when the pull-up resistance is selected, and specifies the leakage
current when no resistance is selected.
∗3
PA to PD, PF0 to PF5 and PG to PJ pins specify the input current when the pull-up resistance is selected,
and specify the leakage current when no resistance is selected.
∗4
When all pins are open.
– 18 –
Page 19
A
A
AC Characteristics
(1) Clock timing
CXP84716/84720/84724
(Ta = –20 to +75°C, VDD = 3.0 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
∗1
tsys indicates the three values below according to the upper two bits (CPU clock selection) of the clock
control register (CLC: 00FEh).
fC
tXL
tXH
tCR
tCF
tEH
tEL
tER
tEF
XTAL
EXTAL
XTAL
EXTAL
XTAL
EXTAL
EC0
EC1
EC0
EC1
Fig. 1, Fig. 2
Fig. 1, Fig. 2
External clock drive
Fig. 1, Fig. 2
External clock drive
Fig. 3
Fig. 3
VDD = 4.5 to 5.5V
DD = 4.5 to 5.5V
V
1
1
28
37.5
tsys + 50
Typ. Max.
16
12
200
∗1
20
tsys [ns] = 2000/fc (upper two bits = “00”), 4000/fc (upper two bits = “01”), 16000/fc (Upper two bits = “11”)
Fig. 1. Clock timing
1/fc
MHz
ns
ns
ns
ms
EXTAL
Fig. 2. Clock applied conditions
C
Fig. 3. Event count clock timing
EC0
EC1
XHtXLtCFtCR
t
Crystal oscillation
Ceramic oscillation
EXTAL
AA
1C2
XTAL
External clock
EXTAL
AA
74HC04
XTAL
DD – 0.4V (VDD = 4.5 to 5.5V)
V
V
DD – 0.3V
0.4V (VDD = 4.5 to 5.5V)
0.3V
0.8VDD
0.2VDD
t
EHtELtEFtER
– 19 –
Page 20
CXP84716/84720/84724
(2) Serial transfer (CH0, CH1)(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)