CXP82032/82040/82052/82060
CMOS 8-bit Single Chip Microcomputer
Description
The CXP82032/82040/82052/82060 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 panel controller/driver, remote control
reception circuit, and PWM output besides the basic
configurations of 8-bit CPU, ROM, RAM, and I/O port.
The CXP82032/82040/82052/82060 also provides
sleep/stop function that enables lower power
consumption.
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 cycle
250ns at 16MHz operation
122µs at 32kHz operation
•
Incorporated ROM capacity
32k bytes (CXP82032)
40k bytes (CXP82040)
52K bytes (CXP82052)
60K bytes (CXP82060)
•
Incorporated RAM capacity
3984 bytes (including fluorescent display area)
•
Peripheral functions
— A/D converter
8 bits, 8 channels, successive approximation method
(Conversion time of 3.25µs/16MHz)
— Serial interface
Buffer RAM incorporated (Auto transfer for 1 to 32 bytes), 1 channel
8-bit clock synchronized type (MSB/LSB first selectable), 1 channel
Start-stop synchronized type (UART), 1 channel
— Timers
8-bit timer, 8-bit timer/counter, 19-bit time-base timer
16-bit capture timer/counter, 32kHz timer/counter
— Fluorescent display panel controller/driver Supports the universal grid fluorescent display panel.
High voltage drive output port of 56 pins (40V)
Maximum of 640 segments display possible
Display timing number of 1 to 20
Dimmer function
Incorporated pull-down resistor (Mask option)
Hardware key scan function (Maximum of 16
×
8 key matrix
supportable)
— Remote control reception circuit
8-bit pulse measurement counter, 6-stage FIFO
— PWM output
14 bits, 1 channel
•
Interruption
17 factors, 15 vectors, multi-interruption possible
•
Standby mode
Sleep/stop
•
Package
100-pin plastic QFP
•
Piggy/evaluation chip
CXP82000 100-pin ceramic 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.
Structure
Silicon gate CMOS IC
–1–
E97413A95-PS
Block Diagram
INT0
INT1
INT2
INT3/NMI
TEX
TX
EXTAL
XTAL
RST
V
DD
V
SS
2
SPC 700
CPU CORE
RAM
8
CLOCK GENERATOR/
SYSTEM CONTROL
G0/A0 to G15/A15 16
A16 to A23
8
PORT A
8
AN0 to AN7
8
A/D CONVERTER
PA0 to PA7
A24 to A56
V
FDP
KR0 to KR7
RAM
ROM
32K/40K/ 52K/60K
BYTES
RAM
3984
BYTES
8
KEY SCAN
PORT B
32
FDP
CONTROLLER/
DRIVER
PB0 to PB7
8
PC0 to PC7
TxD
UART RECEIVER
UART TRANSMITTER
PORT C
RxD
PWM
14-BIT PWM GENERATOR
INTERRUPT CONTROLLER
PORT D
UART BAUD RATE
GENERATOR
8
PD0 to PD7
RMC
FIFO
REMOCON
PORT E
CS0
SI0
SO0
SCK0
BUFFER
RAM
SERIAL
INTERFACE
(CH0)
PORT F
SI1
SO1
SCK1
2
SERIAL INTERFACE (CH1)
PRESCALER/
TIME-BASE TIMER
32kHz
TIMER/COUNTER
PORT G
8-BIT TIMER 1
2
PORT H
TO
CINT
EC1
2
16-BIT CAPTURE
TIMER/COUNTER 2
CXP82032/82040/82052/82060
ADJ
PORT I
–2–
6
2
PE0 to PE5
PE6 to PE7
8
PF0 to PF7
8
PG0 to PG7
EC0
8-BIT TIMER/COUNTER 0
8
PH0 to PH7
4
PI0 to PI4
CXP82032/82040/82052/82060
Pin Assignment
(Top View)
G2/A2
G3/A3
G4/A4
G5/A5
G6/A6
G7/A7
G8/A8
G9/A9
G10/A10
G11/A11
G12/A12
G13/A13
G14/A14
G15/A15
V
DD
A16
A17
A18
A19
A20
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
G1/A1
G0/A0
NC
PE0/EC0/INT0
PE1/EC1/INT1
PE2/INT2
PE3/INT3/NMI
PE4/RMC
PE5/CINT
PE6/PWM
PE7/TO/ADJ
PC0/KR0
PC1/KR1
PC2/KR2
PC3/KR3
PC4/KR4
PC5/KR5
PC6/KR6
PC7/KR7
PB0/TxD
PB1/CS0/RxD
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
PI0
PA0/AN0
PA1/AN1
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
A21
A22
A23
PH7/A24
PH6/A25
PH5/A26
PH4/A27
PH3/A28
PH2/A29
PH1/A30
PH0/A31
PG7/A32
PG6/A33
PG5/A34
PG4/A35
PG3/A36
PG2/A37
PG1/A38
PG0/A39
PF7/A40
PF6/A41
PF5/A42
PF4/A43
PF3/A44
PF2/A45
PF1/A46
PF0/A47
PD7/A48
PD6/A49
PD5/A50
PI3/TEX
Note)
1. NC (Pin 3) is left open.
2. V
DD
(Pins 44 and 89) must be connected to V
DD
.
–3–
PA2/AN2
PA3/AN3
PA4/AN4
PA5/AN5
PA6/AN6
PA7/AN7
PD0/A55
PD1/A54
PD2/A53
PD3/A52
PD4/A51
PI2/TX
EXTAL
XTAL
V
FDP
RST
V
DD
Vss
PI1
CXP82032/82040/82052/82060
Pin Description
Symbol
I/O
Functions
(Port A)
8-bit I/O port. I/O can be set in a
unit of single bits. Incorporation
of the pull-up resistor can be set
through the program in a unit of
4 bits.
(8 pins)
PA0/AN0
to
PA7/AN7
I/O/
Analog input
Analog inputs to A/D converter.
(8 pins)
PB0/TxD
PB1/CS0/
RxD
PB2/SCK0
PB3/SI0
PB4/SO0
PB5/SCK1
PB6/SI1
PB7/SO1
I/O/Output
I/O/Input/
Input
I/O/I/O
I/O/Input
I/O/Output
I/O/I/O
I/O/Input
I/O/Output
(Port C)
8-bit I/O port. I/O can be set in a
unit of single bits. Can drive
12mA sink current.
Incorporation of the pull-up
resistor can be set through the
program in a unit of 4 bits.
(8 pins)
(Port D)
8-bit I/O port. I/O can be set in a
unit of single bits.
(8 pins)
UART transmission data output.
Chip select input
for serial interface
(CH0).
UART reception
data input pin.
(Port B)
8-bit I/O port. I/O can be set in a
unit of single bits. Incorporation
of the pull-up resistor can be set
through the program in a unit of
4 bits.
(8 pins)
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).
PC0/KR0
to
PC7/KR7
I/O/Input
Serves as key return inputs when
operating key scan with fluorescent
display panel (FDP) segment signal.
(8 pins)
PD0/A55
to
PD7/A48
PE0/INT0/
EC0
PE1/INT1/
EC1
PE2/INT2
PE3/INT3/
NMI
PE4/RMC
PE5/CINT
PE6/PWM
PE7/TO/
ADJ
I/O/Output
FDP segment signal (anode
connection) outputs.
Input/Input/
Input
Input/Input/
Input
Input/Input
Input/Input/
Input
Input/Input
Input/Input
Output/Output
Output/Output/
Output
(Port E)
8-bit port. Lower 6 bits are for
inputs; upper 2 bits are for
outputs.
(8 pins)
Inputs for
external
interruption
request.
(4 pins)
External event inputs
for timer/counter.
(2 pins)
Non-maskable
interruption request input.
Remote control reception circuit input.
External capture input to 16-bit
timer/counter.
14-bit PWM output.
Output for the 16-bit timer/counter
rectangular waves, and 32kHz
oscillation frequency division.
–4–
CXP82032/82040/82052/82060
Symbol
PF0/A47
to
PF7/A40
PG0/A39
to
PG7/A32
PH0/A31
to
PH7/A24
PI0
PI1
PI2/TX
PI3/TEX
A16 to A23
G0/A0
to
G15/A15
V
FDP
EXTAL
XTAL
RST
NC
V
DD
V
SS
Input
Input
I/O
Functions
(Port F)
8-bit I/O port. I/O can be set in a
unit of single bits.
(8 pins)
(Port G)
8-bit output port.
(8 pins)
(Port H)
8-bit output port.
(8 pins)
FDP segment signal (anode
connection) outputs.
(8 pins)
FDP segment signal (anode
connection) outputs.
(8 pins)
FDP segment signal (anode
connection) outputs.
(8 pins)
I/O/Output
Output/Output
Output/Output
Input
Input
Input
Input/Input
Output
(Port I)
4-bit input port.
(4 pins)
Crystal connectors for 32kHz timer/counter clock
oscillation. For usage as event counter, input to TEX,
and leave TX open.
FDP segment signal (anode connection) outputs.
(8 pins)
Outputs for FDP timing signals (grid connection)/segment signals (anode
connection).
(16 pins)
FDP voltage supply when incorporated pull-down (PD) resistor is set 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.
Low-level active, system reset.
NC. Under normal operation, leave this pin open.
V
CC
supply.
GND.
Output/Output
–5–