The CXP82832/82840/82852/82860 is a CMOS 8bit single chip microcomputer integrating on a single
chip an A/D converter, serial interface, timer/counter,
time base timer, capture timer/counter, fluorescent
display panel controller/driver, remote control
reception circuit, and PWM output besides the basic
configurations of 8-bit CPU, ROM, RAM, and I/O port.
The CXP82832/82840/82852/82860 also provides
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
High voltage drive output port of 56 pins (40V)
Maximum of 640 segments display possible
Display timing number of 1 to 20
Dimmer function
Incorporated pull-down resistor (Mask option)
Hardware key scan function (Maximum of 16 × 8 key matrix
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 a
unit of single bits. Incorporation
of the pull-up resistor can be set
through the software in a unit of
4 bits.
(8 pins)
(Port C)
8-bit I/O port. I/O can be set in a
unit of single bits. Can drive
12mA sync current.
Incorporation of the pull-up
resistor can be set through the
software in a unit of 4 bits.
(8 pins)
(Port D)
8-bit output port.
(8 pins)
(Port E)
8-bit port. Lower 6 bits are for
inputs; upper 2 bits are for
outputs.
(8 pins)
Capture input to 16-bit timer/counter.
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).
Serves as key return inputs when
operating key scan with fluorescent
display panel (FDP) segment signal.
(8 pins)
FDP segment signal (anode
connection) outputs.
External event inputs
Inputs for
external
for timer/counter.
(2 pins)
interruption
request.
(4 pins)
Non-maskable
interruption request input.
Remote control reception circuit input.
PE6/PWM
PE7/TO/ADJ
PF0/A47
to
PF7/A40
Output/Output
Output/Output/
Output
Output/Output
(Port F)
8-bit output port.
(8pins)
14-bit PWM output.
Output for the 16-bit timer/counter
rectangular waves, and 32kHz
oscillation frequency division.
FDP segment signal (anode
connection) outputs.
– 4 –
Page 5
Pin codeI/OFunctions
CXP82832/82840/82852/82860
PG0/A39
to
PG7/A32
PH0/A31
to
PH7/A24
G0/A0
to
G15/A15
VFDP
EXTAL
XTAL
TEX
TX
RST
NC
Output/Output
Output/Output
OutputA16 to A23
Output/Output
Input
Output
Input
Output
Input
(Port G)
8-bit output port.
(8 pins)
(Port H)
8-bit output port.
(8 pins)
FDP segment signal (anode
connection) outputs.
(8 pins)
FDP segment signal (anode
connection) outputs.
(8 pins)
FDP segment signal (anode connection) outputs.
(8 pins)
Outputs for FDP timing signals (grid connection)/segment signals (anode
connection).
(16 pins)
FDP voltage supply when incorporated pull-down (PD) resistor is set by
mask option.
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 oscillation. For usage
as event input, input to TEX, and open TX.
Low-level active, system reset
NC. Under normal operation, connect to VDD.
AVREF
AVSS
VDD
Port E output selection (upper)
Port E output selection (lower)
"00" when reset
TO
∗
1
ADJ16K
∗
2
ADJ2K
TO output enable
Circuit format
Output enable
Internal reset signal
00
01
MPX
10
11
∗
2
∗
1
ADJ signal is a frequency dividing
output for 32kHz oscillation frequency adjustment.
ADJ2 can be used for buzzer output.
∗
2
Pull-up transistor approx. 150kΩ
When reset
High level
High level
(with approx.
150kΩ
resistor when
reset)
1 pin
PD0/A55
to
PD7/A48
PF0/A47
to
PF7/A40
PG0/A39
to
PG7/A32
PH0/A31
to
PH7/A24
32 pins
Port D
Port F
Port G
Port H
Segment output data
Output selection control signal
("0" when reset)
Port D, F, G and H data
"0" when reset
Data bus
RD (Ports D, F, G and H)
OP
Pull-down resistor
∗
High voltage drive transistor
∗
Mask
option
FDP
V
Hi-Z or Low
level (when
PD resistor is
connected)
– 8 –
Page 9
CXP82832/82840/82852/82860
Pin
A16 to A23
8 pins
G0/A0
to
G15/A15
Segment output data
Output selection control signal
("0" when reset)
Segment output data
Timing output data
Output selection control signal
("0" when reset)
Circuit format
Mask option
Pull-down resistor
Mask option
Pull-down resistor
∗
OP
V
FDP
∗
High voltage drive transistor
∗
OP
V
FDP
When reset
Hi-Z or
Low level
(when PD
resistor is
connected)
Hi-Z or
Low level
(when PD
resistor is
connected)
16 pins
EXTAL
XTAL
2 pins
TEX
TX
2 pins
EXTAL
XTAL
TEX
TX
∗
High voltage drive transistor
• Diagram shows circuit
composition during
IP
IP
IP
IP
oscillation.
• Feedback resistor is
removed and XTAL
becomes High level
during stop.
• Diagram shows circuit
composition during
oscillation.
• 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.
Oscillation
Oscillation
RST
1 pin
Mask option
Pull-up resistor
OP
OP
– 9 –
Low level
IP
Schmitt input
Page 10
CXP82832/82840/82852/82860
Absolute Maximum Ratings(Vss = 0V reference)
ItemSymbolRatingUnitRemarks
Supply voltage
A/D converter GND voltage
A/D converter reference
voltage
FDP display supply voltage
Input voltage
Output voltage
Display output voltage
High level output current
High level total output
current
Low level output current
Low level total output current
VDD
AVSS
AVREF
VFDP
VIN
VOUT
VOD
IOH
IODH1
IODH2
∑IOH
∑IODH
IOL
IOLC∑IOL
–0.3 to +7.0
–0.3 to +0.3
–0.3 to +7.0
–40∗2to +7.0
–0.3 to +7.0
–0.3 to +7.0
–40∗2to +7.0
–5
–15
–50
–30
–120
15
20
100
∗1
∗1
∗1
∗1
∗1
V
V
V
V
V
V
V
All pins excluding outputs∗3(value per pin)
mA
Display outputs A20 to A55 (value per pin)
mA
Display outputs G0/A0 to G15/A15, and
mA
A16 to A19 (value per pin)
Total for all pins excluding display outputs
mA
Total for all display outputs
mA
Port (value per pin)
mA
Large current port (value per pin)
mA
Total for all output pins
mA
∗4
Operating temperature
Storage temperature
Allowable power dissipation
∗1
VIN, VOUT, VOD and AVREF must not exceed VDD + 0.3V.
∗2
VFDP and VOD must not exceed VDD – 40V.
∗3
Specifies output current of general-purpose I/O ports.
∗4
The large current drive transistor is the N-CH transistor of Port C (PC).
Topr
Tstg
PD
–20 to +75
–55 to +150
600
°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.
Note 1) tsys indicates the three values below according to the upper two bits (CPU clock selection) of the
control clock registor (CLC: 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 output mode, SO0 output delay time is 50pF + 1TTL.
– 15 –
Page 16
Fig. 4. Serial transfer CH0 timing
CS0
DD
0.2V
CXP82832/82840/82852/82860
tWHCS
0.8VDD
tKCY
SCK0
SI0
tDCSK
tKLtKH
t
SIKtKSI
Input data
0.8VDD
0.2VDD
0.8VDD
0.2VDD
tDCSKF
0.8VDD
SO0
t
DCSOtKSOtDCSOF
Output data
– 16 –
0.8V
DD
0.2VDD
Page 17
CXP82832/82840/82852/82860
Serial transfer (CH1)(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Item
SCK1 cycle time
SCK1
High, Low level width
SI1 input set-up time
(for SCK1 ↑)
SI1 input hold time
(for SCK1 ↑)
SymbolPinConditionMin.Max.Unit
tKCY
tKH
tKL
tSIK
tKSI
SCK1
Input mode
Ouput mode
Input mode
SCK1
Ouput mode
SCK1 input mode
SI1
SCK1 ouput mode
SCK1 input mode
SI1
SCK1 ouput mode
1000
16000/fc
400
8000/fc – 50
100
200
200
100
SCK1 input mode
SCK1 ↓→SO1 delay time
tKSO
SO1
SCK1 ouput mode
Note) The load condition for the SCK1 output mode, SO1 output delay time is 50pF + 1TTL.
Fig. 5. Serial transfer CH1 timing
tKCY
200
100
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
SCK1
SI1
SO1
tKLtKH
tSIK
Input data
tKSO
0.8VDD
0.2VDD
0.8VDD
0.2VDD
tKSI
0.8VDD
0.2VDD
Output data
– 17 –
Page 18
(3) A/D converter characteristics
(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, AVREF = 4.0 to VDD, Vss = AVSS = 0V reference)
ItemSymbolPinConditionMin.Typ.Max.Unit
CXP82832/82840/82852/82860
Resolution
Linearity error
Zero transition
voltage
Full-scale
transition voltage
Conversion time
Sampling time
Reference input voltage
Analog input voltage
∗1
VZT
∗2
VFT
tCONV
tSAMP
VREF
VIAN
AVREF
AN0 to AN7
IREF
AVREF current
AVREF
IREFS
Fig. 6. Definition of A/D converter terms
Ta = 25°C
VDD = AVREF = 5.0V
VSS = AVSS = 0V
Operation mode
SLEEP mode
STOP mode
32kHz operation mode
8
±3LSB
–10
4910mV
160/fADC
12/fADC
∗3
∗3
10
4970
VDD – 0.5
0
0.6
70mV
5030
VDD
AVREF
1.0
10µA
Bits
µs
µs
V
V
mA
FFH
FEH
Digital conversion value
01H
00H
Linearity error
Analog input
∗
1
VZT: Value at which the digital conversion value changes
from 00 H to 01H and vice versa.
∗
2
VFT: Value at which the digital conversion value changes
from FE H to FFH and vice versa.
∗
3
fADC indicates the below values due to the contents of bit 6
(CKS) of A/Dcontrol register (ADC: 00F9H) and bits 7 (PCK1)
and 6 (PCK0) of clock control register (CLC: 00FEH).
VFTVZT
PCK1, PCK0
00 (φ = fEX/2)
01 (φ = fEX/4)
11 (φ = fEX/16)
CKS
0 (φ/2 selection)
fADC = fC/2
fADC = fC/4
fADC = fC/16
1 (φ selection)
fADC = fC
fADC = fC/2
fADC = fC/8
– 18 –
Page 19
CXP82832/82840/82852/82860
(4) Interruption, reset input(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
ItemSymbolPinConditionMin.Max.Unit
INT0
External interruption
High, Low level width
tIH
tIL
INT1
INT2
1
µs
NMI/INT3
Reset input Low level width
Fig. 7. Interruption input timing
INT0
INT1
INT2
NMI/INT3
(NMI specifies only for the
falling edge)