CXP82940/82948/82952/82960
CMOS 8-bit Single Chip Microcomputer
Description
The CXP82940/82948/82952/82960 is a CMOS 8-bit
single chip microcomputer integrating on a single
chip an A/D converter, serial interface, timer/counter,
time base timer, fluorescent display panel
controller/driver, I
2
C bus interface, remote control
transmission circuit, remote control reception circuit,
and 32kHz timer/counter besides the basic
configurations of 8-bit CPU, ROM, RAM, and I/O
port.
80 pin QFP (Plastic)
Structure
Features1
Silicon gate CMOS IC
•
Wide-range instruction system (213 instructions)
to cover various types of data
— 16-bit arithmetic/multiplication and division/boolean bit operation instructions
•
Minimum instruction cycle
250ns at 16MHz operation
(122µs at 32kHz operation)
•
Incorporated ROM capacity
40K bytes (CXP82940)
48K bytes (CXP82948)
52K bytes (CXP82952)
60K bytes (CXP82960)
•
Incorporated RAM capacity
2048 bytes (including fluorescent display area)
•
Periphera; functions
— A/D converter
8-bit, 8-channel, successive approximation method
(Conversion time of 20µs/16MHz)
— Serial interface
Buffer RAM incorporated (Auto transfer for 1 to 32 bytes), 1 channel
8-bit, 8-stage FIFO incorporated
(Auto transfer for 1 to 8 bytes), 1 channel
— Timers
8-bit timer, 8-bit timer/counter, 19-bit time base timer
32kHz timer/counter
— Fluorescent display panel controller/driver Maximum of 196 segments display possible
1 to 16-digit dynamic display
Dimmer function
High voltage drive output (40V)
Incorporated pull-down resistor (Mask option)
Hardware key scan function
Maximum of 12
×
8 key matrix supportable
— I
2
C bus interface
— Remote control transmission circuit
Auto transmission for 1 to 32 bytes,
restart function, carrier output function
— Remote control reception circuit
8-bit pulse measurement counter, 6-stage FIFO
•
Interruption
16 factors, 15 vectors, multi-interruption possible
•
Standby mode
SLEEP/STOP
•
Package
80-pin plastic QFP
•
Piggyback/evaluation chip
CXP82900 80-pin ceramic QFP
Perchase of Sony’s I
2
C components conveys a licence under the Philips I
2
C Patent Rights to use these components
in an I
2
C system, provided that the system conforms to the I
2
C Standard Specifications as defined by Philips.
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–
E95130-PK
Block Diagram
AV
SS
AV
REF
AV
DD
INT0
INT1
INT2
INT3/NMI
TEX
TX
EXTAL
XTAL
2
T0 to T7
RAM
8
SPC 700
CPU CORE
8
CLOCK
GENERATOR
SYSTEM CONTROL
8
T8/S19 to T15/S12
8
PORT A
AN0 to AN7
8
A/D CONVERTER
RST
V
DD
V
SS
PA0 to PA7
S0 to S11
V
FDP
KR0 to KR7
RAM
BUFFER
RAM
FIFO
ROM
40K/48K/52K/60K
BYTES
RAM
2048 BYTES
8
KEY SCAN
PORT B
12
FDP
CONTROLLER/
DRIVER
PB0 to PB7
RMCO
REMOCON OUT
PORT C
8
PC0 to PC7
PORT D
CS0
SI0
SO0
SCK0
BUFFER
RAM
FIFO
PRESCALER/
TIME BASE TIMER
2
SERIAL
INTERFACE
UNIT (CH0)
PORT E
SI1
SO1
SCK1
EC
8 BIT TIMER/COUNTER 0
PORT F
SCL0
SCL1
SDA0
SDA1
2
I
2
C BUS
INTERFACE UNIT
CXP82940/82948/82952/82960
ADJ
PORT G
–2–
RMC
REMOCON IN
INTERRUPT CONTROLLER
8
PD0 to PD7
6
2
PE0 to PE5
PE6 to PE7
SERIAL
INTERFACE
UNIT (CH1)
32KHz
TIMER/COUNTER
4
PF0 to PF3
TO
8 BIT TIMER 1
4
PG0 to PG3
CXP82940/82948/82952/82960
Pin Assignment
(Top View)
PE0/EC/INT0
PG3
PG2
PG1
PG0
TEX
V
DD
NC
TX
T0
T1
T2
T3
T4
T5
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
PE1/INT1
PE2/INT2
PE3/INT3/NMI
PE4/RMC
PE5
PE6/RMCO
PE7/TO/ADJ
PB0
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PA0/AN0
PA1/AN1
PA2/AN2
PA3/AN3
PA4/AN4
PA5/AN5
PA6/AN6
PA7/AN7
AV
DD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
T7
T8/S19
T9/S18
T10/S17
T11/S16
T12/S15
T13/S14
T14/S13
T15/S12
S11
S10
S9
S8
PD7/S7
PD6/S6
PD5/S5
PD4/S4
PD3/S3
PD2/S2
PD1/S1
PD0/S0
V
FDP
PC7/KR7
PC6/KR6
PF1/SCL1
PF2/SDA0
PF3/SDA1
EXTAL
PC1/KR1
AV
SS
XTAL
V
SS
PC0/KR0
PC3/KR3
PF0/SCL0
Note)
NC (Pin 75) must be connected to V
DD
.
–3–
PC2/KR2
PC4/KR4
PC5/KR5
AV
REF
RST
T6
CXP82940/82948/82952/82960
Pin Description
Pin code
I/O
(Port A)
8-bit I/O port. I/O can
be set in a unit of
single bits.
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 unit of
single bits.
Incorporation of pull-up
resistor can be set
through the software in
a unit of 4 bits.
(8 pins)
Functions
PA0/AN0
to
PA7/AN7
I/O/
Analog input
Analog inputs to A/D converter. (8 pins)
PB0
PB1/CS0
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
I/O
I/O/Input
I/O/I/O
I/O/Input
I/O/Output
I/O/I/O
I/O/Input
I/O/Output
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 unit of single
bits. Capable of driving
Serves as key return inputs when operating
12mA sync current.
key scan with fluorescent display panel (FDP)
Incorporation of pull-up
segment signal (8 pins).
resistor can be set
through the software in
a unit of 4 bits.
(8 pins)
Inputs for
external
interruption
request.
(4 pins)
External event inputs for
timer/counter.
PC0/KR0
to
PC7/KR7
I/O/Input
PE0/INT0/EC
PE1/INT1
PE2/INT2
PE3/INT3/
NMI
PE4/RMC
PE5
PE6/RMCO
PE7/TO/ADJ
PF0/SCL0
PF1/SCL1
PF2/SDA0
PF3/SDA1
Input/Input/Input
Input/Input
Input/Input
Input/Input/Input
Input/Input
Input
Output/Output
Output/Output/
Output
Output/I/O
(Port E)
8-bit port. Lower 6 bits
are for inputs; upper
2 bits are for outputs.
(8 pins)
Non-maskable interruption
request input.
Remote control reception circuit input.
Carrier output of remote control transmission
circuit.
Output for the timer/counter rectangular waves,
and 32kHz oscillation dividing frequency.
(Port F)
Transfer clock I/Os for I
2
C bus interface.
4-bit output port,
operating as N-ch open
drain output for large
current (12mA).
Transfer data I/Os for I
2
C bus interface.
(4 pins)
Output/I/O
–4–
CXP82940/82948/82952/82960
Pin code
I/O
Functions
(Port G)
8-bit I/O port. I/O can be set in a unit of single bits.
Incorporation of pull-up resistor can be set through the software in a unit
of 4 bits.
(4 pins)
(Port D)
8-bit output ports.
(8 pins)
FDP segment signal outputs.
(8 pins)
PG0 to PG3
I/O
PD0/S0
to
PD7/S7
S8 to S11
T8/S12
to
T15/S19
T0 to T7
V
FDP
EXTAL
XTAL
TEX
TX
RST
NC
AV
DD
AV
REF
AV
SS
V
DD
V
SS
Output/Output
Output
Output/Output
Output
FDP segment signal outputs. (4 pins)
Outputs for FDP timing signals/segment signals.
(8 pins)
FDP timing signal outputs.
FDP voltage supply when incorporated resistor is set by mask option.
Input
Output
Input
Output
Input
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. 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.
NC. Under normal operation, connect to V
DD
.
Positive power supply for A/D converter.
Input
Reference voltage input for A/D converter.
A/D converter GND.
Positive power supply.
GND.
–5–