Sony CXP820P60 Datasheet

CMOS 8-bit Single Chip Microcomputer
Description
The CXP820P60 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 circuit besides the basic configurations of 8-bit CPU, ROM, RAM, and I/O port.
The CXP820P60 also provides sleep/stop function that enables lower power consumption.
CXP820P60 is the PROM-incorporated version of the CXP82052/82060 with bult-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.
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 PROM capacity 60K bytes
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 Incorporated buffer RAM (Auto transfer for 1 to 32 bytes), 1 channel
8-bit clock synchronized type, (MSB/LSB first selectable), 1 channel Start-stop synchronization (UART), 1 channel
— Timer 8-bit timer, 8-bit timer/counter, 19-bit time-base timer
16-bit capture timer/counter, 32kHz timer/counter
— Fluorescent display panel Supports the universal grid fluorescent display panel
controller/driver 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
– 1 –
E97638-PS
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.
CXP820P60
100 pin QFP (Plastic)
Structure
Silicon gate CMOS IC
– 2 –
CXP820P60
8-BIT TIMER/COUNTER 0
8-BIT TIMER 1
UART BAUD RATE
GENERATOR
UART RECEIVER
UART TRANSMITTER
INT2
XTAL
PWM
RAM
3984 BYTES
SPC 700
CPU CORE
A/D CONVERTER
INT3/NMI INT1
INT0
AN0 to AN7
8
PA0 to PA7
FDP
CONTROLLER/
DRIVER
32kHz
TIMER/COUNTER
PRESCALER/
TIME-BASE TIMER
RST
V
DD
V
SS
PORT A
PORT B
PORT C
PORT D
PORT E
PORT F
PORT G
8
8
6
2
8
8
8
8
PB0 to PB7
PC0 to PC7
PD0 to PD7
PE0 to PE5
PF0 to PF7
PG0 to PG7
PE6 to PE7
TEX
EXTAL TX
CS0
2
PROM
60K BYTES
RAM
KEY SCAN
PORT H
PH0 to PH7 8
CLOCK GENERATOR/
SYSTEM CONTROL
14-BIT PWM GENERATOR
FIFO
REMOCON
RMC
SI0
SO0
SCK0
SI1
SO1
SCK1
EC0
TO
CINT
EC1
ADJ
G0/A0 to G15/A15
A16 to A23
A24 to A56
V
FDP
KR0 to KR7
16
8
32
8
2
SERIAL INTERFACE (CH1)
16-BIT CAPTURE
TIMER/COUNTER 2
SERIAL
INTERFACE
(CH0)
BUFFER
RAM
2
2
PORT I
PI0 to PI4 4
TxD
RxD
INTERRUPT CONTROLLER
RAM
Vpp
Block Diagram
– 3 –
CXP820P60
Pin Assignment (Top View)
G1/A1 G0/A0
Vpp
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
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
40
39
38
37
36
35
34
31
32
33
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
70 69
68
67
63
64
65
66
61
62
71
72
73
74
81
82
83
84
75
76
77
78
88
87
86
85
79
80
89
90
100
99
98
97
96
95
94
91
92
93
1
PA2/AN2
PA3/AN3
PA4/AN4
PA5/AN5
PA6/AN6
PA7/AN7
PI1
RST
EXTAL
XTAL
Vss
PI2/TX
PI3/TEX
V
DD
V
FDP
PD0/A55
PD1/A54
PD2/A53
PD3/A52
PD4/A51
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
G2/A2
G3/A3
G4/A4
G5/A5
G6/A6
G7/A7
G8/A8
G9/A9
G10/A10
G11/A11
G12/A12
V
DD
G13/A13
G14/A14
G15/A15
A16
A17
A18
A19
A20
Note) 1. Vpp (Pin 3) is left open.
2. VDD (Pins 44 and 89) are both connected to VDD. – 4 –
CXP820P60
Pin Description
Symbol I/O Functions
I/O/ Analog input
PA0/AN0
to
PA7/AN7
(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)
Analog inputs to A/D converter. (8 pins)
I/O/Input
PC0/KR0
to
PC7/KR7
PE0/INT0/ EC0
PE1/INT1/ EC1
PE2/INT2 PE3/INT3/
NMI PE4/RMC
PE5/CINT PE6/PWM PE7/TO/
ADJ
Input/Input/Input
Input/Input/Input Input/Input Input/Input/Input Input/Input Input/Input Output/Output Output/Output/
Output
(Port C) 8-bit I/O port. I/O can be set in a unit of single bits. Capable of driving 12mA sink current. Incorporation of the pull-up resistor can be set through the program in a unit of 4 bits. (8 pins)
Serves as key return inputs when operating key scan with fluorescent display panel (FDP) segment signal. (8 pins)
I/O/Output
PD0/A55
to
PD7/A48
(Port D) 8-bit I/O port. I/O can be set in a unit of single bits. (8 pins)
FDP segment signal (anode connection) outputs.
(Port E) 8-bit port. Lower 6 bits are for inputs; upper 2 bits are for outputs. (8 pins)
External event inputs for timer/counter. (2 pins)
Inputs for external interruption request. (4 pins)
Non-maskable
interruption request input. Remote control reception circuit input. External capture input for 16-bit
timer/counter. 14-bit PWM output. Output for the 16-bit timer/counter
rectangular waves, and 32kHz oscillation frequency division.
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
PB0/TxD PB1/CS0/RxD PB2/SCK0
PB3/SI0 PB4/SO0 PB5/SCK1 PB6/SI1 PB7/SO1
(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)
UART transmission data 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).
UART reception data input.
– 5 –
CXP820P60
(Port F) 8-bit output port. I/O can be set in a unit of single bits. (8 pins)
FDP segment signal (anode connection) outputs. (8 pins)
Symbol I/O Functions
OutputA16 to A23
FDP segment signal (anode connection) outputs. (8 pins)
Output/Output
G0/A0
to
G15/A15
Outputs for FDP timing signals (grid connection)/segment signals (anode connection). (16 pins)
Output/Output
PH0/A31
to
PH7/A24
Input
PI0
Input
PI1
Input
PI2/TX
Input/Input
PI3/TEX
Output/Output
PG0/A39
to
PG7/A32
(Port H) 8-bit output port. (8 pins)
(Port I) 4-bit input port. (4 pins)
VFDP EXTAL XTAL RST
Vpp VDD
VSS
Input
FDP voltage supply for incorporated pull-down (PD) resistor.
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. Vcc supply for incorporated PROM writing.
Leave this pin open during normal operation. Positive power supply.
GND.
FDP segment signal (anode connection) outputs. (8 pins)
Crystal connectors for 32kHz timer/counter clock oscillation. For usage as event counter, input to TEX, and leave TX open.
(Port G) 8-bit output port. (8 pins)
FDP segment signal (anode connection) outputs. (8 pins)
Input
PF0/A47
to
PF7/A40
I/O/Output
– 6 –
CXP820P60
I/O Circuit Format for Pins
Port B
8 pins
Hi-Z
Hi-Z
After a reset
PA0/AN0
to
PA7/AN7
1 pin
PB0/TxD
PB1/CS0/RxD PB3/SI0 PB6/SI1
Port B
3 pins
Hi-Z
IP
Pull-up registor
Port A data
Port A direction
"0" after a reset
Port A input selecton
"0" after a reset
RD (Port A)
Internal data bus
A/D converter
Pull-up transistor approx. 100k
Input multiplexer
"0" after a reset
Input protection circuit
Port A
Pin
Circuit format
Pull-up registor "0" after a reset
TxD
UART output selection
"0" after a reset
Internal data bus
Port B data
Port B direction "0" after a reset
RD (Port B)
Pull-up registor "0" after a reset
Port B data
Port B direction "0" after a reset
Internal data bus
RD (Port B)
CS0
SI0 SI1
RxD
Pull-up transistor approx. 100k
IP
Schmitt input
Pull-up transistor approx. 100k
IP
– 7 –
CXP820P60
2 pins
Hi-Z
Hi-Z
Pin
After a resetCircuit format
PB4/SO0 PB7/SO1
PC0/KR0
to
PC7/KR7
8 pins
IP
Pull-up registor
Port C data
Port C direction
"0" after a reset
RD (Port C)
Internal data bus
1
Large current 12mA
2
Pull-up transistor approx. 100k
2
"0" after a reset
1
Key input signal
Pull-up transistor approx. 100k
Pull-up registor
Port B data
Port B direction
"0" after a reset
RD (Port B)
Internal data bus
IP
"0" after a reset
Serial data output enable
Port B outputput selecton
"0" after a reset
SO
Port C
Port B
Pull-up transistor approx. 100k
Pull-up registor
Port B data
Port B direction
"0" after a reset
RD (Port B)
Internal data bus
IP
"0" after a reset
Schmitt input
SCK IN
Serial clock output enable
Port B output selecton
"0" after a reset
SCK OUT
Port B
2 pins
Hi-Z
PB2/SCK0 PB5/SCK1
Loading...
+ 16 hidden pages