CXP827P16
CMOS 8-bit Single Chip Microcomputer
Description
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 cycle 400ns at 10MHz
122µs at 32kHz
• On-chip PROM 16 Kbytes
• On-chip RAM 448 bytes (Including fluorescent display data area)
• Peripheral functions
— A/D converter 8-bit, 8-channel, successive approximation system
(conversion rate 32µs/10MHz)
— Serial interface On-chip 8-bit, 8-stage FIFO (1 to 8 bytes auto transfer),
2 channels for 1 circuit
— Timers 8-bit timer
8-bit timer/counter
19-bit time-base timer
32kHz timer/counter
— Fluorescent display panel controller/driver
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 circuit On-chip 6-stage FIFO 8-bit pulse measurement counter
— PWM output 8-bit, 1-channel
• Interrupts 13 factors, 13 vectors multi-interruption possible
• Standby mode SLEEP/STOP
• Package 64-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.
– 1 –
E93Z22-ST
Pin Configuration (Top View)
CXP827P16
PH0/TX
PH1/TEX
VPP
PE6/ADJ/TO
PB0/CS1
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PC0/KR0
PC1/KR1
PC2/KR2
PC3/KR3
PC4/KR4
PC5/KR5
PC6/KR6
PC7/KR7
PA0/AN0
PA1/AN1
PA2/AN2
PA3/AN3
PA4/AN4
PA5/AN5
PA6/AN6
PA7/AN7
RST
EXTAL
XTAL
Vss
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
1
2
3
4
5
6
7
8
9
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
DD
V
PE5/PWM
PE4/RMC
PE3/INT3/NMI
PE2/INT2
PE1/INT1
PE0/EC/INT0
VFDP
T0
T1
T2
T3
T4
T5
T6
T7
T8/S28
T9/S27
T10/S26
T11/S25
T12/S24
T13/S23
T14/S22
T15/S21
S20
S19
S18
S17
S16
PF7/S15
PF6/S14
PF5/S13
Note) 1. Vpp (Pin 3) is always connected to VDD.
2. PH0/TX (Pin 1) is input port during port selection;
oscillation output during oscillation selection
– 3 –
Pin Description
CXP827P16
Symbol
PA0/AN0
to
PA7/AN7
PB0/CS1
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PC0/KR0
to
PC7/KR7
I/O
I/O/Analog Input
I/O/Input
I/O/Input
I/O/I/O
I/O/Input
I/O/Output
I/O/I/O
I/O/Input
I/O/Output
I/O/Input
(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 –
Symbol I/O Functions
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
Input System 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.
Positive power supply.
GND
– 5 –
Pull-up resistor
"0" when reset
"0" when reset
∗ Pull-up transistors
approx. 100kΩ
∗
Schmitt input
CS0
CS1
SI0
SI1
SI0 and SI1 are not schmitt input.
Port B output
selection
"0" when reset
∗ Pull-up transistors
approx. 100kΩ
∗
Schmitt input
SCK IN
Port B direction
"0" when reset
Pull-up resistor
"0" when reset
SCK OUT
Serial clock output enable
I/O Circuit Format for Pins
CXP827P16
Pin
PA0/AN0
to
PA7/AN7
8 pins
Port A
Port B
Data bus
Pull-up resistor
"0" when reset
Port A data
Port A direction
"0" when reset
RD (Port A)
Port A input
selection
"0" when reset
Circuit format
A/D converter
Input multiplexer
∗ Pull-up transistors
approx. 100kΩ
*
IP
Input protection
circuit
When reset
Hi-Z
PB0/CS1
PB1/CS0
PB3/SI0
PB6/SI1
4 pins
PB2/SCK0
PB5/SCK1
2 pins
Port B
Hi-Z
Hi-Z
– 6 –
CXP827P16
Pin
PB4/SO0
PB7/SO1
2 pins
Port B
Serial data output enable
Data bus
RD (Port B)
Port C
Pull-up resistor
"0" when reset
Pull-up resistor
"0" when reset
Port B output
selection
"0" when reset
Port B data
Port B direction
"0" when reset
SO
Circuit format
IP
∗ Pull-up transistors
approx. 100kΩ
2
∗
When reset
∗
Hi-Z
PC0/KR0
to
PC7/KR7
8 pins
PE0/EC/INT0
PE1/INT1
PE2/INT2
PE3/INT3/NMI
PE4/RMC
5 pins
Data bus
Port E
Port C data
Port C direction
"0" when reset
RD (Port C)
Key input signal
IP
Schmitt input
1
∗
IP
∗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 –