The CXP827P16 microcomputer is composed of a
CPU, ROM, RAM, and I/O ports. These chips feature
many other high-performance circuits in a single-chip
CMOS design, including an A/D converter, serial
interface, timer/counter, time-base timer, fluorescent
display panel controller/driver, remote control receiver,
PWM output circuit and 32kHz timer/counter.
This IC also includes sleep/stop functions which
can be used to achieve low power consumption.
CXP827P16 is the PROM-incorporated version of
the CXP82716 with built-in mask ROM, and it is able to
write directly into the program. Thus, it is most suitable
for evaluation use during system development and for
small-quantity production.
Features
• Instruction set which supports a wide array of data types
— 213 types of instructions which include 16-bit calculations, multiplication and division arithmetic,
and Boolean bit operations.
• Minimum instruction cycle400ns at 10MHz
122µs at 32kHz
• On-chip PROM16 Kbytes
• On-chip RAM448 bytes (Including fluorescent display data area)
• Peripheral functions
— A/D converter8-bit, 8-channel, successive approximation system
(conversion rate 32µs/10MHz)
— Serial interfaceOn-chip 8-bit, 8-stage FIFO (1 to 8 bytes auto transfer),
High voltage drive output port of 24 pins (40V)
Maximum of 144 segments display available
1 to 16-digit dynamic display
Dimmer function
On-chip pull-down resistor
Hardware key scan function (Maximum of 8 × 8 key matrix available)
— Remote control receiver circuitOn-chip 6-stage FIFO 8-bit pulse measurement counter
— PWM output8-bit, 1-channel
• Interrupts13 factors, 13 vectors multi-interruption possible
• Standby modeSLEEP/STOP
• Package64-pin plastic SDIP
Structure
Silicon gate CMOS IC
64 pin SDIP (Plastic)
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 A)
8-bit I/O port. I/O can
be set in a bit unit.
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 bit unit.
Incorporation of 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 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)
Functions
Analog inputs to A/D converter.
(8 pins)
Chip select input for serial interface (CH1).
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).
Key return input for fluorescent display panel
(FDP) segment signal which performs key
scanning.
(8 pins)
PE0/INT0/
EC
PE1/INT1
PE2/INT2
PE3/INT3/
NMI
PE4/RMC
PE5
PE6/ADJ/TO
Input/Input/
Input
Input/Input
Input/Input
Input/Input/
Input
Input/Input
Output
Output
(Port E)
7-bit port.
Lower 5 bits are for
inputs; upper 2 bits are
for outputs.
(7 pins)
External event input to
External interrupt
timer/counter.
requests.
(4 pins)
Non-maskable interruption request input.
Input for remote control receiving circuit.
8-bit PWM output.
Output for timer/counter rectangular waveform
and 32kHz oscillation frequency division.
– 4 –
Page 5
SymbolI/OFunctions
PF5/S13
to
PF7/S15
S16 to S20
Output/Output
Output
(Port F)
3-bit output port.
(3 pins)
Segment signal output for FDP. (5 pins)
T8/S28
to
Output/Output
Output for FDP timing and segment signals. (8 pins)
T15/S21
CXP827P16
Segment signal output for FDP.
(3 pins)
T0 to T7
VFDP
EXTAL
XTAL
PH1/TEX
PH0/TX
Vpp
VDD
Vss
Output
Input
Output
Input/Input
Input/Output
InputSystem reset. Low-level active. RST is input pin.RST
Timing signal output for FDP. (8 pins)
FDP voltage supply when on-chip resistor is selected 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.
(Port H)
2-bit input
port.
(2 pins)
Crystal connectors for 32kHz timer/counter clock
oscillation circuit. Connect a 32kHz crystal oscillator
between TEX and TX. For usage as event input, connect
clock oscillation source to TEX, and leave TX open.
Positive power supply pin for writing of built-in PROM.
Under normal operating conditions, connect to VDD.
∗1 Large current drive of 12mA possible
∗2 Pull-up transistors approx. 100kΩ
EC/INT0
INT1
INT2
INT3/NMI
RMC
Data bus
RD (Port E)
Hi-Z
Hi-Z
– 7 –
Page 8
CXP827P16
PE5/PWM
1 pin
PE6/TO/ADJ
1 pin
Port E
PWM
Port E output
selection
"0" when reset
Port E data
"1" when reset
Data bus
RD (Port E)
Port E
Port E data
"1" when reset
ADJ16K∗
ADJ2K∗
Port E output selection(upper)
Port E output selection(lower)
"00" when reset
00
01
TO
1
10
1
11
TO output enable
Circuit format
Output enable
Internal reset signal
MPX
2
∗
∗1 ADJ signal is a frequency dividing output
for 32kHz oscillation frequency adjustment.
ADJ2K can be used for buzzer output.
∗2 Pull-up transistor approx. 150kΩ .
When resetPin
High level
High level
with approx.
150kΩ
resistor
(
when reset
)
PF5/S13
to
PF7/S15
3 pin
Port F
Segment output data
Output selection control signal
("0" when reset)
Port F data
Data bus
RD (Port F)
∗ High voltage drive transistor
∗
Hi-Z
– 8 –
Page 9
CXP827P16
Pin
S16 to S20
T15/S21
to
T8/S28
T0 to T7
21 pins
EXTAL
XTAL
2 pins
PH1/TEX
PH0/TX
Segment output data
Output selection control signal
("0" when reset)
EXTAL
XTAL
PH1/TEX
Circuit format
Pull-down
resistor
IP
IP
When reset
∗ High voltage drive transistor
∗
Low level
VFDP
• Diagram shows circuit
IP
construction for oscillation.
• During STOP feedback
resistor is disconnected,
and XTAL becomes "H"
level.
32kHz oscillation
circuit control
"1" when reset
Data
bus
RD (Port H)
Data
bus
IP
RD (Port H)
Clock
input
Oscillator
Oscillation
halted
prot input
2 pins
RST
1 pin
PH0/TX
Pull-up resistor
Low level
IP
Schmitt input
– 9 –
Page 10
CXP827P16
Absolute Maximum Ratings(Vss = 0V)
ItemSymbolRatingUnitRemarks
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
Operating temperature
Storage temperature
VDD
Vpp
VIN
VOUT
VOD
IOH
IODH1
IODH2
∑IOH
∑IODH
IOL
IOLC∑IOL
Topr
Tstg
–0.3 to +7.0
–0.3 to +13.0
–0.3 to +7.0∗
–0.3 to +7.0∗
1
1
VDD – 40 to VDD + 0.3
–5
–15
–35
–40
–100
15
20
100
–10 to +75
–55 to +150
V
V
V
V
V
mA
mA
mA
mA
mA
mA
mA
mA
°C
°C
Incorporated PROM
As P channel transistor is open drain,
VDD voltage is determined as reference.
Other than display putput pins∗2: per pin
Display output S13 to S20: per pin
Display output T0 to T7
T8/S28 to T15/S21: per pin
Total of other than display output pins
Total of display output pins
Port 1 pin
Large current port pin∗
3
Total of all pins
Allowable power dissipation
PD
1000
mW
∗1) VIN and VOUT must not exceed VDD+0.3V.
∗2) Specifies output current of general-purpose I/O ports.
∗3) The large current drive transistor is an N-ch transistor of Port C (PC).
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.
– 10 –
Page 11
CXP827P16
Recommended Operating Conditions(Vss = 0V)
ItemSymbolMin.Max.UnitRemarks
Guaranteed operation range for high speed
V
mode (1/2, 1/4 frequency dividing clock)
Guaranteed operation range for low speed
V
mode (1/16 frequency dividing clock)
V
Guaranteed operation range with TEX clock
Guaranteed data hold operation range
V
during STOP
4
V
∗
1
V
∗
V
Hysteresis input∗
V
EXTAL pin∗
1
V
∗
V
Hysteresis input∗
V
EXTAL pin∗
2
3
2
3
°C
Supply voltage
High level
input voltage
Low level
input voltage
Operating temperature
4.5
3.5
VDD
2.7
2.5
VppVpp = VDD
VIH
VIHS
VIHEX
VIL
VILS
VILEX
Topr
0.7VDD
0.8VDD
VDD – 0.4
0
0
–0.3
–10
VDD +0.3
0.3VDD
0.2VDD
5.5
5.5
5.5
5.5
VDD
VDD
0.4
+75
∗1) All regular input port (PA, PB4, PB7, PC, PH).
∗2) For pins RST, CS0, CS1, SI0, SI1 SCK0, SCK1, EC/INT0, INT1, INT2, INT3/NMI, RMC.
∗3) Specifies only for external clock input.
∗4) Vpp should be the same voltage as VDD.
– 11 –
Page 12
Electrical Characteristics
DC Characteristics
CXP827P16
(Ta = –10 to +75°C, Vss = 0V)
ItemSymbol
High level
output voltage
Low level
output voltage
Input current
I/O
leak current
Display
output current
Open drain
output leak
current (P-CH
Tr off state)
Note 1) tsys indicates the three values below according to the upper two bits (CPU clock selected) of the
control clock registor (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.
– 15 –
Page 16
Fig. 4. Serial transfer CH0 timing
CXP827P16
tWHCS
CS0
(CS1)
SCK0
(SCK1)
SI0
(SI1)
0.2V
tDCSK
DD
tKCY
tKLtKH
tKSI
SIK
t
Input
data
0.8VDD
0.2VDD
0.8VDD
0.2VDD
0.8VDD
tDCSKF
0.8VDD
SO0
(SO1)
DCSOtKSOtDCSOF
t
Output
data
– 16 –
0.8VDD
0.2VDD
Page 17
CXP827P16
(3) A/D converter characteristics(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
ItemSymbolPinConditionMin.Typ.Max.Unit
Resolution
8
Bits
Linearity error
Zero transition
voltage
Full-scale transition
voltage
Conversion time
Sampling time
Analog input voltage
VZT∗
VFT∗
tCONV
tSAMP
VIAN
1
2
AN0 to AN7
Fig. 5. Definition of A/D converter terms
FFH
FEH
Digital conversion value
01H
00H
Linearity error
Analog input
FTVZT
V
±3LSB
Ta = 25°C
VDD = 5.0V
–10
10
70mV
VSS = 0V
4910mV
160/fADC∗
12/fADC∗
4970
3
3
5030
0
∗1)V ZT : Value at which the digital conversion value changes
from 00 H to 01H and vice versa.
∗2)V FT : Value at which the digital conversion value changes
from FE H to FFH and vice versa.
∗3)f ADC indicates the below values due to the bit 6 (CKS) of
A/D control registor (ADC: 00F9 H) and the bit 7 (PCK1)
and bit 6 (PCK0) of clock control registor (CLC: 00FE H)
CKS
PCK1, 0
00 (φ= fEX/2)
0 (φ/2 selection)1 (φ selection)
fADC = fC/2
fADC = fC
µs
µs
VVDD
01 (φ= fEX/4)
11 (φ= fEX/16)
– 17 –
fADC = fC/4
fADC = fC/16
fADC = fC/2
fADC = fC/8
Page 18
(4) Interruption, reset input(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
ItemSymbolPinConditionMin.Max.Unit
INT0
External interruption
High and Low level widths
tIH
tIL
INT1
INT2
INT3
1
µs
NMI
CXP827P16
Reset input Low level width
Fig 6. Interruption input timing
INT0
INT1
INT2
INT3
NMI
(NMI is specified only for
the falling edge)