CXP88216/88220/88224 CMOS 8-bit Single Chip Microcomputer Description The CXP88216/88220/88224 is a CMOS 8-bit microcomputer which consists of A/D converter, serial interface, timer/counter, time base timer, vector interruption, high precision timing pattern generation circuits, PWM generator, PWM for tuner, VISS/VASS circuit, 32kHz timer/event counter, remote control receiving circuit, FDP controller/driver, VCR vertical sync separation circuit and the measuring circuit which measure signals of capstan FG and drum FG/PG and other servo systems, as well as basic configurations like 8-bit CPU, ROM, RAM and I/O port. They are integrated into a single chip. Also, CXP88216/88220/88224 provides sleep/stop function which enables to lower power consumption and ultra-low speed instruction mode in 32kHz operation. 100 pin QFP (Plastic) Structure Silicon gate CMOS IC Features • A wide instruction set (213 instructions) which cover various types of data — 16-bit arithmetic instruction/multiplication and division instructions/boolean bit operation instruction • Minimum instruction cycle During operation 250ns/16MHz, During operation 122µs/32kHz • Incorporated ROM capacity 16Kbytes (CXP88216), 20Kbytes (CXP88220), 24Kbytes (CXP88224) • Incorporated RAM capacity 880bytes • Peripheral function — A/D converter 8-bit, 8-channel, successive approximation system (Conversion time: 20.0µs/16MHz) — Serial I/O with auto transfer mode Incorporated 8-stage FIFO for data (1 to 8 bytes auto transfer) — Timer 8-bit timer/counter, 2-channel, 19-bit time base timer — High precision timing pattern generation circuit PPG 8 pins 32-stage programmable circuit, RTG 5 pins 2-channel — PWM/DA gate output 12-bit, 2-channel (Repetitive frequency 62.5kHz/16MHz) — Servo input control Capstan FG, Drum FG/PG, CTL input — VSYNC separator — FRC capture unit Incorporated 26-bit and 8-stage FIFO — PWM output for tuner 14-bit — VISS/VASS circuit Pulse duty auto detection circuit — 32kHz timer/event counter 32kHz oscillation circuit, ultra-low speed instruction mode — Remote control receiving circuit 8-bit pulse measuring counter, 6-stage FIFO — FDP controller/driver Max.148 segments can be displayed Hardware key scanning function (Max.16 × 3 key matrix available) — Tri-state output PPG 1 pin, RTG 1 pin, output 8 pins — Pseudo HSYNC output function — High speed head switching circuit • Interruption 22 factors, 15 vectors, multi-interruption possible • Standby mode SLEEP/STOP • Package 100-pin plastic QFP • Piggyback/evaluation chip CXP88100 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– E94626-PS –2– PSEUDO HSYNC GENERATOR 5 CH0 RTO3 to RTO7 8 RAM PROGRAMABLE PATTERN GENERATOR 1 CH REALTIME PULSE GENERATOR 8 8 8 FDP CONTROLLER /DRIVER RAM PF4 to PF7 4 8 3 7 PORT I 4 2 2 PF0 to PF3 4 PORT H 12 BIT PWM GENERATOR CH1 12 BIT PWM GENERATOR CH0 14 BIT PWM GENERATOR 32kHz TIMER/COUNTER PE2 to PE7 6 PORT G PA0/HGO PE2/PWM0 PE4/DAA0 PE6/DAB0 PE3/PWM1 PE5/DAA0 PE7/DAB1 PI2/PWM FIFO INTERRUPT CONTROLLER FRC CAPTURE UNIT PE1/INT2 VISS/VASS FIFO 3 PRESCALER/ TIME BASE TIMER PE0 to PE1 2 PORT F REMOCON INPUT SERVO INPUT CONTROL PD0 to PD7 8 PI0 to PI7 PH0 to PH2 PG0 to PG7 PC0 to PC7 8 PORT D CTL DRUM CAPSTAN 2 2 2 RAM 880 BYTES PB0 to PB7 PA0 to PA7 8 4 PORT C PI1/RMC 8 BIT TIMER/COUNTER1 8 BIT TIMER/COUNTER 0 V SYNC SEPARATOR EC SELECT ROM 16k/20k/24k BYTES CLOCK GENERATOR/ SYSTEM CONTROL 4 PORT B PORT E PG0/CFG PG1/DFG PG2/DPG PG3/PBCTL/EC1 PG6/EXI0 PG7/EXI1 PG4/SYNC0/EC2 PG5/SYNC1 PI3/TO/DD0 PE1/EC0 SERIAL INTERFACE UNIT (CH1) PI4/INT1/NMI FIFO SPC700 CPU CORE PORT A PF6/SI1 PF5/SO1 PF4/SCK1 AVDD NMI TX TEX XTAL EXTAL SERIAL INTERFACE UNIT (CH0) 2 AA Vss VDD MP RST PI4/CS0 PI7/SI0 PI6/SO0 PI5/SCK0 AVREF A/D CONVERTERCONVERTER AVss 8 PE0/INT0 AN0 to AN3 PF0/AN4 to PF7/AN11 CXP88216/88220/88224 Block Diagram S0 to S7 T8/S15 to T15/S8 T0 to T7 VFDP PPO0 to PPO7 CXP88216/88220/88224 PI5/SCK0 PI4/INT1/NMI/CS0 PI3/T0/DDO/ADJ PI2/PWM PI1/RMC TEX TX VDD VSS NC PH2/KR2 PH1/KR1 PH0/KR0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 Pin Configuration (Top View) 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 PB0 1 80 PI6/SO0 PC7/RTO7 2 79 PI7/SI0 PC6/RTO6 3 78 VFDP PC5/RTO5 4 77 PD0/S0 PC4/RTO4 5 76 PD1/S1 PC3/RTO3 6 75 PD2/S2 PC2 7 74 PD3/S3 PC1 8 73 PD4/S4 PC0 9 72 PD5/S5 PA7/PPO7 10 71 PD6/S6 (HAMP) PA6/PPO6 11 70 PD7/S7 (ROTA) PA5/PPO5 12 69 T15/S8 (RF-PLS) PA4/PPO4 13 68 T14/S9 PA3/PPO3 14 67 T13/S10 PA2/PPO2 15 66 T12/S11 PA1/PPO1 16 65 T11/S12 PA0/PPO0/HGO 17 64 T10/S13 PF7 18 63 T9/S14 PF6/SI1 19 62 T8/S15 PF5/SO1 20 61 T7 PF4/SCK1 21 60 T6 PF3/AN7 22 59 T5 PF2/AN6 23 58 T4 PF1/AN5 24 57 T3 PF0/AN4 25 56 T2 AN3 26 55 T1 AN2 27 54 T0 AVREF 28 53 PE0/INT0 (ENV-DET) AVSS 29 52 PE1/EC0/INT2 30 51 PE2/PWM0 AVDD Note) 1. NC (Pin 90) is always connected to VDD. 2. Vss (Pins 41 and 88) are both connected to GND. –3– PE3/PWM1 PE4/DAA0 PE5/DAA1 PE6/DAB0 PG0/CFG PE7/DAB1 PG1/DFG EXTAL XTAL VSS RST MP PG2/DPG PG3/PBCTL/EC1 PG4/SYNC0/EC2 PG5/SYNC1 PG6/EXI0 AN0 PG7/EXI1 AN1 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 CXP88216/88220/88224 Pin Description Symbol PA0/PPO0 /HGO I/O PA3/PPO3 I/O/ Real time output PA4/PPO4 PA5/PPO5 PA6/PPO6 Pseudo HSYNC output pin. Output/Real time output/Output PA1/PPO1 PA2/PPO2 Description Output/ Real time output (Port A) 8-bit I/O port. Enable to specify I/O by bit unit. Data is gated with PPO content by OR-gate and they are output. (8 pins) Programable pattern generator (PPG) output. Functions as high precision realtime pulse output port. (8 pins) Head switching output pins. PA7/PPO7 PB0 to PB7 Output 8-bit output port. Tri-state can be controlled. (8 pins) PC0 to PC2 Output PC3/PPO3 to PC7/PPO15 Output/ Real time output (Port C) 8-bit I/O port. Enable to specify I/O by bit unit. Data is gated with RTO content by OR-gate and they are output. (8 pins) T0 to T7 Output FDP timing signal output pin. T8/S15 to T15/S8 Output/Output Output pins for FDP timing signal and segment signal. PD0/S0 to PD7/S7 Output/Output (Port D) 8-bit output port. (8 pins) PE0/INT0 Input/Input PE1/EC0/ INT2 Input/Input/Input PE2/PWM0 Output/Output PE3/PWM1 Output/Output PE4/DAA0 Output/Output PE5/DAA1 Output/Output PE6/DAB0 Output/Output PE7/DAB1 Output/Output AN0 to AN3 Input PF0/AN0 to PF3/AN3 Input/Input PF4/SCK1 I/O/I/O PF5/SO1 I/O/Output PF6/SI1 I/O/Input PF7 I/O Real-time pulse generator (RTG) output. Functions as high precision real-time pulse output port. (5 pins) FDP segment signal output pin. Trigger pulse Input pin to request input pin for head external interruption. switching output. Active when falling edge. (Port E) 8-bit port. Lower 2 bits are input pins and upper 6 bits are output pins. (8 pins) External event input pin for timer/counter. Input pin to request external interruption. Active when falling edge. PWM output pins. (2 pins) DA gate pulse output pins. (2 pins) Analog input pins to A/D converter. (8 pins) (Port F) Serial clock (CH1) I/O pin. 8-bit I/O port. Enable to specify I/O by bit unit. Serial data (CH1) output pin. (8 pins) Serial data (CH1) input pin. –4– CXP88216/88220/88224 Symbol I/O Description PG0/CFG Input/Input Capstan FG input pin. PG1/DFG Input/Input Drum FG input pin. PG2/DPG Input/Input Drum PG input pin. PG3/ PBCTL/EC1 Input/Input/Input Playback CTL input pin. PG4/ SYNC0/EC2 Input/Input/Input PG5/SYNC1 Input/Input PG6/EXI0 Input/Input PG7/EXI1 Input/Input PH0/KR0 to PH2/KR2 I/O/Input PI1/RMC I/O/Input Remote control receiving circuit input pin. PI2/PWM I/O/Input 14-bit PWM output pin. PI3/TO/ DDO/ADJ I/O/Output/Output/ Output PI4/INT1/ NMI/CS0 I/O/Input/ Input/Input PI5/SCK0 I/O/Input PI6/SO0 I/O/Output Serial data (CH1) output pin. PI7/SI0 I/O/Input Serial data (CH1) input pin. EXTAL Input XTAL Output TEX Input TX Output Connecting pin of crystal oscillator for 32kHz timer clock. When used as event counter, input to TEX pin and leave TX pin open. (Feedback resistor is not removed.) RST Input System reset pin of active "L" level. MP Input Microprocessor mode input pin. Always connect to GND. (Port G) 8-bit input port. (8 pins) Composite sync signal input pins. External event input pin for timer/counter. External event input pin for timer/counter. External input pins for FRC capture unit. (Port H) 3-bit I/O port. (3 pins) (Port I) 8-bit I/O port. Enable to specify I/O by bit unit. (8 pins) Key return input signal for key scanning at FDP segment signal. Timer/counter, CTL duty detection, 32kHz oscillation adjustment output pin. Input pin to request external interruption, non-maskable interruption and for serial chip select (CH0). Active when falling edge. Serial clock (CH1) I/O pin. Connecting pin of 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. VFDP FDP voltage supply pin when specifying internal resistor by mask option. AVDD Positive power supply pin of A/D converter. AVREF Input Reference voltage input pin of A/D converter. AVss GND pin of A/D converter. VDD Positive power supply pin. Vss GND pin. Connect both Vss pins to GND. –5– CXP88216/88220/88224 Input/Output Circuit Formats for Pins Pin Circuit format AA AA AA AA AAAA AA AAA AAA When reset Port A HSEL HOUT PPO0 PA0/PPO0/HGO MPX PA0 Hi-Z Data bus RD (Port A) 1 pin HSEL HOUTE MPX Output becomes active from high impedance by data writing to port register. PPO1 PPG control status register bit 0 Tri-state control selection AAAA AAAA AAAA PPO1 PA1/PPO1 PA0 IP PA1 direction (Every bit) Data bus 1 pin RD (Port A) Port A AAAA AAAA AAAA PPO data PA2/PPO2 to PA4/PPO4 (Every bit) Data bus Hi-Z RD (Port A) Port A AA PPO data AAAA Port A data Hi-Z Data bus RD (Port A) 3 pins AA AA AA AA Hi-Z IP Port A direction PA5/PPO5 to PA7/PPO7 Input protection circuit Input protection circuit Port A data 3 pins AA AA AA Output becomes active from high impedance by data writing to port register. –6– CXP88216/88220/88224 AAA AAA AAA AAA Pin Port B When reset Circuit format AA AA Port B data PB0 to PB7 Data bus RD (Port B) Port B tri-state control 8 pins Port C PC0 to PC2 AAAA AAAA AAAA Port C data (Every bit) Data bus 3 pins AA AA AA AA Input protection IP circuit Port C direction RD (Port C) Port C AAA AAA AAA RTO3 PC3/RTO3 Hi-Z AA AA AA Hi-Z Input protection circuit PC3 PC3 direction IP (Every bit) Data bus Hi-Z RD (Port C) 1 pin Data bus RD (Port C) RTO4 RTG interruption control register bit 7 Tri-state control selection AAA AAA AAA RTO4 PC3/RTO4 Input protection circuit PC4 IP PC4 direction (Every bit) Data bus RD (Port C) Data bus 1 pin AA AA AA AA RD (Port C) –7– Hi-Z CXP88216/88220/88224 Pin Circuit format Port C AAA AAA AAA RTO data PC5/RTO5 to PC7/RTO7 Input protection circuit Port C data Data bus Hi-Z IP Port C direction 3 pins AA AA AA AA When reset (Every bit) RD (Port C) Port D High voltage drive transistor AAA AAA Segment output data PD0/S0 to PD7/S7 Output selection control signal ("0" when reset) Port D data OP Mask option Data bus 8 pins AA AA AA AA AA AA Pull-down resistor Hi-Z VFDP RD (Port D) High voltage drive transistor Timing output data T0 to T7 Output selection control signal ("0" when reset) OP Mask option Pull-down resistor VFDP 8 pins High voltage drive transistor Timing output data T8/S15 to T15/S8 Hi-Z Output selection control signal ("0" when reset) Segment output data A A OP Mask option Pull-down resistor 8 pins –8– VFDP Hi-Z CXP88216/88220/88224 Pin When reset Circuit format Port E PE0/INT0 PE1/EC0/INT2 AA AA AAAA AAAA AAAA AA AA AAAA AA AAAA AA Schmitt input IP 2 pins Hi-Z Data bus RD (Port E) Port E PE2/PWM0 PE3/PWM1 PE4/DAA0 PE5/DAA1 Port E function select DA gate output or PWM output AA MPX Port E data Hi-Z Data bus 4 pins Hi-Z control AAAA AAAAAAA AAA AAAA AAA AAAA RD (Port E) Port E Port E function select PE6/DAB0 PE7/DAB1 DA gate output AA AA MPX Port E data High level Data bus 2 pins Hi-Z control AA AA A AAAA AAAA AA AAA AA AAA AA AAA RD (Port E) Port F PF0/AN4 to PF3/AN7 Input multiplexer IP Port F function select 4 pins Hi-Z Data bus RD (Port F) Port F SCK1 output enable From serial interface MPX Port F data PF4/SCK1 To A/D converter Port F direction AA AA AA AA IP Data bus 2 pins RD (Port F) Schmitt input To serial interface –9– Hi-Z CXP88216/88220/88224 Pin When reset Circuit format Port F AAA AAA AAAA AAA AAAA Port F output selection AA AA AA From serial interface MPX PF5/SO1 Port F data Port F direction Data bus Hi-Z IP RD (Port F) 1 pin AAAA AAAA AAAA To serial interface Port F AA AA AA Port F data PF6/SI1 Port F direction Hi-Z IP Data bus RD (Port F) Schmitt input To serial interface 1 pin Port F AAA AAA AAA AAA AA AA AA Port F data PF7 Port F direction Data bus RD (Port F) 1 pin PG0/CFG PG1/DFG PG2/DPG PG3/PBCTL/ EC1 PG4/SYNC0/ EC2 PG5/SYNC1 PG6/EXI0 PG7/EXI1 Hi-Z IP To serial interface Port G AA AA AAAA Schmitt input IP Data bus RD (Port G) Note) For PG4/SYNC and PG5/SYNC1, CMOS schmitt input or TTL schmitt input can be selected with the mask option. 8 pins – 10 – Hi-Z CXP88216/88220/88224 Pin AAAA AAAAAA AA A AAAA AA A AAAA AA AA AAAA AA AA AAAA AAAA AA AAAA AA AA Circuit format Port I When reset Port I function select PI2: From 14-bit PWM, timer/counter PI3: From CTL duty detection circuit, 32kHz timer PI2/PWM PI3/TO/ DDO/ADJ MPX Port I data Port I direction Data bus 2 pins Hi-Z IP RD (Port I) Port I Port I data PI1/RMC PI4/INT1/ NMI/CS0 PI7/SI0 Port I direction IP Data bus Hi-Z RD (Port I) 3 pins PI1: To remote control circuit PI4: To interruption circuit PI3: To serial CH0 AAAA AAAAAA AA AA AAAA AA AA AA AAAA AAAA AA AA AAA AA AAA AA AAA AA AA Port I Port I function select PI5/SCK0 PI6/SO0 From serial CH0 MPX Port I data Port I direction MPX IP Note) P15 is schmitt input Data bus 2 pins Hi-Z RD (Port I) To SI0 Schmitt input Port H Port H data PH0/KR0 to PH2/KR2 Port H direction IP Data bus RD (Port H) 3 pins Key input signal – 11 – Hi-Z CXP88216/88220/88224 Pin EXTAL XTAL 2 pins RST AA AA AA AA AA AA AA AA AA AA AA AA AA EXTAL • Shows the circuit composition during oscillation. IP • Feedback resistor is removed during stop. TEX TX IP • Shows the circuit composition during oscillation. • Feedback resistor is removed during 32kHz oscillation circuit stop by software. At this time TEX pin outputs "L" level and TX pin outputs "H" level. Pull-up resistor Mask option Schmitt input OP 1 pin MP IP AAA AA IP 1 pin Hi-Z XTAL 2 pins TEX TX When reset Circuit format – 12 – CPU mode Oscillation Hi-Z or Pull up Hi-Z CXP88216/88220/88224 Absolute Maximum Ratings Item Symbol (Vss = 0V) Rating Unit –0.3 to +7.0 AVss to +7.0∗1 V V VIN –0.3 to +0.3 –0.3 to +7.0∗2 Output voltage VOUT –0.3 to +7.0∗2 V Display output voltage VOD VDD – 40 to VDD + 0.3 V IOH –5 mA All pins excluding display outputs (value per pin)∗3 IODH1 –15 mA Display outputs S0 to S7 (value per pin) IODH2 –35 mA Display outputs T0 to T7, and T8/S15 to T15/S8 (value per pin) ∑IOH –50 mA Total for all pins excluding display outputs ∑IODH –100 mA Total for all display outputs 15 mA 130 mA VDD Supply voltage AVDD AVSS Input voltage High level output current High level total output current Low level output current IOL Low level total output current ∑IOL Remarks V V Operating temperature Topr –20 to +75 °C Storage temperature Tstg –55 to +150 °C Allowable power dissipation PD 600 mW As P-channel transistor is open drain, VDD is reference. Total for all outputs ∗1 AVDD and VDD should be set to a same voltage. ∗2 VIN and VOUT should not exceed VDD + 0.3V. ∗3 It specifies output current of general-purpose I/O port. Note) Usage exceeding absolute maximum ratings may permanently impair the LSI. Normal operation should better take place under the recommended operating conditions. Exceeding those conditions may adversely affect the reliability of the LSI. – 13 – CXP88216/88220/88224 Recommended Operating Conditions Item Supply voltage Analog power supply High level input voltage Low level input voltage Operating temperature Symbol (Vss = 0V) Min. Max. 4.5 5.5 Guaranteed range during high speed mode (1/2 dividing clock) operation 3.5 5.5 Guaranteed range during low speed mode (1/16 dividing clock) operation 2.7 5.5 2.5 5.5 4.5 5.5 V Guaranteed data hold operation range during STOP ∗1 VIH 0.7VDD VDD V ∗2 VIHS 0.8VDD VDD V VIHTS 2.2 VDD V VIHEX VDD – 0.4 VDD + 0.3 V VIL 0 0.3VDD V VILS 0 0.2VDD V VILTS 0 0.8 V CMOS schmitt input∗3 TTL schmitt input∗4 VILEX –0.3 0.4 V EXTAL pin∗5 TEX pin∗6 Topr –20 +75 °C VDD AVDD Unit V Remarks Guaranteed operation range by TEX clock CMOS schmitt input∗3 TTL schmitt input∗4 EXTAL pin∗5 TEX pin∗6 ∗2 ∗1 AVDD and VDD should be set to a same voltage. ∗2 Normal input port (each pin of PA1 to PA4, PC, PF0 to PF3, PF5, PF7, PH, PI2, PI3 and PI6), MP pin ∗3 Each pin of RST, PE0/INT0, PE1/EC0/INT2, PF4/SCK1, PF6/SI1, PI1/RMC, PI4/CS0/NMI/INT1, PI5/SCK0, PI7/SI1 and PG (For PG4 and PG5, when CMOS schmitt input is selected with mask option) ∗4 Each pin of PG4 and PG5 (When TTL schmitt input is selected with mask option) ∗5 It specifies only when the external clock is input. ∗6 It specifies only when the external event is input. – 14 – CXP88216/88220/88224 DC Characteristics Item Symbol High level VOH output voltage Low level VOL output voltage (Ta = –20 to +75°C, Vss = 0V) Pin PA to PC, PE PF4 to PF7, PH, PI1 to PI7, RST∗1 (VOL only) Condition VDD = 4.5V, IOH = –1.2mA 3.5 V VDD = 4.5V, IOL = 1.8mA 0.4 V VDD = 4.5V, IOL = 3.6mA 0.6 V VDD = 4.5V, VOH = VDD – 2.5V –8 mA –20 mA Open drain output leakage current (P-CH ILOL Tr OFF in S0 to S7, S8/T15 to S15/T8, T0 to T7 VDD = 5.5V, VOL = VDD – 35V VFDP = VDD – 35V Pull-down resistor∗3 RL S0 to S7, S8/T15 to S15/T8, T0 to T7 VDD = 5V, VOD – VFDP = 30V 60 VDD = 5.5V, VIH = 5.5V IIHE EXTAL IILE TEX Supply current∗4 Input capacity Unit V S8/T15 to S15/T8, T0 to T7 I/O leakage current Max. 4.0 IOH Input current Typ. VDD = 4.5V, IOH = –0.5mA S0 to S7 Display output current Min. –20 µA 270 kΩ 0.5 40 µA VDD = 5.5V, VIL = 0.4V –0.5 –40 µA VDD = 5.5V, VIH = 5.5V 0.1 10 µA –0.1 –10 µA –1.5 –400 µA ±10 µA VDD = 5.5V, VIL = 0.4V IILR RST∗2 IIZ PA to PC, PE to PI, AN1 to AN3, VDD = 5.5V, VI = 0, 5.5V MP, RST∗2 100 IDD1 16MHz crystal oscillation (C1 = C2 = 15pF), VDD = 5V ± 10%∗5 23 45 mA IDDS1 16MHz crystal oscillation (C1 = C2 = 15pF), VDD = 5V ± 10%, SLEEP mode 1.2 8 mA 32kHz crystal oscillation (C1 = C2 = 47pF), VDD = 3V ± 10% 38 100 µA IDDS2 32kHz crystal oscillation (C1 = C2 = 47pF), VDD = 3V ± 10%, SLEEP mode 7 30 µA IDDS3 VDD = 5.5V, STOP mode (32kHz, 16MHz oscillation stop) 10 µA 20 pF IDD2 CIN VDD, Vss Other than S0 to S15, T0 to T7, Clock 1MHz PA0, PA5 to PA7 0V other than the measured pins PE2 to PE7 PB, VDD, Vss AVDD, AVss – 15 – 10 CXP88216/88220/88224 ∗1 RST pin is specified when evaluation mode is in use. ∗2 RST pin specifies the input current when the pull-up resistor is selected, and specifies leakage current when non-resistor is selected. ∗3 When built-in pull-down resistor is selected with mask option. ∗4 When entire output pins are open. ∗5 When setting upper 2 bits (CPU clock selection) of clock control register CLC (address: 0002FEH) to "00" and operating in high speed mode (1/2 dividing clock). AC Characteristics (1) Clock timing (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) Item Symbol Pin Condition Min. System clock frequency fC XTAL EXTAL Fig. 1, Fig. 2 1 System clock input pulse width tXL, tXH XTAL EXTAL Fig. 1, Fig. 2 External clock drive 28 System clock input rise and fall times tCR, tCF XTAL EXTAL Fig. 1, Fig. 2 External clock drive Event count clock input pulse width EC0, EC1, Fig. 3 EC2 Event count clock input rise and fall times tEH, tEL tER, tEF System clock frequency fC Event count clock input pulse width tTL, tTH tTR, tTF Event count clock input rise and fall times Typ. Max. Unit 16 MHz ns 200 tsys + 200∗ ns EC0, EC1, Fig. 3 EC2 20 TEX TX VDD = 2.7 to 5.5V Fig. 2 (32kHz clock applying condition) TEX Fig. 3 TEX Fig. 3 ns ms kHz 32.768 µs 10 20 ms ∗ tsys indicates three values according to the contents of the clock control register (address; 00FEH) upper 2 bits (CPU clock selection). tsys [ns] = 2000/fc (Upper 2 bits = "00"), 4000/fc (Upper 2 bits = "01"), 16000/fc (Upper 2 bits = "11") Fig. 1. Clock timing 1/fc VDD – 0.4V EXTAL XTAL 0.4V tCF tXH tXL tCR AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA Fig. 2. Clock applying condition Crystal oscillation Ceramic oscillation EXTAL C1 XTAL C2 External clock EXTAL 32kHz clock applying condition Crystal oscillation TEX XTAL 74HC04 – 16 – C1 TX C2 CXP88216/88220/88224 Fig. 3. Event count clock timing TEX EC0 EC1 EC2 0.8VDD 0.2VDD tEH tEF tEL tER tTH tTF tTL tTR (2) Serial transfer (CH0) Item (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) Symbol Condition Pin Min. Max. Unit CS0 ↓ → SCK0 delay time tDCSK SCK0 Chip select transfer mode (SCK0 = output mode) tsys + 200 ns CS0 ↑ → SCK0 floating delay time tDCSKF SCK0 Chip select transfer mode (SCK0 = output mode) tsys + 200 ns CS0 ↓ → SO0 delay time tDCSO SO0 Chip select transfer mode tsys + 200 ns CS0 ↑ → SO0 floating delay time tDCSOF SO0 Chip select transfer mode tsys + 200 ns CS0 high level width tWHCS CS0 Chip select transfer mode tsys + 200 ns SCK0 cycle time tKCY Input mode 2tsys + 200 ns SCK0 Output mode 16000/fc ns SCK0 high and low level widths tKH tKL Input mode tsys+100 ns SCK0 8000/fc – 50 ns SI0 input set-up time (against SCK0 ↑) tSIK SCK0 input mode 100 ns SI0 SCK0 output mode 200 ns SI0 input hold time (against SCK0 ↑) tKSI tsys + 200 ns SI0 100 ns SCK0 ↓ → SO0 delay time tKSO SO0 Output mode SCK0 input mode SCK0 output mode SCK0 input mode SCK0 output mode tsys + 200 ns 100 ns Note 1) tsys indicates three values according to the contents of the clock control register (address; 00FEH) upper 2 bits (CPU clock selection). 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. – 17 – CXP88216/88220/88224 Fig. 4. Serial transfer CH0 timing tWHCS 0.8VDD CS0 0.2VDD tKCY tDCSK tKL tDCSKF tKH 0.8VDD 0.8VDD SCK0 0.2VDD tSIK tKSI 0.8VDD Input data SI0 0.2VDD tDCSO tKSO tDCSOF 0.8VDD SO0 Output data 0.2VDD – 18 – CXP88216/88220/88224 Serial transfer (CH1) Item (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) Symbol Pin Condition tKCY SCK1 SCK1 high and low level widths tKH tKL SCK1 SI1 input set-up time (against SCK1 ↑) tSIK SI1 SI1 input hold time (against SCK1 ↑) tKSI SI1 SCK1 ↓ → SO1 delay time tKSO SO1 SCK1 cycle time Min. Input mode Max. 1000 ns 16000/fc ns 400 ns 8000/fc – 50 ns SCK1 input mode 100 ns SCK1 output mode 200 ns SCK1 input mode 200 ns SCK1output mode 100 ns Output mode Input mode Output mode SCK1 input mode 200 ns SCK1 output mode 100 ns Note) The load of SCK1 output mode and SO1 output delay time is 50pF + 1TTL. Fig. 5. Serial transfer CH1 timing tKCY tKL tKH 0.8VDD SCK1 0.2VDD tSIK tKSI 0.8VDD SI1 Unit Input data 0.2VDD tKSO 0.8VDD Output data SO1 0.2VDD – 19 – CXP88216/88220/88224 (3) A/D converter characteristics Item Symbol (Ta = –20 to +75°C, VDD = AVDD = 4.5 to 5.5V, AVREF = 4.0 to AVDD, Vss = AVss = Pin Condition Min. Typ. Resolution Only for A/D converter operation Ta = 25°C VDD = AVDD = AVREF = 5.0V Linearity error Absolute error Sampling time tCONV tSAMP Reference input voltage VREF AVREF Analog input voltage VIAN AN0 to AN7 Conversion time AVREF current IREF AVREF 8 Bits ±1 LSB ±2 LSB µs 12/fADC µs 0 SLEEP mode STOP mode 32kHz operation mode Unit 160/fADC VDD = AVDD = 4.5 to 5.5V AVDD – 0.5 Operation mode AVREF = 4.0 to 5.5V Max. 0.6 AVDD V AVREF V 1.0 mA 10 µA Fig. 6. Definitions of A/D converter terms Digital conversion value FFH FEH ∗ The value of fADC is as follows by selecting ADC operation clock (MSC: Address 01FEH bit 0). When PS2 is selected, fADC = fc/2 When PS1 is selected, fADC = fc Linearity error 01H 00H VFT VZT Analog input – 20 – CXP88216/88220/88224 (4) Interruption, reset input Item (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) Symbol Pin Condition Min. Max. Unit External interruption high and low level widths tIH tIL INT0 INT1 INT2 NMI 1 µs Reset input low level width tRSL RST 32/fc µs Fig. 7. Interruption input timing tIH INT0 INT1 INT2 NMI (Falling edge) tIL 0.8VDD 0.2VDD Fig. 8. Reset input timing tRSL RST 0.2VDD (5) Others Item (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) Symbol DPG minimum pulse width tCFH tCFL tDFH tDFL tDPW DPG minimum removal time trem PBCTL input high and low level widths tCTH tCTL tEIH tEIL CFG input high and low level widths DFG input high and low level widths EXI input high and low level widths Pin Condition Min. Max. Unit CFG tFRC × 24 + 200 ns DFG tFRC × 16 + 200 ns DPG tFRC × 8 + 200 ns DPG tFRC × 16 + 200 ns PBCTL tsys = 2000/fc tFRC × 8 + tsys + 200 ns EXI0 EXI1 tsys = 2000/fc tFRC × 8 + tsys + 200 ns Note 1) tsys indicates three values according to the contents of the clock control register (address; 00FEH) upper 2 bits (CPU clock selection). tsys [ns] = 2000/fc (Upper 2 bits = "00"), 4000/fc (Upper 2 bits = "01"), 16000/fc (Upper 2 bits = "11") Note 2) tFRC = 1000/fc (ns) – 21 – CXP88216/88220/88224 Fig.9. Other timings tCFH tCFL 0.8VDD CFG 0.2VDD tDFH tDFL 0.8VDD DFG 0.2VDD trem tDPW trem 0.8VDD DPG tCTH tCTL 0.8VDD PBCTL 0.2VDD tEIH EXI0 EXI1 tEIL 0.8VDD 0.2VDD – 22 – CXP88216/88220/88224 Supplement Fig.10. Recommended oscillation circuit AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA (i) EXTAL (ii) TEX XTAL Rd C1 RIVER ELETEC CO., LTD. Rd C2 Manufacturer Model HC-49/U03 TX C2 C1 Rd (Ω) Circuit example 0 (i) fc (MHz) C1 (pF) C2 (pF) 8.00 10 10 15 15 8.00 16 (12) 16 (12) 10.00 16 (12) 16 (12) 12.00 12 12 0 16.00 12 12 0 32.768kHz 30 18 470k 10.00 12.00 16.00 HC-49/U (-S) KINSEKI LTD. P3 0 (i) (ii) Mask option table Content Item Reset pin pull-up resistor Non-existent Existent High voltage drive output port pull-down resistor Input circuit format∗ Non-existent Existent CMOS schmitt TTL schmitt ∗ In PG4/SYNC0/EC2 pin and PG5/SYNC1 pin, the input circuit format can be selected every pin. – 23 – CXP88216/88220/88224 Characteristics Curve IDD vs. fc (VDD = 5V, Ta = 25°C, Typical) IDD vs. VDD (fc = 16MHz, Ta = 25°C, Typical) 1/2 dividing mode 1/4 dividing mode 20.0 1/16 dividing mode 20 5.0 SLEEP mode 1.0 0.5 32kHz mode (Instruction) 0.1 (100µA) 0.05 (50µA) 32kHz SLEEP mode IDD – Supply current [mA] IDD – Supply current [mA] 10.0 1/2 dividing mode 15 1/4 dividing mode 10 1/16 dividing mode 5 0.01 (10µA) SLEEP mode 2 3 4 5 6 7 0 VDD – Supply voltage [V] – 24 – 5 10 fc – System clock [MHz] 16 CXP88216/88220/88224 Unit: mm 100PIN QFP (PLASTIC) + 0.4 14.0 – 0.01 17.9 ± 0.4 15.8 ± 0.4 + 0.1 0.15 – 0.05 23.9 ± 0.4 + 0.4 20.0 – 0.1 A 0.65 + 0.35 2.75 – 0.15 ±0.12 M (16.3) 0.15 0° to 15° DETAIL A 0.8 ± 0.2 Package Outline PACKAGE STRUCTURE PACKAGE MATERIAL EPOXY RESIN SONY CODE QFP-100P-L01 LEAD TREATMENT SOLDER PLATING EIAJ CODE ∗QFP100-P-1420-A LEAD MATERIAL COPPER / 42 ALLOY PACKAGE WEIGHT 1.4g JEDEC CODE – 25 –