The CXP824P40A is a CMOS 8-bit single chip
microcomputer integrating on a single chip an A/D
converter, serial interface, timer/counter, time base
timer, capture timer counter, fluorescent display tube,
controller/driver, remote control reception circuit, CTL
duty detection circuit, 14-bit PWM output and highspeed output circuit besides the basic configurations
of 8-bit CPU, PROM, RAM, and I/O port.
The CXP824P40A also provides sleep/stop function
that enables lower power consumption.
CXP824P40A is the PROM-incorporated version of
the CXP82440A with built-in mask ROM. This
provides the additional feature of being able to write
directly into the program. Thus, it is most suitable for
evaluation use during system development and for
small-quantity production.
Structure
Silicon gate CMOS IC
100 pin QFP (Plastic)
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
— Serial interfaceIncorporated 8-bit, 8-stage FIFO
(Auto transfer for 1 to 8 bytes), 1 channel
8-bit clock sync type, 1 channel
— Timers8-bit timer, 8-bit timer/counter, 19-bit time base timer
16-bit capture timer/counter, 32kHz timer/counter
— Fluorescent display tube controller/driverMaximum of 384 segments display possible
1 to 16-digit dynamic display
Dimmer function
High voltage drive output (40V)
On-chip pull-down resistor (Mask option)
Hardware key scan function
(Maximum of 16 × 8 key matrix compatible)
— Remote control receiving circuitIncorporated noise elimination circuit
• Interruption19 factors, 15 vectors, multi-interruption possible
• Standby modeSLEEP/STOP
• Package100-pin plastic QFP
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 for
lower 7 bits can be set
in a unit of single bits.
Uppermost bit (PB7) is
for output only.
(8 pins)
(Port C)
8-bit I/O port. I/O can
be set in a unit of single
bits. Capable of driving
12mA sync current.
(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 FDP segment signal.
FDP segment signal outputs.
External event inputs for
Inputs for
external
timer/counter.
(2 pins)
interruption
request.
(4 pins)
Non-maskable interruption
request input.
Remote control reception circuit input.
Input for CTL duty direction circuit.
PE6/PWM
PE7/TO/
DDO/ADJ
PF0/S8
to
PF7/S15
PG0/RTO0
to
PG3/RTO3
PG4 to PG7
Output/Output
Output/Output/
Output/Output
Output/Output
I/O/Output
I/O
14-bit PWM output.
Output for the 16-bit timer/counter rectangular
waves, CTU duty detection, and 32kHz
oscillation frequency demultiplication.
(Port F)
8-bit output port.
FDP segment signal outputs.
(8 pins)
(Port G)
8-bit I/O port. I/O can
be set in a unit of single
bits. Data for the lower
Outputs for real-time pulse generator (RTG).
Functions as high-precision, real-time pulse
output port.
(4 pins)
4 bits are gated with the
contents of RTO or OR-gate output. (8 pins)
– 4 –
Page 5
Pin codeI/OFunctions
(Port H)
I/OPH0 to PH7
8-bit I/O port. I/O can be set in a unit of single bits.
(8 pins)
CXP824P40A
PI0/S16
to
PI7/S23
T8/S31
to
T15/S24
T0 to T7
VFDP
EXTAL
XTAL
TEX
TX
RST
AVREF
AVSS
VDD
Vpp
Output/Output
Output/Output
Output
Input
Output
Input
Output
Input
Input
(Port I)
8-bit output ports.
FDP segment signal outputs.
(8 pins)
Outputs for FDP timing (digit) signals/segment signals.
FDP timing signal outputs.
FDP voltage supply when incorporated resistor is set by mask option.
Crystal connectors 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. Set 32kHz
crystal oscillator between TEX and TX. For usage as event input, attach
clock source to TEX, and open TX.
Low-level active, system reset.
Reference voltage input for A/D converter.
A/D converter GND.
Vcc supply.
VCC supply for incorporated PROM writing.
ADJ signal is a frequency demultiplication
output for 32kHz oscillation frequency
adjustment.
ADJ2 can be used for buzzer output.
When reset
High level
High level
PG0/RTO0
to
PG3/RTO3
4 pins
PG4 to PG7
PH0 to PH7
12 pins
Port G
Port G
Port H
Data bus
Data bus
RTO data
“0” when reset
Port G data
Port G direction
“0” when reset
RD (Port G)
Port G or Port H data
Port G or Port H direction
“0” when reset
RD (Port G or Port H)
Hi-Z
IP
IP
Hi-Z
– 8 –
Page 9
CXP824P40A
Pin
PD0/S0
to
PD7/S7
PF0/S8
to
PF7/S15
PI0/S16
to
PI7/S23
24 pins
T15/S24
to
T8/S31
T0 to T7
16 pins
Port D
Port F
Port I
Output selection control signal
Data bus
Output selection control signal
Segment output data
(“0” when reset)
Data for Port D, F, or I
“0” when reset
RD (Port D, F, or I)
Segment output data
(“0” when reset)
Circuit format
Pull-down resistor
∗
Pull-down resistor
∗
High voltage drive transistor
∗
OP
Mask option
High voltage drive transistor
∗
OP
Mask option
V
FDP
When reset
Hi-Z or
Low level
(when PD
resistance is
added)
FDP
V
Hi-Z or
Low level
(when PD
resistance is
added)
EXTAL
XTAL
2 pins
TEX
TX
2 pins
RST
1 pin
EXTAL
XTAL
TEX
TX
• Diagram shows circuit
IP
IP
IP
IP
composition during
oscillation.
• Feedback resistor is
removed during stop.
• Diagram shows circuit
composition during
oscillation.
Oscillation
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.
Pull-up resistor
Hi-Z or
High level
OP
Mask option
IP
Schmitt input
(when pull-up
resistance is
added)
– 9 –
Page 10
CXP824P40A
Absolute Maximum Ratings(Vss = 0V reference)
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
VDD
Vpp
AVss
VIN
VOUT
VOD
IOH
IODH1
IODH2
∑IOH
∑IODH
IOL
IOLC∑IOL
Topr
–0.3 to +7.0
–0.3 to +13.0
–0.3 to +0.3
–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
–20 to +75
V
V
Incorporated PROM
V
V
V
As P channel transistor is open drain,
V
VDD is reference.
mA
All pins excluding outputs∗2(value per pin)
mA
Display outputs S0 to S23 (value per pin)
Display outputs T0 to T7, and T8/S31 to
mA
T15/S24 (value per pin)
mA
Total for all pins excluding display outputs
mA
Total for all display outputs
mA
Port 1
mA
High current Port 1
mA
Total for all output pins
∗3
°C
Storage temperature
Allowable power dissipation
∗
1) VIN and VOUT must not exceed VDD + 0.3V.
∗
2) Specifies output current of general-purpose I/O ports.
∗
3) The high current drive transistor is the N-CH transistor of Port C (PC).
Tstg
PD
–55 to +150
600
°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.