CXP88132/88140 CMOS 8-bit Single Chip Microcomputer Description The CXP88132/88140 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, CXP88132/88140 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 32Kbytes (CXP88132), 40Kbytes (CXP88140) • Incorporated RAM capacity 1296bytes • 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 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– E94417-PS PA0/HGO PE2/PWM0 PE4/DAA0 PE6/DAB0 PE3/PWM1 PE5/DAA0 PE7/DAB1 PI2/PWM PI1/RMC PG0/CFG PG1/DFG PG2/DPG PG3/PBCTL/EC1 PG6/EXI0 PG7/EXI1 PG4/SYNC0/EC2 PG5/SYNC1 PI3/TO/DD0 PE1/EC0 PF6/SI1 PF5/SO1 PF4/SCK1 PI4/CS0 PI7/SI0 PI6/SO0 PI5/SCK0 12 AVREF AVDD FIFO 8 BIT TIMER/COUNTER1 PSEUDO HSYNC GENERATOR 12 BIT PWM GENERATOR CH1 12 BIT PWM GENERATOR CH0 14 BIT PWM GENERATOR VISS/VASS FIFO SERVO INPUT CONTROL REMOCON INPUT CTL DRUM CAPSTAN V SYNC SEPARATOR EC SELECT 8 BIT TIMER/COUNTER 0 SERIAL INTERFACE UNIT (CH1) SERIAL INTERFACE UNIT (CH0) 3 2 4 2 2 2 2 PE0/INT0 NMI PI4/INT1/NMI PE1/INT2 FIFO SPC700 CPU CORE 5 CH0 7 1 CH 8 8 8 FDP CONTROLLER /DRIVER 32kHz TIMER/COUNTER PRESCALER/ TIME BASE TIMER RAM 1296 BYTES RAM CLOCK GENERATOR/ SYSTEM CONTROL AA REALTIME PULSE GENERATOR 2 ROM 32k/40k BYTES PROGRAMABLE RAM PATTERN 96BYTES GENERATOR FRC CAPTURE UNIT INTERRUPT CONTROLLER AVss A/D CONVERTERCONVERTER PPO0 to PPO7 (Common with Port A) EXTAL XTAL TEX TX VFDP T0 to T7 AN0 to AN3 PF0/AN4 to PF7/AN11 RTO3 to RTO7 (Common with Port C) RST MP VDD Vss T15/S8 to T8/S15 S0 to S7 (Common with Port D) PORT A PORT B PORT C PORT D PORT E PORT F PORT G PORT H –2– PORT I Block Diagram 2 7 3 8 4 4 6 PI0 to PI7 (Common with SIO, other I/O) PH0 to PH2 (Common with key return input pin) PG0 to PG7 (Common with SERVO input, EC input pins) PD0 to PD7 PF4 to PF7 (Common with A/D input pin) PE0 to PE1 (Common with interruption pin) PE2 to PE7 (Common with PWM, DA pins) PF0 to PF3 (Common with A/D input pin) (Standby release) PF4 to PF7 (Common with SIO pin) PC0 to PC7 (Common with PPO, RTO pins) 8 8 PB0 to PB7 PA0 to PA7 (Common with PPO pin) 8 4 4 CXP88132/88140 CXP88132/88140 PI5/SCK0 PI4/INT1/NMI/CS0 PI3/T0/DD0/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 AVDD 30 51 PE2/PWM0 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 PE7/DAB1 PG0/CFG PG1/DFG EXTAL XTAL VSS RST MP PG2/DPG PG3/PBCTL/EC1 PG4/SYNC0/EC2 PG5/SYNC1 PG6/EXI0 PG7/EXI1 AN0 AN1 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 CXP88132/88140 Pin Description Symbol PA0/PPO0/ HGO I/O I/O/ Real time output PA3/PPO3 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 RTO content 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) Head switching output pins. PA7/PPO7 Output 8-bit output port. Tri-state can be controlled. (8 pins) PC0/PPO8 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 to PD7 Output (Port D) 8-bit output port. (8 pins) PB0 to PB7 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– CXP88132/88140 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 PH7/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/Input 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 pin. External event input pin for timer/counter. External event input pin for timer/counter. External input pin 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 FPD 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– CXP88132/88140 Input/Output Circuit Formats for Pins Pin Circuit format AA AA AA AA AAAA AA AAA AAA AA AAAA AA AAAA A AAAA A When reset Port A HSEL HOUT PPO0 PA0/PPO0/ HGO MPX PA0 Hi-Z Data bus RD (Port A) 1 pin HSEL MPX HOUTE Output becomes active from high impedance by data writing to port register. PPO1 PPG control status register bit 0 Tri-state control selection PPO1 PA1/PPO1 PA0 IP PA1 direction Input protection circuit Hi-Z (Every bit) Data bus 1 pin RD (Port A) Port A AAAA AAAA AAAA PPO data PA2/PPO2 to PA4/PPO4 Input protection circuit Port A data (Every bit) Data bus RD (Port A) Port A PPO data PA5/PPO5 to PA7/PPO7 AAAA Port A data Data bus RD (Port A) 3 pins Hi-Z IP Port A direction 3 pins AA AA AA AA Output becomes active from high impedance by data writing to port register. –6– AA Hi-Z CXP88132/88140 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 Hi-Z RD (Port C) Port C AAA AAA AAA RTO3 PC3/RTO3 Hi-Z AA AA AA 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 CXP88132/88140 Pin Circuit format Port C AAA AAA AAA RTO data PC5/RTO5 to PC7/RTO7 Input protection circuit Port C data IP Port C direction Data bus 3 pins AA AA AA AA (Every bit) When reset Hi-Z RD (Port C) Port D High voltage drive transistor AAA AAA AA 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 Pull-down resistor AA AA AA AA AA Hi-Z VFDP RD (Port D) High voltage drive transistor Timing output data Output selection control signal ("0" when reset) T0 to T7 OP Mask option Pull-down resistor Hi-Z VFDP 8 pins High voltage drive transistor Timing output data T8/S15 to T15/S8 Output selection control signal ("0" when reset) Segment output data A A OP Mask option Pull-down resistor 8 pins –8– VFDP Hi-Z CXP88132/88140 Pin Port E PE0/INT0 PE1/EC0/INT2 AA AA AAAA AAAA AAAA AA AA AAAA AA AAAA AA Schmitt input IP 2 pins Port E PE2/PWM0 PE3/PWM1 PE4/DAA0 PE5/DAA1 When reset Circuit format Hi-Z Data bus RD (Port E) 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 AAAAAA AA AAAA AA 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 Hi-Z control 2 pins AA AA A AAAA AAAA AA AAA AA AAA AA AAA RD (Port E) Port F PF0/AN4 to PF3/AN7 Input multiplexer IP To A/D converter Hi-Z Data bus Port F function select 4 pins Port F SCK1 output enable From serial interface MPX Port F data PF4/SCK1 Port F direction RD (Port F) AA AA AA AA IP Data bus 2 pins RD (Port F) Schmitt input To serial interface –9– Hi-Z CXP88132/88140 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 1 pin To serial interface 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 CXP88132/88140 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 Hi-Z AA AA AA Hi-Z Data bus RD (Port I) 1 pin PI1: To remote control circuit PI4: To interruption circuit PI3: To serial CH0 AAAA AAAA AA AAAA AA AA AAAA AA AA AAAA AA AA AAA AAA AAA Port I Port I function select PI5/SCK0 PI6/SO0 From serial CH0 MPX Port I data MPX Port I direction Note) P15 is schmitt input Data bus 2 pins RD (Port I) To SI0 Schmitt input Port H Port H data PH0/KR0 to PH2/KR2 Port H direction Data bus RD (Port H) 3 pins IP Key input signal – 11 – AA AA AA AA IP Hi-Z CXP88132/88140 Pin EXTAL XTAL 2 pins TEX TX 2 pins RST When reset Circuit format AA AA AA AA AA AA AA AA AA AA AA AA AA AA A AAA EXTAL • Shows the circuit composition during oscillation. IP • Feedback resistor is removed during stop. XTAL 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. Schmitt input MP Low level IP IP 1 pin Oscillation Pull-up resistor Mask option OP 1 pin Hi-Z – 12 – CPU mode Hi-Z CXP88132/88140 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∗3 V Display output voltage VOD VDD – 4.0 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 – CXP88132/88140 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 – CXP88132/88140 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 Open drain output leakage current (P-CH Tr OFF in state) Pull-down resistor∗3 Input current I/O leakage current Supply current∗4 Input capacity IOH S8/T15 to S15/T8, T0 to T7 Typ. Max. Unit VDD = 4.5V, IOH = –0.5mA 4.0 V 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 S0 to S7 Display output current Min. VDD = 4.5V, VOH = VDD – 2.5V –8 mA –20 mA ILOL S0 to S7, S8/T15 to S15/T8, T0 to T7 VDD = 5.5V, VOL = VDD – 35V VFDP = VDD – 35V RL S0 to S7, S8/T15 to S15/T8, T0 to T7 VDD = 5V, VFDP – VDD = 30V 60 VDD = 5.5V, VIH = 5.5V IIHE EXTAL IILE TEX –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 =C 2 = 15pF), VDD = 5V ± 10%∗5 25 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% 40 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, PA0, Clock 1MHz PA5 to PA7 0V other than the measured pins PE2 to PE7 PB, VDD, Vss AVDD, AVss – 15 – 10 CXP88132/88140 ∗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 XTAL EXTAL Fig. 1, Fig. 2 External clock drive Event count clock input rise and fall times tCR, tCF tEH, tEL tER, tEF System clock frequency fC Event count clock input pulse width tTL, tTH tTR, tTF System clock input rise and fall times Event count clock input pulse width Event count clock input rise and fall times EC0, EC1, Fig. 3 EC2 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 tXH tCF 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 CXP88132/88140 Fig. 3. Event count clock timing 0.8VDD TEX EC0 EC1 EC2 0.2VDD tEH tEF tEL tER tTH tTF tTL tTR (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) (2) Serial transfer (CH0) Item Symbol Pin Condition 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 16000/fc ns SCK0 high and low level widths tKH tKL 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 Input mode 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 – CXP88132/88140 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 SI0 Input data 0.2VDD tDCSO tKSO tDCSOF 0.8VDD SO0 Output data 0.2VDD – 18 – CXP88132/88140 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 SO1 Output data 0.2VDD – 19 – CXP88132/88140 (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 = 0V) Pin Condition Min. Typ. Resolution Only for A/D converter operation Ta = 25°C VDD = AVDD = AVREF = 5.0V VDD = AVss = 0V Linearity error Absolute error Sampling time tCONV tSAMP Reference input voltage VREF AVREF Analog input voltage VIAN AN0 to AN7 Conversion time VDD = AVDD = 4.5 to 5.5V Operation mode AVREF = 4.0 to 5.5V AVREF current IREF AVREF SLEEP mode STOP mode 32kHz operation mode Max. Unit 8 Bits ±1 LSB ±2 LSB 160/fADC µs 12/fADC µs AVDD – 0.5 AVDD V 0 AVREF V 1.0 mA 10 µA 0.6 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 01FFH bit 0). When PS2 is selected, fADC = fc/2 When PS1 is selected, fADC = fc Linearity error 01H 00H VFT VZT Analog input – 20 – CXP88132/88140 (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 (Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V) (5) Others Item 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 – CXP88132/88140 Fig. 9. Other timings tCFH CFG tCFL 0.8VDD 0.2VDD tDFH DFG tDFL 0.8VDD 0.2VDD trem tDPW trem 0.8VDD DPG tCTH tCTL 0.8VDD PBCTL 0.2VDD tEIH EXI0 EXI1 tEIL 0.8VDD 0.2VDD – 22 – CXP88132/88140 Supplement Fig. 10. Recommended oscillation circuit AAAAA AAAAA AAAAA (i) EXTAL TEX XTAL Rd Manufacturer RIVER ELETEC CO., LTD. Model HC-49/U03 TX Rd C2 C1 AAAAA AAAAA AAAAA (ii) C2 C1 fc (MHz) C1 (pF) C2 (pF) 8.00 10 10 5 5 22 (15) 22 (15) 12.00 15 15 16.00 12 12 32.768kHz 30 18 Rd (Ω) Circuit example 0 (i) 0 (i) 470K (ii) 10.00 12.00 16.00 8.00 KINSEKI LTD. HC-49/U (-S) P3 10.00 Mask option table Content Item Reset pin pull-up resistor Non-existent Power-on reset circuit High voltage drive output port pull-down resistor Input circuit format∗ Existent Non-existent 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 – CXP88132/88140 Characteristics Curve IDD vs. VDD (fc = 16MHz, Ta = 25°C, Typical) 20.0 IDD vs. fc (VDD = 5V, Ta = 25°C, Typical) 1/2 dividing mode 1/2 dividing mode 1/4 dividing mode 10.0 20 SLEEP mode 1.0 0.5 0.1 (100µA) 0.05 (50µA) 32kHz mode (instruction) 32kHz SLEEP mode IDD – Supply current [mA] IDD – Supply current [mA] 1/16 dividing mode 5.0 15 1/4 dividing mode 10 1/16 dividing mode 5 0.01 (10µA) SLEEP mode 3 6 4 5 2 VDD – Supply voltage [V] 7 0 – 24 – 5 10 fc – System clock [MHz] 16 CXP88132/88140 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 –