The CXP83120A/83124A 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, capture timer
counter, LCD controller/driver, remote control
reception circuit and 14-bit PWM output besides the
basic configurations of 8-bit CPU, ROM, RAM, and
I/O port.
The CXP83120A/83124A also provides 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
8µs at 500kHz
122µs at 32kHz operation
• Incorporated ROM capacity20Kbytes (CXP83120A)
24Kbytes (CXP83124A)
• Incorporated RAM capacity644bytes (includes LCD display data area)
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 single bit
unit.
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 single bit unit. 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)
External event inputs for
timer/counter.
(2 pins)
(Port E)
7-bit port. lower 5 bits
are for inputs; upper 2
bits are for outputs.
(7 pins)
External interruption request inputs.
(4 pins)
Non-maskable interruption request
input.
Remote control reception circuit input.
14-bit PWM output.
PE6/TO/
ADJ
PH0 to PH7
Output/Output/
Output
I/O
Rectangular wave output
for 16-bit timer/counter
(duty output 50%).
Output for 32kHz
oscillation
frequency division.
(Port H)
8-bit I/O port. I/O can be set in a single bit unit. Incorporation of pull-up
resistor can be set through the software in a unit of 4 bits.
(8 pins)
– 5 –
Page 6
SymbolI/OFunctions
CXP83120A/83124A
PD0/SEG16
to
PD7/SEG23
PF0/SEG24
to
PF7/SEG31
PG0/SEG32
to
PG7/SEG39
SEG0 to SEG15
COM0 to COM3
VLC1 to VLC3
VL
EXTAL1
XTAL1
EXTAL2
XTAL2
Output/Output
Output/Output
Output/Output
Output
Output
Output
Input
Input
(Port D)
8-bit output port.
(8 pins)
(Port F)
8-bit output port.
LCD segment signal output.
(8 pins)
(port G)
8-bit output port.
(8 pins)
LCD segment signal output.
LCD common signal output.
LCD bias power supply.
Control pin to cut off the current flowing to external LCD bias resistor
during standby.
Crystal connectors for system clock oscillation. When the clock is supplied
externally, input to EXTAL1; opposite phase clock should be input to XTAL1.
System clock oscillation of EXTAL1 and XTAL1 is used for normal operation
mode (Max. 10MHz).
Crystal connectors for system clock oscillation. When the clock is supplied
externally, input to EXTAL2; opposite phase clock should be input to XTAL2.
System clock oscillation of EXTAL2 and XTAL2 is used for sub clock mode
(Typ. 500kHz).
TEX
TX
RST
NC
AVREF
AVSS
VDD
VSS
Input
Output
Input
Input
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 leave TX
open.
Low-level active system reset.
NC. Under normal operating conditions, connect to VDD.
Reference voltage input for A/D converter.
A/D converter GND.
Positive power supply.
GND. Two VSS are connected to GND.
Pull-up transistors approx. 150kΩ.
ADJ signals are frequency divider outputs
for 32kHz oscillation frequency adjustment.
ADJ2K provides usage as buzzer output.
PH0 to PH7
8 pins
Port H
Data bus
Pull-up resistor
"0" when reset
Port H data
Port H direction
"0" when reset
RD (Port H)
∗
Hi-Z
IP
∗ Pull-up transistors approx. 100kΩ
– 9 –
Page 10
CXP83120A/83124A
Pin
PD0 to PD7
PF0 to PF7
PG0 to PG7
24 pins
SEG0 to
SEG15
16 pins
Port D
Port F
Port G
PD7 to PD4
PD3 to PD0
PF7 to PF0
PG7 to PG0
Segment
Common
by a single bit unit
by 4-bit unit
by 8-bit unit
VCH
VCL
Circuit format
Port data
Port/segment output
selection
"0" when reset
Segment data
When reset
Segment
output
(VDD level)
Segment
driver
VDD level
COM0 to
COM3
4 pins
VL
1 pin
VDD
VLC1
VLC2
VLC3
LCD control
(DSP bit)
"0" when reset
VDD level
Hi-Z
– 10 –
Page 11
CXP83120A/83124A
Pin
EXTAL1
XTAL1
2 pins
EXTAL2
XTAL2
2 pins
TEX
TX
2 pins
EXTAL1
XTAL1
EXTAL2
XTAL2
TEX
TX
Circuit format
IP
• Diagram shows circuit
composition during
IPIP
IP
IPIP
• 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.
• Feedback resistor is
removed during stop.
XTAL1 becomes "High"
level.
• Diagram shows circuit
composition during
oscillation.
• Feedback resistor is
removed during stop.
XTAL2 becomes "High"
level.
• Diagram shows circuit
composition during
oscillation.
When reset
Oscillation
EXTAL2
Hi-Z
XTAL2
High level
Oscillation
RST
1 pin
OP
Mask option
Pull-up resistor
Low level
IP
Schmitt input
– 11 –
Page 12
CXP83120A/83124A
Absolute Maximum Ratings(Vss = 0V)
ItemSymbolRatingUnitRemarks
Supply voltage
VDD
AVSS
LCD bias voltage
Input voltage
Output voltage
High level output current
High level total output current
VLC1, VLC2, VLC3
VIN
VOUT
IOH
∑IOH
IOL
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
–0.3 to +7.0
–0.3 to +0.3
–0.3 to +7.0
–0.3 to +7.0
–0.3 to +7.0
–5
–50
15
20
100
–20 to +75
–55 to +150
600
380
∗1
∗1
∗1
V
V
V
V
V
mA
mA
mA
mA
mA
°C
°C
mW
Output per pin
Total for all output pins
Value per pin, excluding high current outputs
Value per pin∗2for high current outputs
Total for all output pins
QFP package
LQFP package
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.
– 12 –
Page 13
CXP83120A/83124A
Recommended Operating Conditions(Vss = 0V)
ItemSymbolMin.Max.UnitRemarks
4.5
3.5
5.5
5.5
High-speed mode guaranteed operation range
Low-speed mode guaranteed operation range
∗1
∗1
Supply voltage
VDD
3.0
2.7
2.5
5.5
5.5
5.5
Guaranteed operation range during
V
EXTAL2 clock (sub clock mode)
Guaranteed operation range with TEX clock
Guaranteed data hold range during STOP
VLC1
LCD bias voltage
VLC2
Vss
VDD
V
LCD power supply range
∗5
VLC3
VIH
High level
input voltage
VIHS
VIHEX
VIL
Low level
input voltage
VILS
VILEX
Operating temperature
∗1
During EXTAL1 clock (main clock mode), high-speed mode is 1/2 frequency division clock selection; low-
Topr
0.7VDD
0.8VDD
VDD – 0.4
0
0
–0.3
–20
VDD
VDD
VDD + 0.3
0.3VDD
0.2VDD
0.4
+75
∗2
V
V
Hysteresis input
V
EXTAL
∗2
V
V
Hysteresis input
V
EXTAL
°C
∗3
∗4
∗3
∗4
speed mode is 1/16 frequency division clock selection.
∗2
Value for each pin of normal input ports (PA, PB4, PB7, PC and PH).
∗3
Value of the following pins; RST, CINT CS0, SI0, SI1, SCK0, SCK1, EC0/INT0, EC1/INT1, INT2, NMI/INT3,
and RMC.
STOP mode
VDD = 5.5V, 10MHz, 500kHz crystal
oscillation and termination of 32kHz
oscillation
– 14 –
930µA
10µA
Page 15
CXP83120A/83124A
ItemSymbolPinsConditionsMin.
Typ.Max.Unit
Pins other than
PB7, PE5, PE6
VLC1 to VLC3
COM0 to COM3
SEG0 to SEG15
Clock 1MHz
0V for all pins excluding
measured pins
1020
Input capacity
CIN
PD0/SEG16 to
PD7/SEG23
PF0/SEG24 to
PF7/SEG31
PG0/SEG32 to
PG7/SEG39
AVREF, AVSS,
VDD, VSS
∗1
Common pins of PD0/SEG16 to PD7/SEG23, PF0/SEG24 to PF7/SEG31, PG0/SEG32 to PG7/SEG39,
PD, PF and PG is the case when the common pin is selected as port; SEG16 to SEG39 is when the
common pin is selected as segment output.
∗2
RST specifies the input current when pull-up resitor has been selected; leakage current when no resistor
has been selected.
∗3
Pins PA to PC, and PH specifies the input current when pull-up resistor has been selected; leakage current
when no resistor has been selected. (PE0 to PE4 specifies the leakage current.)
∗4
When all output pins are left open.
pF
– 15 –
Page 16
A
A
A
AC Characteristics
(1) Clock timing
CXP83120A/83124A
(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
ItemSymbol
System clock frequency
System clock input
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.
– 17 –
Page 18
Fig. 4. Serial transfer CH0 timing
CXP83120A/83124A
tWHCS
CS0
SCK0
DD
0.2V
tKCY
tDCSKtDCSKF
tKLtKH
0.8VDD
0.2VDD
t
SIK
tKSI
0.8VDD
0.8VDD
SI0
SO0
0.8VDD
Input data
0.2VDD
t
DCSOtKSOtDCSOF
Output data
0.8V
DD
0.2VDD
– 18 –
Page 19
CXP83120A/83124A
Serial Transfer (CH1)(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
Item
SCK1 cycle time
SCK1 high and low level
widths
SI1 input setup time
(for SCK1 ↑)
SI1 input hold time
(for SCK1 ↑)
SymbolPinConditionsMin.Max.Unit
tKCY
tKH
tKL
tSIK
tKSI
SCK1
Input mode
Output mode
input mode
SCK1
Output mode
SCK1 input mode
SI1
SCK1 output mode
SCK1 input mode
SI1
SCK1 output mode
1000
16000/fc
400
8000/fc – 50
100
200
200
100
SCK1 input mode
SCK1 ↓ → SO1 delay time
tKSO
SO1
SCK1 output 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
– 19 –
Page 20
CXP83120A/83124A
(3) A/D converter characteristics(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = AVSS = 0V)
ItemSymbolPinConditionsMin.Typ.Max.Unit
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
FFH
FEH
Ta = 25°C
VDD = AVREF = 5.0V
VSS = AVSS = 0V
Operation mode
SLEEP mode
STOP mode
32kHz operation mode
8
±3
–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
LSB
µs
µs
V
V
mA
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 Bit 6 (CKS) of
A/D control register (address: 00F9H )and the Bit 7 (PCK1)
and Bit 6 (PCK0) of clock control register (address: 00FFH).
V
FTVZT
CKS
0 (φ/2 selection)
1 (φ selection)
PCK1, PCK0
00 (φ = fEX/2)
01 (φ = fEX/4)
11 (φ = fEX/16)
fADC = fC/2
fADC = fC/4
fADC = fC/16
fADC = fC
fADC = fC/2
fADC = fC/8
– 20 –
Page 21
(4) Interruption, reset input(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
ItemSymbolPinConditionsMin.Max.Unit
CXP83120A/83124A
External interruption
high and low level widths
Reset input low level width
Fig. 7. Interruption input timing
INT0
INT1
INT2
NMI / INT3
(NMI specifies only
for the falling edge)
tIH
tIL
tRSL
INT0
INT1
INT2
NMI/INT3
RST
tIHtIL
tILtIH
0.8VDD
1
32/fc
µs
µs
0.2VDD
Fig. 8. RST input timing
RST
tRSL
0.2VDD
– 21 –
Page 22
Appendix
A
A
A
A
A
Fig. 9. SPC700 series recommended oscillation circuit