CXP 82316
CXP 82316
CXP 82316
Description
The CXP82316/82320/82324 microcomputer is 80 pin QFP (Plastic)
composed of a CPU, ROM and 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, capture timer/counter, fluorescent display
controller/driver, remote control receiver.
This device also includes a power-on reset function
and sleep/stop functions which can be used to
achieve low power consumption.
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 for 10MHz operation
• On-chip ROM 16K bytes (CXP82316)
20K bytes (CXP82320)
24K bytes (CXP82324)
• On-chip RAM 704 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) 1 channel
8-bit clock synchronized 1 channel
— Timers 8-bit timer
8-bit timer/counter
19-bit time-base timer
16-bit capture timer/counter
— Fluorescent display controller/driver
Maximum of 336 segment display available
1 to 16 digits dynamic display
Dimmer function
High voltage tolerant output (40V)
On-chip pull-down resistor (Mask option)
— Remote control receiver circuit
On-chip noise elimination circuit
On-chip 6 stage FIFO 8-bit pulse measurement counter
• Interrupts 14 factors, 15 vectors multi-interruption possible
• Standby mode Sleep/stop
• Package 80-pin plastic QFP
• Piggyback/evaluator CXP82300 80-pin ceramic QFP
Structure
Silicon gate CMOS IC
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–
E91722B78-PS
Block Diagram
VSS
XTAL
VDD
EXTAL
INT1
RST
INT0
INT3
INT2
AN0 to AN7 8 A/D CONVERTER 8 PA0 to PA7
SPC700 CLOCK GEN./
PORT A
80 BYTES
S0 to S20 21 DRIVER
VFDP
8 PC0 to PC7
RMC
PORT C
REMOCON FIFO
ROM RAM
16K/20K/24K BYTES 704 BYTES
CS0 SERIAL 8 PD0 to PD7
INTERRUPT CONTROLLER
SI0
PORT D
–2–
INTERFACE FIFO
SO0
SCK0 UNIT 0
6 PE0 to PE5
SI1
SO1 SERIAL INTERFACE UNIT 1 2 PE6 to PE7
PORT E
SCK1
EC0 2
8 BIT TIMER/COUNTER 0 8 PF0 to PF7
PORT F
8 BIT TIMER 1
PRESCALER/
TIME BASE TIMER 4 PG0 to PG3
TO
PORT G
16 BIT CAPTURE 2
CINT
TIMER/COUNTER 2
EC1
CXP82316/82320/82324
CXP82316/82320/82324
PE1/EC1/INT1
PE0/EC0/INT0
PE2/IN2
VFDP
PG0
PG1
PG2
PG3
VDD
NC
T2
T1
T0
T5
T4
T3
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
PE3/INT3 1 64 T6
PE4/RMC 2 63 T7
PE5 3 62 T8/S28
PE6 4 61 T9/S27
PE7/TO 5 60 T10/S26
PB0/CINT 6 59 T11/S25
PB1/CS0 7 58 T12/S24
PB2/SCK0 8 57 T13/S23
PB3/SI0 9 56 T14/S22
PB4/SO0 10 55 T15/S21
PB5/SCK1 11 54 S20
PB6/SI1 12 53 S19
PB7/SO1 13 52 S18
PC0/KR0 14 51 S17
PC1/KR1 15 50 S16
PC2/KR2 16 49 PF7/S15
PC3/KR3 17 48 PF6/S14
PC4/KR4 18 47 PF5/S13
PC5/KR5 19 46 PF4/S12
PC6/KR6 20 45 PF3/S11
PC7/KR7 21 44 PF2/S10
PA0/AN0 22 43 PF1/S9
PA1/AN1 23 42 PF0/S8
PA2/AN2 24 41 PD7/S7
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
PD4/S4
XTAL
PA4/AN4
PD3/S3
EXTAL
PA3/AN3
PD2/S2
RST
PD1/S1
PA7/AN7
PD6/S6
PD0/S0
PA6/AN6
PD5/S5
VSS
PA5/AN5
–3–
CXP82316/82320/82324
Pin Description
–4–
CXP82316/82320/82324
–5–
CXP82316/82320/82324
RD (Port A)
A/D converter
8 pins
Port B
Port B data
PB0/CINT
PB1/CS0 Port B direction IP
PB3/SI0 "0" when reset
Hi-Z
PB6/SI1 Data bus Schmitt input
RD (Port B)
CINT
CS0
4 pins SI0
SI1
Port B
SCK OUT
Output enable
Port B output select
"0" when reset
Port B data IP
PB2/SCK0
PB5/SCK1 Port B direction Hi-Z
"0" when reset
RD (Port B)
SCK in
2 pins
–6–
CXP82316/82320/82324
Port B data
PB4/SO0 IP
Hi-Z
Port B direction
"0" when reset
Data bus
1 pin RD (Port B)
Port B
Internal reset signal
SO
Output enable
Port B output select
∗
PB7/SO1 "0" when reset
RD (Port B)
1 pin
Port C
Port C data
PC0/KR0
∗
to Port C direction IP
PC7/KR7 "0" when reset
Hi-Z
Data bus
RD (Port C)
Port E EC0/INT0
PE0/EC0/INT0 EC1/INT1
PE1/EC1/INT1 Schmitt input INT2
INT3
PE2/INT2
IP RMC
PE3/INT3 Hi-Z
PE4/RMC Data bus
5 pins RD (Port E)
–7–
CXP82316/82320/82324
PE5
IP Data bus Hi-Z
RD (Port E)
1 pin
Port E
PE6
Port E data High level
"1" when reset
1 pin
Port E
TO
Output enable (T2OE)
1 pin RD (Port E)
Port G
Port G data
PG0
to
Port G direction IP Hi-Z
PG3 "0" when reset
Data bus
RD (Port G)
4 pins
–8–
CXP82316/82320/82324
21 pins
∗Diagram shows
circuit construction
EXTAL for oscillation.
EXTAL IP IP
XTAL ∗During stop Oscillation
feedback resistor is
disconnected.
XTAL
2 pins
Pull-up resistor
RST
OP Mask option
Low level
IP Schmitt input
–9–
CXP82316/82320/82324
– 10 –
CXP82316/82320/82324
Hysteresis input∗2
High level input
VIHS 0.8VDD VDD V
voltage
VIHEX VDD – 0.4 VDD + 0.3 V EXTAL pin∗3
VIL 0 0.3VDD V ∗1
Low level input
VILS 0 0.2VDD V Hysteresis input
voltage
VILEX –0.3 0.4 V EXTAL pin∗3
Operating temperature Topr –20 +75 °C
∗1 All regular input ports (PA, PB3, PB4, PB6, PC, PE5, PG).
∗2 For pins RST, CINT, CS0, SCK0, SCK1, EC0/INT0, EC1/INT1 , INT2, INT3, RMC.
∗3 Rating only for external clock input.
– 11 –
CXP82316/82320/82324
Electrical Characteristics
DC Characteristics (Ta = –20 to +75°C, Vss = 0V)
∗1 RST pin is rated only when the power-on reset circuit is selected under the mask option.
∗2 RST pin is rated for input current when the pull-up resistor is selected; otherwise it is rated for leak current.
∗3 Applies when the on-chip pull-down resistor is selected under the mask option.
∗4 All output pins are left open.
– 12 –
CXP82316/82320/82324
AC Characteristics
(1) Clock timing (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
Item Symbol Pins Conditions Min. Max. Unit
XTAL Fig. 1, Fig. 2
System clock frequency fC 1 10 MHz
EXTAL
tXL, Fig. 1, Fig. 2
45 ns
System clock input pulse width EXTAL External clock driver
tXH
System clock input rising and tCR, Fig. 1, Fig. 2
EXTAL External clock driver 200 ns
falling times tCF
Event count input clock pulse tEH, EC0,
Fig. 3 tsys +50* ns
width tEL EC1
Event count input clock rising tER, EC0,
Fig. 3 20 ms
and falling times tEF EC1
∗ tsys is determind by the upper two bits of the clock control resister (Address: 00FEH; CPU clock selected)
resulting in one of the 3 following values:
tsys [ns] = 2000/fc (Upper 2 bits = "00"), 4000/fc (Upper 2 bits = "01"), 16000/fc (Upper 2 bits = "11")
VDD – 0.4V
EXTAL
0.4V
AAAA AAAA
Crystal oscillation
AAAA AAAA
Ceramic oscillation External clock
AAAA AAAA
EXTAL XTAL EXTAL XTAL
C1 C2 74HC04
0.8VDD
EC0
EC1
0.2VDD
– 13 –
CXP82316/82320/82324
(2) Serial transfer (CH0) (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
Note 1) tsys is determind by the upper two bits of the clock control resister (Address: 00FEH; CPU clock
selected) resulting in one of the 3 following values:
tsys [ns] = 2000/fc (Upper 2 bits = "00"), 4000/fc (Upper 2 bits = "01"), 16000/fc (Upper 2 bits = "11")
Note 2) The load of SCK0 output mode and SO0 output delay time is 50pF + 1TTL.
– 14 –
CXP82316/82320/82324
tWHCS
CS0
0.8VDD
0.2VDD
tKCY
tDCSK tDCSKF
tKL tKH
0.8VDD 0.8VDD
SCK0
0.2VDD
tSIK tKSI
0.8VDD
SI0 Input
data
0.2VDD
0.8VDD
SO0 Output data
0.2VDD
– 15 –
CXP82316/82320/82324
Serial transfer (CH1) (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
Note) The load of SCK1 output mode and SO1 output delay time is 50pF + 1TTL.
tKCY
tKL tKH
SCK1
0.8VDD
0.2VDD
tSIK tKSI
0.8VDD
tKSO
0.8VDD
0.2VDD
– 16 –
CXP82316/82320/82324
(3) A/D converter characteristics (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
FFH
FEH
∗1 VZT : Digital Value converted between 00H to 01H.
Digital conversion value
01H
00H
VZT VFT
Analog input
– 17 –
CXP82316/82320/82324
(4) Interrupts, reset inputs (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V)
tIH tIL
0.8VDD
INT0 0.2VDD
INT1
tIL tIH
INT2
INT3 0.8VDD
0.2VDD
RST
0.2VDD
4.5V
VDD
0.2V 0.2V
tR tOFF
The power supply should be rise smoothly
– 18 –
CXP82316/82320/82324
Supplement
AAAAA AAAAA
(i) (ii)
AAAAA AAAAA
AAAAA AAAAA
EXTAL XTAL EXTAL XTAL
C1 C2
C1 C2
Circuit
Manufacturer Model fc (MHz) C1 (pF) C2 (pF)
Example
CSA4.19MG 4.19
CSA8.00MG 8.00 (i)
– 19 –
CXP82316/82320/82324
23.9 ± 0.4
+ 0.1
+ 0.4 0.15 – 0.05
20.0 – 0.1
0.15
64 41
65 40
17.9 ± 0.4
+ 0.4
14.0 – 0.1
16.3
A
80 25 + 0.2
0.1 – 0.05
1 24
0.8 ± 0.2
+ 0.15 + 0.35
0.8 0.35 – 0.1 2.75 – 0.15
0.12 M
0° to 10°
– 20 –