The CXP81952/81960 is a CMOS 8-bit microcomputer which consists of A/D converter, serial
interface, timer/counter, time base timer, vector
interruption, high precision timing pattern generation
circuit, PWM generator, PWM for tuner, 32kHz
timer/event counter, remote control receiving circuit,
general purpose prescaler, and external signal, as
well as basic configurations like 8-bit CPU, ROM,
RAM and I/O port. They are integrated into a single
chip.
Also the CXP81952/81960 provides sleep/stop
function which enables to lower power consumption
and ultra-low speed instruction mode in 32kHz
operation.
100 pin QFP (PIastic)100 pin LQFP (PIastic)
Structure
Silicon gate CMOS IC
Features
• A wide instruction set (213 instructions) which cover various types of data
— 16-bit operation/multiplication and division/boolean bit operation instructions
• Minimum instruction cycle250ns at 16MHz operation
122µs at 32kHz operation
• Incorporated ROM capacity52K bytes (CXP81952), 60K bytes (CXP81960)
• Incorporated RAM capacity2048 bytes
• Peripheral functions
— A/D converter8-bit, 12-channel, successive approximation system
(Conversion time 20.0µs/16MHz)
— Serial InterfaceIncorporated buffer RAM (1 to 32 bytes auto transfer) 1-channel
Incorporated 8-bit and 8-stage FIFO for data
(1 to 8 bytes auto transfer) 1-channel
— Timer8-bit timer, 8-bit timer/counter, 19-bit time base timer,
32kHz timer/counter
— High precision timing pattern generatorPPG 19-pin 32-stage programmable
RTG 5-pin 2-channel
— PWM/DA gate outputPWM 12-bit, 2-channel (Repetitive frequency 62kHz/16MHz)
DA gate pulse output 13-bit, 4-channel
— FRC capture unitIncorporated 26-bit and 8-stage FIFO
— PWM output 14-bit, 1-channel
— Remote control receiving circuit8-bit pulse measurement counter with on-chip, 6-stage FIFO
— General purpose prescaler7-bit (PG5 input frequency divided, FRC capture possible)
• Interruption20 factors, 15 vectors, multi-interruption possible
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.
Input pin to request external interruption and
non-maskable interruption. Active when falling edge.
Serial clock (CH1) I/O pin.
Serial data (CH1) output pin.
Serial data (CH1) input pin.
(Port J)
8-bit I/O port. Function as standby release input can be specified by bit
unit. I/O can be specified by bit unit.
Connecting pin of crystal oscillator for system clock. When supplying
the external clock, input the external clock to EXTAL pin and input
opposite phase clock to XTAL pin.
Connecting pin of crystal oscillator for 32kHz timer clock. When used
as event counter, input to TEX pin and leave TX pin open. (Feedback
resistor is not removed.)
System reset pin of active "L" level.
Microprocessor mode input pin. Always connect to GND.
Positive power supply pin of A/D converter.
Reference voltage input pin of A/D converter.
GND pin of A/D converter.
Positive power supply pin.
GND pin. Connect both Vss pins to GND.
– 6 –
Page 7
Input/Output Circuit Formats for Pins
CXP81952/81960
Pin
PA0/PPO0
to
PA7/PPO7
PB0/PPO8
to
PB7/PPO15
16 pins
PC0/PPO16
to
PC2/PPO18
PC3/RTO3
to
PC7/RTO7
Port A
Port B
Data bus
Port C
PPO data
Port A or Port B
RD
PPO, RTO data
Port C data
Port C direction
Circuit format
Output becomes active from high
impedance by data writing to port register.
(Every bit)
IP
Input
protection
circuit
When reset
Hi-Z
Hi-Z
8 pins
PD0 to PD7
8 pins
Data bus
Port D
Data bus
RD (Port C)
Port D data
Port D direction
RD (Port D)
(Every 4 bits)
PD0 to 3
PD4 to 7
IP
High
current
12mA
Hi-Z
– 7 –
Page 8
CXP81952/81960
A
Pin
PE0/INT0
1 pin
PE1/EC/INT2
1 pin
PE2/PWM0
PE3/PWM1
PE4/DAA0
PE5/DAA1
Port E
Data bus
Port E
Data bus
Interruption circuit/
event counter
Port E
DA gate output
or PWM output
Hi-Z control
RD
Port E data
Circuit format
Interruption circuit
RD (Port E)
MPX
IP
Input protection circuit
IP
Input protection circuit
When reset
Hi-Z
Hi-Z
Hi-Z
4 pins
PE6/DAB0
PE7/DAB1
2 pins
Data bus
Port E
Data bus
Port/DA output
select
RD (Port E)
DA gate output
Hi-Z control
Port E data
Port/DA output
select
RD (Port E)
MPX
A
H level
– 8 –
Page 9
CXP81952/81960
AAA
Pin
AN0 to AN3
4 pins
PF0/AN4
to
PF3/AN7
4 pins
PF4/AN8
to
PF7/AN11
4 pins
Port F
Port F
Data bus
Port F data
RD
(Port F)
Circuit format
Input multiplexer
IP
Input multiplexer
IP
Port/AD select
RD (Port F)
A/D converter
A/D converter
Data bus
IP
Input multiplexer
A/D
converter
When reset
Hi-Z
Hi-Z
Hi-Z
PG0 to PG4
PG5/PCK
6 pins
PG6/EXI0
PG7/EXI1
2 pins
PH0 to PH7
8 pins
Port G
Port G
Port H
Data bus
Port H data
RD (Port H)
Schmitt input
IP
Schmitt input
IP
RD (Port G)
RD (Port G)
Data bus
PG5: To general
purpose prescaler
FRC capture unit
Data bus
Medium withstand
voltage 12V
Large current
12mA
Hi-Z
Hi-Z
Hi-Z
– 9 –
Page 10
CXP81952/81960
A
A
A
Pin
PI2/PWM
PI3/TO/ADJ
2 pins
PI1/RMC
PI4/INT1/NMI
PI7/SI1
Port I
PI2: From 14-bit PWM
PI3: From timer/counter,
32kHz timer
Port I direction
Data bus
RD (Port I)
Port I
Data bus
Port I function
select
Port I data
Port I data
Port I direction
Circuit format
A
MPX
A
When reset
Hi-Z
IP
IP
Hi-Z
3 pins
PI5/SCK1
PI6/SO1
2 pins
PI1: To remote control circuit
PI4: To interruption circuit
PI7: To serial CH1
Port I
Port I function
select
From serial CH1
Port I data
Port I direction
Data bus
RD (Port I)
RD (Port I)
MPX
A
Schmitt input
MPX
Note)
PI5 is schmitt input
PI6 is inverter input
To serial CH1
Hi-Z
IP
– 10 –
Page 11
CXP81952/81960
Pin
PJ0 to PJ7
8 pins
CS0
SI0
2 pins
Port J
Port J direction
Data bus
Standby release
Data bus
Port J data
RD
(Port J)
RD
Circuit format
Edge detection
Schmitt input
IP
To SIO
When reset
IP
Hi-Z
Hi-Z
SO0
1 pin
SCK0
1 pin
EXTAL
XTAL
2 pins
EXTAL
XTAL
SO0 from SIO
SO0 output enable
Internal serial clock
from SIO
SCK0 output enable
External serial clock to SIO
IP
Schmitt input
IP
• Shows the circuit
composition during
oscillation.
• Feedback resistor is
removed during stop.
Hi-Z
Hi-Z
Oscillation
– 11 –
Page 12
CXP81952/81960
Pin
TEX
TX
2 pins
RST
1 pin
MP
1 pin
TEX
TX
Mask option
Circuit format
IP
OP
IP
32kHz
timer counter
Pull-up resistor
Schmitt input
IP
CPU mode
• Shows the circuit
composition during
oscillation.
• Feedback resistor is
removed during 32kHz
oscillation circuit stop
by software.
At this time TEX pin
outputs "L" level and TX
pin outputs "H" level.
When reset
Oscillation
L level
Hi-Z
– 12 –
Page 13
CXP81952/81960
Absolute Maximum Ratings(Vss = 0V)
ItemSymbolRatingUnitRemarks
–0.3 to +7.0
AVss to +7.0
–0.3 to +0.3
–0.3 to +7.0
–0.3 to +7.0
–0.3 to +15.0
–5
–50
15
∗1
∗2
∗2
Supply voltage
Input voltage
Output voltage
Medium withstand output voltage
High level output current
High level total output current
VDD
AVDD
AVSS
VIN
VOUT
VOUTP
IOH∑IOH
IOL
Low level output current
20
130
–20 to +75
–55 to +150
Low level total output current
Operating temperature
Storage temperature
IOLC∑IOL
Topr
Tstg
600
Allowable power dissipation
∗1
AVDD and VDD should be set to a same voltage.
∗2
VIN and VOUT should not exceed VDD + 0.3V.
∗3
The large current operation transistors are the N-CH transistors of the PD and PH ports.
PD
380
V
V
V
V
V
V
mA
mA
mA
mA
mA
°C
°C
mW
PH pin
Total of output pins
Other than large current output
pins: per pin
Large current port pin∗3: per pin
Total of output pins
QFP package type
LQFP package type
Note) Usage exceeding absolute maximum ratings may permanently impair the LSI. Normal operation should
better take place under the recommended operating conditions. Exceeding those conditions may
adversely affect the reliability of the LSI.
– 13 –
Page 14
CXP81952/81960
Recommended Operating Conditions(Vss = 0V)
ItemSymbolMin.Max.UnitRemarks
Supply voltage
Analog power supply
High level
input voltage
Low level
input voltage
VDD
AVDD
VIH
VIHS
VIHEX
VIL
VILS
VILEX
3.0
2.7
2.7
2.0
3.0
0.7VDD
0.8VDD
VDD – 0.4
VDD – 0.2
0
0
0
–0.3
–0.3
5.5
5.5
5.5
5.5
5.5
VDD
VDD
5.5
VDD + 0.3
VDD + 0.2
0.3VDD
0.2VDD
0.2VDD
0.4
0.2
Guaranteed range during high speed mode
V
(1/2 dividing clock) operation
Guaranteed range during low speed mode
V
(1/16 dividing clock) operation
Guaranteed operation range by TEX clock
V
Guaranteed data hold operation range
V
during STOP
∗1
V
∗2
V
CMOS schmitt input∗3and PE0/INT0 pin
V
CMOS schmitt input
V
EXTAL pin
V
EXTAL pin
V
∗2, ∗7
V
∗2, ∗8
V
CMOS schmitt input∗3and PE0/INT0 pin
V
EXTAL pin
V
EXTAL pin
V
∗4, ∗7
∗4, ∗8
∗4, ∗7
∗4, ∗8
∗6
and TEX pin
and TEX pin
and TEX pin
and TEX pin
∗5, ∗7
∗5, ∗8
∗5, ∗7
∗5, ∗8
Operating temperature
∗1
AVDD and VDD should be set to a same voltage.
∗2
Normal input port (each pin of PC, PD, PF0 to PF3, PG, PI and PJ), MP pin.
∗3
Each pin of SCK0, RST, PE1/EC/INT2, PI1/RMC, PI4/INT1/NMI, PI5/SCK1 and PI7/SI1.
∗4
It specifies only when the external clock is input.
∗5
It specifies only when the external event count clock is input.
∗6
Each pin of CS0, SI0, and PG.
∗7
In case of 4.5 to 5.5V supply voltage (VDD).
∗8
In case of 3.0 to 3.6V supply voltage (VDD).
Topr
–20
+75
°C
– 14 –
Page 15
Electrical Characteristics
DC Characteristics (VDD = 4.5 to 5.5V)
CXP81952/81960
(Ta = –20 to +75°C, Vss = 0V)
ItemSymbolPinsConditionsMin.
High level
output voltage
Low level
output voltage
VOH
VOL
IIHE
PA to PD,
PE2 to PE7,
PF4 to PF7,
PH (VOL only)
PI1 to PI7
PJ, SO0, SCK0
RST pin specifies the input current when the pull-up resistor is selected, and specifies leakage current
CIN
DD
AVss
Clock 1MHz
, and
0V other than the measured pins
10
20
when non-resistor is selected.
∗2
When entire output pins are open.
∗3
When setting upper 2 bits (CPU clock selection) of clock control register CLC (address: 00FEH) to "00" and
operating in high speed mode (1/2 dividing clock).
mA
mA
µA
µA
µA
pF
– 15 –
Page 16
CXP81952/81960
DC Characteristics (VDD = 3.0 to 3.6V)(Ta = –20 to +75°C, Vss = 0V)
ItemSymbolPinsConditionsMin.
High level
output voltage
Low level
output voltage
VOH
VOL
IIHE
PA to PD,
PE2 to PE7,
PF4 to PF7,
PH (VOL only)
PI1 to PI7
PJ, SO0, SCK0
RST pin specifies the input current when the pull-up resistor is selected, and specifies leakage current
CIN
DD
AVss
Clock 1MHz
, and
0V other than the measured pins
10
20
when non-resistor is selected.
∗2
When entire output pins are open.
∗3
When setting upper 2 bits (CPU clock selection) of clock control register CLC (address: 00FEH) to "00" and
operating in high speed mode (1/2 dividing clock).
mA
mA
µA
pF
– 16 –
Page 17
A
A
A
AC Characteristics
(1) Clock timing
CXP81952/81960
(Ta = –20 to +75°C, VDD = 3.0 to 5.5V, Vss = 0V)
ItemSymbolPinsConditionsUnitMin.
System clock frequency
System clock input
pulse width
System clock input
rise and fall times
Event count clock input
pulse width
Event count clock input
rise and fall times
System clock frequency
Event count clock input
pulse width
Event count clock input
rise and fall times
∗
tsys indicates three values according to the contents of the clock control register (address; 00FEH) upper 2
Note 2) CS, SCK, SI and SO means each pin of CS → CS0, SCK → SCK0, SI →SI0, and SO → SO0 respectively.
Note 3) The load of SCK output mode and SO output delay time is 50pF + 1TTL.
– 18 –
Page 19
CXP81952/81960
Serial transfer (CH0)(Ta = –20 to +75°C, VDD = 3.0 to 3.6V, Vss = 0V)
Note 2) CS, SCK, SI and SO means each pin of CS → CS0, SCK → SCK0, SI → SI0, and SO → SO0 respectively.
Note 3) The load of SCK output mode and SO output delay time is 50pF.
– 19 –
Page 20
Fig. 4. Serial transfer timing (CH0)
CXP81952/81960
tWHCS
CS0
SCK0
DD
0.2V
tKCY
tDCSKtDCSKF
tKLtKH
0.8VDD
0.2VDD
SIK
tKSI
t
0.8VDD
0.8VDD
SI0
SO0
0.8VDD
Input
data
0.2VDD
tDCSOtKSOtDCSOF
Output
data
0.8V
DD
0.2VDD
– 20 –
Page 21
CXP81952/81960
Serial transfer (CH1)(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
ItemSymbolPinMin.Max.UnitCondition
SCK1 cycle time
SCK1 high and low
level widths
SI1 input setup time
(against SCK1 ↑)
SI1 input hold time
(against SCK1 ↑)
SCK1 ↓→SO1 delay
time
Note 1) tsys indicates three values according to the contents of the clock control register (address; 00FEH)
Resolution
Linearity error
Absolute error
Conversion time
Sampling time
Reference input voltage
Analog input voltage
tCONV
tSAMP
VREF
VIAN
IREF
AVREF current
IREFS
(Ta = –20 to +75°C, VDD = AVDD = 3.0 to 3.6V, AVREF = 2.7 to AVDD, Vss = AVSS = 0V)
ItemSymbolPins
Resolution
Linearity error
Absolute error
Conversion time
Sampling time
Reference input voltage
Analog input voltage
tCONV
tSAMP
VREF
VIAN
IREF
AVREF current
IREFS
(Ta = –20 to +75°C, VDD = AVDD = 4.5 to 5.5V, AVREF = 4.0 to AVDD, Vss = AVSS = 0V)
8
Ta = 25°C
±1±2LSB
VDD = AVDD = AVREF = 5.0V
VSS = AVSS = 0V
∗
∗
AVDD
0
0.6
1.0
10µA
AVREF
AN0 to AN11
AVREF
VDD = AVDD = 4.5 to 5.5V
Operating mode
SLEEP mode
STOP mode
160/fADC
12/fADC
AVDD – 0.5
32kHz operating mode
Conditions
Min.
Typ.Max.Unit
8
Ta = 25°C
±1±2LSB
VDD = AVDD = AVREF = 5.0V
VSS = AVSS = 0V
∗
∗
0
0.4
0.7
10
AVREF
AN0 to AN11
AVREF
VDD = AVDD = 3.0 to 3.6V
Operating mode
SLEEP mode
STOP mode
160/fADC
12/fADC
AVDD – 0.3
32kHz operating mode
Bits
LSB
µs
µs
V
V
mA
Bits
LSB
µs
µs
VAVDD
mA
µA
Fig. 7. Definitions of A/D converter terms
FFH
FEH
Digital conversion value
01H
00H
Linearity error
Analog input
V
FTVZT
∗
The value of fADC is as follows by selecting ADC
operation clock (MSC: Address 01FFH bit 0).
When PS2 is selected, fADC = fc/2
When PS1 is selected, fADC = fc
– 23 –
Page 24
(5) Interruption, reset input(Ta = –20 to +75°C, VDD = 3.0 to 5.5V, Vss = 0V)