Sony CXP81724B, CXP81720B Datasheet

CXP81720B/81724B
CMOS 8-bit Single Chip Microcomputer
Description
The CXP81720B/81724B is a CMOS 8-bit micro­computer which consists of A/D converter, serial interface, timer/counter, time-base timer, high­precision timing pattern generation circuit, PWM output, 32kHz timer/counter, remote control reception circuit, as well as basic configurations like 8-bit CPU, ROM, RAM and I/O port. They are integrated into a single chip.
Also CXP81720B/81724B provides sleep/stop functions which enables to lower power consumption.
Features
A wide instruction set (213 instructions) which covers various types of data
— 16-bit arithmetic/multiplication and division/Boolean bit operation instructions
Minimum instruction cycle 250ns at 16MHz operation (4.5 to 5.5V)
122µs at 32kHz operation (2.7 to 5.5V)
Incorporated ROM capacity 20K bytes (CXP81720B)
24K bytes (CXP81724B)
Incorporated RAM capacity 800 bytes
Peripheral functions
— A/D converter 8 bits, 12 channels, successive approximation method
(Conversion time of 20.0µs at 16MHz)
— Serial interface Incorporated 8-bit and 8-stage FIFO, 1 channel
(Auto transfer for 1 to 8 bytes) 8-bit clock sync type, 1 channel
— Timer 8-bit timer, 8-bit timer/counter, 19-bit time-base timer
32kHz timer/counter
— High-precision timing pattern generator PPG: maximum of 19 pins, 32 stages programmable
RTG: 5 pins, 2 channels
— PWM/DA gate output PWM: 12 bits, 2 channels (Repetitive frequency 62kHz/16MHz)
DA gate pulse output: 12 bits, 4 channels — FRC capture unit Incorporated 26-bit and 8-stage FIFO — PWM output 14 bits, 1 channel — Remote control reception circuit 8-bit pulse measuring counter, 6-stage FIFO
Interruption 20 factors, 15 vectors, multi-interruption possible
Standby mode Sleep/stop
Package 100-pin plastic QFP/LQFP
Piggyback/evaluator CXP81800
100 pin QFP (PIastic) 100 pin LQFP (PIastic)
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 –
E97737-PS
CXP81720B/81724B
Vss V
DD
MP RST
XTAL EXTAL
TX TEX
PA0 to PA7
PB0 to PB7
PC0 to PC7
8
PORT A8PORT B8PORT C
CLOCK
GENERATOR/
SYSTEM CONTROL
SPC700
CPU CORE
PD0 to PD7 8
PORT D
RAM
800 BYTES
ROM
20K/24K BYTES
PE0 to PE1
PE2 to PE7
2
6
PORT E
PF4 to PF7
PF0 to PF3
4
PG0 to PG7
PH0 to PH7
4
PORT F8PORT G8PORT H7PORT I
32kHz
PRESCALER/
TIME BASE TIMER
TIMER/COUNTER
FIFO
2
PI1 to PI7
PULSE
REALTIME
GENERATOR
RAM
PJ0 to PJ7
8
PORT J
CH1
5
CH0
19
RTO3/RTO7
PPO0/PPO18
INT2 INT1/NMI INT0
AVss
AV
REF
AV
DD
NMI
2
A/D CONVERTER
12
CS0
FIFO
(CH0)
SERIAL
INTERFACE UNIT
SI0
SO0
SCK0
INTERRUPT CONTROLLER
2
(CH1)
8 BIT TIMER 1
SERIAL INTERFACE UNIT
SI1
SO1
SCK1
8 BIT TIMER/COUNTER 0
EC
TO
EXI0
FRC
CAPTURE UNIT
2
FIFO
REMOCON INPUT
EXI1
RMC
PATTERN
GENERATOR
PROGRAMMABLE
4
2
14 BIT PWM GENERATOR
PWM
PWM0
12 BIT PWM GENERATOR CH1
12 BIT PWM GENERATOR CH0
DAA1
DAB0
DAA0
PWM1
DAB1
ADJ
Block Diagram
AN0 to AN11
– 2 –
Pin Assignment (Top View) 100-pin QFP package
PA5/PPO5
PA4/PPO4
PA3/PPO3
PA2/PPO2
PA1/PPO1
PA0/PPO0
PB7/PPO15
PB6/PPO14
NC
PA7/PPO7
PA6/PPO6
CXP81720B/81724B
SS
DD
V
TX
V
TEX
PI2/PWM
PI1/RMC
PI5/SCK1
PI4/INT1/NMI
PI3/TO/ADJ
PB5/PPO13 PB4/PPO12 PB3/PPO11 PB2/PPO10
PB1/PPO9 PB0/PPO8 PC7/RTO7 PC6/RTO6 PC5/RTO5 PC4/RTO4
PC3/RTO3 PC2/PPO18 PC1/PPO17 PC0/PPO16
PJ7 PJ6 PJ5 PJ4 PJ3 PJ2 PJ1
PJ0 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0
10
12 13 14 15 16 17
19
25
29 30
11
18
20 21 22 23 24
26 27 28
100
99
98
1
2 3 4
5 6 7 8 9
32
31
33
97
34
96
35
95
36
94
37
93
38
92
39
91
40
90
41
89
42
88
43
87
44
45
86
85
46
47
84
83
48
82
49
81
50
80 79 78 77 76 75
71
69 68 67 66 65 64 63 62
60 59 58 57
55
74 73 72
70
61
56
54 53 52 51
PI6/SO1 PI7/SI1 PE0/INT0 PE1/EC/INT2 PE2/PWM0 PE3/PWM1 PE4/DAA0 PE5/DAA1 PE6/DAB0 PE7/DAB1 PG0 PG1 PG2 PG3 PG4 PG5 PG6/EXI0 PG7/EXI1 AN0 AN1 AN2 AN3 PF0/AN4 PF1/AN5 PF2/AN6 PF3/AN7
DD
AV AVREF AVSS PF4/AN8
PH7
PH6
PH5
PH4
PH3
PH2
PH1
PH0
MP
RST
SS
V
XTAL
CS0
EXTAL
SI0
SO0
SCK0
Note) 1. NC (Pin 90) is always connected to VDD.
2. Vss (Pins 41 and 88) are both connected to GND.
– 3 –
PF5/AN9
PF6/AN10
PF7/AN11
Pin Assignment (Top View) 100-pin LQFP package
PA6/PPO6
PA5/PPO5
PA4/PPO4
PA3/PPO3
PA2/PPO2
PA1/PPO1
PA0/PPO0
PB7/PPO15
PB6/PPO14
PB5/PPO13
PB4/PPO12
DD
V
NC
PA7/PPO7
CXP81720B/81724B
SS
TX
V
TEX
PI2/PWM
PI1/RMC
PI5/SCK1
PI4/INT1/NMI
PI3/TO/ADJ
PI7/SI1
PI6/SO1
PE0/INT0
PB3/PPO11 PB2/PPO10
PB1/PPO9 PB0/PPO8 PC7/RTO7 PC6/RTO6 PC5/RTO5 PC4/RTO4
PC3/RTO3 PC2/PPO18 PC1/PPO17 PC0/PPO16
PJ7 PJ6 PJ5 PJ4 PJ3 PJ2 PJ1
PJ0 PD7 PD6 PD5 PD4 PD3
10 11 12 13 14 15 16 17 18 19
21 22
25
20
23 24
100
99
98 1 2 3 4 5 6
7 8 9
27
28
26
97
29
96
30
95
31
94
32
93
33
92
34
91
35
90
36
89
37
88
38
87
39
86
40
85
41
84
42
83
43
82
44
81
45
80
46
79
47
78
48
77
49
76
50
75 74 73 72
70 69
67
65 64 63 62 61
59 58
56 55 54 53 52 51
71
68
66
60
57
PE1/EC/INT2 PE2/PWM0 PE3/PWM1 PE4/DAA0 PE5/DAA1 PE6/DAB0 PE7/DAB1 PG0 PG1 PG2 PG3 PG4 PG5 PG6/EXI0 PG7/EXI1 AN0 AN1 AN2 AN3 PF0/AN4 PF1/AN5 PF2/AN6 PF3AN7 AV
DD
AVREF
PD2
PD1
PD0
PH7
PH6
PH5
PH4
PH3
PH2
PH1
PH0
RST
V
XTAL
CS0
EXTAL
SS
MP
Note) 1. NC (Pin 88) is always connected to VDD.
2. Vss (Pins 39 and 86) are both connected to GND.
– 4 –
SI0
SO0
SCK0
PF7/AN11
PF4/AN8
PF5/AN9
PF6/AN10
SS
AV
Pin Description
Symbol I/O Description
(Port A)
PA0/PPO0
to
PA7/PPO7
Output/ Real time output
8-bit output port. Data is gated with PPO contents by OR-gate and they are output. (8 pins)
(Port B)
PB0/PPO8
to
PB7/PPO15
Output/ Real time output
8-bit output port. Data is gated with PPO contents by OR-gate and they are output. (8 pins)
CXP81720B/81724B
Programmable pattern generator (PPG) output. Functions as high-precision real-time pulse output port. (19 pins)
PC0/PPO16
to
PC2/PPO18 PC3/RTO3
to
PC7/RTO7
PD0 to PD7
PE0/INT0
PE1/EC/INT2
PE2/PWM0 PE3/PWM1 PE4/DAA0 PE5/DAA1 PE6/DAB0
I/O/ Real time output
I/O/ Real time output
I/O
Input/input
Input/input/input
Output/output Output/output Output/output Output/output Output/output
(Port C) 8-bit I/O port. I/O can be set in a unit of single bits. Data is gated with PPO or RTO contents by OR-gate and they are output. (8 pins)
Real-time pulse generator (RTG) output. Functions as high-precision real-time pulse output port. (5 pins)
(Port D) 8-bit I/O port. I/O can be set in a unit of 4 bits. Can drive 12mA sink current. (8 pins)
Input to request external interruption. Active at the falling edge.
External event input for
(Port E)
timer/counter. 8-bit port. Lower 2 bits are for input; upper 6 bits are for output.
PWM outputs.
(2 pins) (8 pins)
DA gate pulse outputs.
(4 pins)
Input to request external interruption. Active at the falling edge.
PE7/DAB1 AN0 to AN3 PF0/AN4
to
PF3/AN7 PF4/AN8
to
PF7/AN11 SCK0 SO0 SI0 CS0
Output/output Input
Input/input
Output/input
I/O Ouput Input Input
Analog inputs to A/D converter. (12 pins) (Port F)
8-bit port. Lower 4 bits are for input; upper 4 bits are for output. Lower 4 bits also serve as standby release input pin. (8 pins)
Serial clock I/O (CH0). Serial data output (CH0). Serial data input (CH0). Serial chip select input (CH0).
– 5 –
Symbol I/O Description
CXP81720B/81724B
PG0 to PG5 PG6/EXI0 PG7/EXI1
PH0 to PH7
PI1/RMC PI2/PWM PI3/TO/ADJ PI4/INT1/
NMI PI5/SCK1 PI6/SO1 PI7/SI1
PJ0 to PJ7
EXTAL XTAL
Input Input/input Input/input
Output
I/O/input I/O/output I/O/output/output
I/O/input/input I/O/I/O
I/O/output I/O/input
I/O
Input Output
(Port G) 8-bit input port. (8 pins)
External input to FRC capture unit. (2 pins)
(Port H) N-ch open drain output of medium drive voltage (12V) and large current (12mA). (8 pins)
Remote control reception circuit input.
14-bit PWM output. (Port I) 7-bit I/O port. I/O port can be set in a unit of single bits. (7 pins)
Timer/counter, 32kHz oscillation adjustment output.
Input to request external interruption and non
maskable interruption. Active at the falling edge.
Serial clock I/O (CH1).
Serial data output (CH1).
Serial data input (CH1). (Port J)
8-bit I/O port. I/O and standby release input function can be set in a unit of single bits.
Connnects a crystal oscillator for system clock. When supplying the external clock, input the external clock to EXTAL pin and input opposite phase clock to XTAL pin.
TEX TX RST MP AVDD AVREF AVss VDD Vss
Input Output Input Input
Input
Connects a crystal oscillator for 32kHz timer/counter clock. When used as event counter, input to TEX pin and leave TX pin open.
System reset; active at Low level. Test mode pin. Always connect to GND. Positive power supply of A/D converter. Reference voltage input of A/D converter. GND of A/D converter. Positive power supply. GND. Connect both Vss pins to GND.
– 6 –
Input/Output Circuit Formats for Pins
CXP81720B/81724B
Pin
PA0/PPO0
to
PA7/PPO7 PB0/PPO8
to
PB7/PPO15
16 pins
PC0/PPO16
to
PC2/PPO18 PC3/RTO3
to
PC7/RTO7
Port A Port B
Data bus
Port C
PPO data
Ports A, B data
RD (Port A or B)
PPO, RTO data
Port C data
Port C direction
"0" when reset
Circuit format
Output becomes active from high impedance by data writing to port register.
IP
Input protection circuit
When reset
Hi-Z
Hi-Z
8 pins
PD0
to
PD7
8 pins
Data bus
Port D
Data bus
RD (Port C)
Port D data
Port D direction
"0" when reset
RD (Port D)
IP
Large current 12mA
Hi-Z
– 7 –
Loading...
+ 16 hidden pages