CXP834P16 CXP834P17 CMOS 8-bit Single Chip Microcomputer Description The CXP834P16 and CXP834P17 are a CMOS 8-bit microcomputer which consists of A/D converter, serial interface, timer/counter, time base timer, 32kHz timer/counter, LCD controller/driver, remote control receiving circuit and PWM output, as well as basic configurations like 8-bit CPU, PROM, RAM and I/O port. They are integrated into a single chip. Also CXP834P16 and CXP834P17 provide sleep/ stop function which enables to lower power consumption. The CXP834P16 and CXP834P17 are the PROMincorporated version of the CXP83416 and CXP83417 with built-in mask ROM. These provide the additional feature of being able to write directly into the program. Thus, they are most suitable for evaluation use during system development and for small-quantity production. CXP834P16 80 pin QFP (Plastic) 80 pin LQFP (Plastic) CXP834P17 80 pin QFP (Plastic) 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 400ns at 10MHz operation (4.5 to 5.5V) 122µs at 32kHz operation (2.7 to 5.5V) • Incorporated PROM capacity 16K bytes • Incorporated RAM capacity 448 bytes (LCD display data area included) • Peripheral functions — A/D converter 8 bits, 8 channels, successive approximation system (Conversion time: 32µs/10MHz) — Serial interface Incorporated 8-bit and 8-stage FIFO (1 to 8 bytes auto transfer), 1 circuit 2 channels — Timer 8-bit timer, 8-bit timer/counter, 19-bit time base timer, 32kHz timer/counter — LCD controller/driver Maximum 128 segments display possible (During 1/4 duty) 4 common outputs, 32 segment outputs Display method: Static, 1/2, 1/3 and 1/4 duty Bias method: 1/2 and 1/3 bias — Remote control receiving circuit 8-bit pulse measurement counter 6-stage FIFO — PWM output 14 bits 1 channel, 8 bits 1 channel • Interruption 12 factors, 12 vectors, multi-interruption possible • Standby mode SLEEP/STOP • Package 80-pin plastic QFP/LQFP 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– E93Z14B63-ST 4 COM0 to COM3 FIFO REMOCON SERIAL INTERFACE UNIT 0 RMC CS0 SI0 SO0 SCK0 CS1 SI1 SO1 SCK1 8BIT TIMER 1 TO ADJ 8BIT TIMER/COUNTER 0 EC FIFO 14BIT PWM GENERATOR 8BIT PWM GENERATOR LCD CONTROLLER/ DRIVER A/D CONVERTER PWM0 PWM1 VL VLC1 VLC2 VLC3 32 8 SEG0 to SEG31 AN0 to AN7 2 INTERRUPT CONTROLLER 2 INT0 INT1 INT2 NMI/INT3 2 PRESCALER/ TIME BASE TIMER PROM 16K BYTES SPC700 CPU CORE TEX TX EXTAL XTAL RST VDD Vss Vpp 32kHz TIMER/COUNTER RAM 448 BYTES CLOCK GENERATOR/ SYSTEM CONTROL PORT A PORT B PORT C PORT D PORT E PORT F –2– PORT H Block Diagram PE5 to PE6 PF0 to PF7 2 8 PH0 PE0 to PE4 5 1 PD0 to PD7 PC0 to PC7 PB0 to PB7 PA0 to PA7 8 8 8 8 CXP834P16, CXP834P17 CXP834P16, CXP834P17 PD7/SEG23 PF0/SEG24 PF1/SEG25 PF2/SEG26 PF3/SEG27 PF4/SEG28 PF5/SEG29 VDD TX TEX Vpp PF6/SEG30 PF7/SEG31 PE0/INT0/EC PE1/INT1 PE2/INT2 Pin Assignment (Top View) CXP834P16 (QFP package) 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 PE3/INT3/NMI 1 64 PD6/SEG22 PE4/RMC 2 63 PD5/SEG21 PE5/PWM0 3 62 PD4/SEG20 PE6/TO/ADJ 4 61 PD3/SEG19 PB0/CS1 5 60 PD2/SEG18 PB1/CS0 6 59 PD1/SEG17 PB2/SCK0 7 58 PD0/SEG16 PB3/SI0 8 57 SEG15 PB4/SO0 9 56 SEG14 PB5/SCK1 10 55 SEG13 PB6/SI1 11 54 SEG12 PB7/SO1 12 53 SEG11 PC0 13 52 SEG10 PC1 14 51 SEG9 PC2 15 50 SEG8 PC3 16 49 SEG7 PC4 17 48 SEG6 PC5 18 47 SEG5 PC6 19 46 SEG4 PC7 20 45 SEG3 PH0/PWM1 21 44 SEG2 PA0/AN0 22 43 SEG1 PA1/AN1 23 42 SEG0 PA2/AN2 24 41 COM3 Note) Vpp (Pin 75) is always connected to VDD. –3– COM2 COM1 COM0 VLC1 VLC2 VLC3 VL VSS XTAL EXTAL RST PA7/AN7 PA6/AN6 PA5/AN5 PA4/AN4 PA3/AN3 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 CXP834P16, CXP834P17 PD5/SEG21 PD6/SEG22 PD7/SEG23 PF0/SEG24 PF1/SEG25 PF2/SEG26 PF3/SEG27 PF4/SEG28 PF5/SEG29 VDD TX TEX Vpp PF6/SEG30 PF7/SEG31 PE0/INT0/EC PE1/INT1 PE2/INT2 PE3/INT3/NMI PE4/RMC Pin Assignment (Top View) CXP834P16 (LQFP package) 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 PE5/PWM0 1 60 PD4/SEG20 PE6/TO/ADJ 2 59 PD3/SEG19 PB0/CS1 3 58 PD2/SEG18 PB1/CS0 4 57 PD1/SEG17 PB2/SCK0 5 56 PD0/SEG16 PB3/SI0 6 55 SEG15 PB4/SO0 7 54 SEG14 PB5/SCK1 8 53 SEG13 PB6/SI1 9 52 SEG12 PB7/SO1 10 51 SEG11 PC0 11 50 SEG10 PC1 12 49 SEG9 PC2 13 48 SEG8 PC3 14 47 SEG7 PC4 15 46 SEG6 PC5 16 45 SEG5 PC6 17 44 SEG4 PC7 18 43 SEG3 PH0/PWM1 19 42 SEG2 20 41 SEG1 Note) Vpp (Pin 73) is always connected to VDD. –4– SEG0 COM3 COM2 COM1 COM0 VLC1 VLC2 VLC3 VL VSS XTAL EXTAL RST PA7/AN7 PA6/AN6 PA5/AN5 PA4/AN4 PA3/AN3 PA2/AN2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 PA1/AN1 PA0/AN0 CXP834P16, CXP834P17 PD5/SEG21 PD6/SEG22 PD7/SEG23 PF0/SEG24 PF1/SEG25 PF2/SEG26 PF3/SEG27 PF4/SEG28 PF5/SEG29 VDD TX TEX Vpp PF6/SEG30 PF7/SEG31 PE0/INT0/EC PE1/INT1 PE2/INT2 PE3/INT3/NMI PE4/RMC Pin Assignment (Top View) CXP834P17 (QFP package) 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 1 60 PD4/SEG20 PE6/TO/ADJ 2 59 PD3/SEG19 PB0/CS1 3 58 PD2/SEG18 PB1/CS0 4 57 PD1/SEG17 PB2/SCK0 5 56 PD0/SEG16 PB3/SI0 6 55 SEG15 PB4/SO0 7 54 SEG14 PB5/SCK1 8 53 SEG13 PB6/SI1 9 52 SEG12 PB7/SO1 10 51 SEG11 PC0 11 50 SEG10 PC1 12 49 SEG9 PC2 13 48 SEG8 PC3 14 47 SEG7 PC4 15 46 SEG6 PC5 16 45 SEG5 PC6 17 44 SEG4 PC7 18 43 SEG3 PH0/PWM1 19 42 SEG2 PA0/AN0 20 41 SEG1 Note) Vpp (Pin 73) is always connected to VDD. –5– SEG0 COM3 COM2 COM1 VLC1 COM0 VLC2 VLC3 VL VSS XTAL RST EXTAL PA7/AN7 PA6/AN6 PA5/AN5 PA4/AN4 PA3/AN3 PA2/AN2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 PA1/AN1 PE5/PWM0 CXP834P16, CXP834P17 Pin Description Symbol I/O PA0/AN0 to PA7/AN7 I/O/Analog input PB0/CS1 I/O/Input PB1/CS0 I/O/Input PB2/SCK0 I/O/I/O PB3/SI0 I/O/Input PB4/SO0 I/O/Output PB5/SCK1 I/O/I/O PB6/SI1 I/O/Input PB7/SO1 I/O/Output PC0 to PC7 I/O PE0/INT0/EC Input/Input/Input PE1/INT1 Input/Input PE2/INT2 Input/Input PE3/INT3/NMI Input/Input/Input Functions (Port A) 8-bit I/O port. I/O can be set in a unit of single bits. Incorporation of pull-up resistor can be set through the software in a unit of 4 bits. (8 pins) Analog inputs to A/D converter. (8 pins) Chip select input for serial interface (CH1). (Port B) 8-bit I/O port. I/O can be set in a unit of single bits. Incorporation of pull-up resistor can be set through the software in a unit of 4 bits. (8 pins) 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). (Port C) 8-bit I/O port. I/O can be set in a unit of single bits. Capable of driving 12mA sync current. Incorporation of pull-up resistor can be set through the software in a unit of 4 bits. (8 pins) External event inputs for timer/counter. (Port E) 7-bit port. Lower 5 bits are for inputs; upper 2 bits are for outputs. (7 pins) External interruption request input. (4 pins) Non-maskable intrruption request input. PE4/RMC Input/Input PE5/PWM0 Output/Output 14-bit PWM output. PE6/TO/ADJ Output/Output/ Output Rectangular wave output for 8-bit timer/ counter and 32kHz oscillation frequency divider output. PH0/PWM1 I/O/Output (Port H) 1-bit I/O port. Incorporation of pull-up resistor can be set through the software. (1 pin) –6– Remote control receiving circuit input. 8-bit PWM output. CXP834P16, CXP834P17 Symbol I/O PD0/SEG16 to PD7/SEG23 Output/Output PF0/SEG24 to PF7/SEG31 Output/Output Functions (Port D) 8-bit output port. (8 pins) (Port F) 8-bit output port. (8 pins) SEG0 to SEG15 Output LCD segment signal output. COM0 to COM3 Output LCD common signal output. VLC1 to VLC3 LCD bias power supply. LCD segment signal output. (16 pins) Control pin to cut off the current flowing to external LCD bias resistor during standby. VL Output EXTAL Input XTAL Output TEX Input TX Output Crystal connectors for 32kHz timer/counter clock generation circuit. For usage as event counter, connect clock oscillation source to TEX, and leave TX open. RST Input Low-level active, system reset. Crystal connectors for system clock oscillation. When the clock is supplied externally, input to EXTAL; opposite phase clock should be input to XTAL. Vpp Positive power supply for the on-chip programmable PROM; connect to VDD for normal operation. VDD Positive power supply. Vss GND. –7– CXP834P16, CXP834P17 I/O Circuit Format for Pins Pin AAAA AAAA AAAA AAAA AAAA AAA AAA AAA AAA AAA Circuit format Port A When reset ∗ Pull-up resistor AA AAAA "0" when reset Port A data PA0/AN0 to PA7/AN7 Port A direction IP "0" when reset Input protection circuit Hi-Z Data bus RD (Port A) Port A input selection Input multiplexer "0" when reset A/D converter 8 pins Port B ∗ Pull-up resistor AA AA AA AA "0" when reset Port B data PB0/CS1 PB1/CS0 PB3/SI0 PB6/SI1 ∗ Pull-up transistors approx. 100kΩ Port B direction IP "0" when reset Hi-Z Schmitt input Data bus RD (Port B) CS1 CS0 SI0 SI1 4 pins Port B AAAA AAAA AAAA AAAA AAAA AAAA ∗ Pull-up transistors approx. 100kΩ ∗ Pull-up resistor "0" when reset SCK OUT Output enable AA AAAA Port B output selection "0" when reset PB2/SCK0 PB5/SCK1 IP Port B data Port B direction "0" when reset Data bus Schmitt input RD (Port B) 2 pins ∗ Pull-up transistors approx. 100kΩ SCK in –8– Hi-Z CXP834P16, CXP834P17 Pin AAAA AAAA AAAA AAAA AAAA AAAA Circuit format Port B When reset ∗ Pull-up resistor "0" when reset SO Output enable AA AAAA Port B output selection "0" when reset PB4/SO0 PB7/SO1 IP Port B data Port B direction Hi-Z "0" when reset Data bus RD (Port B) ∗ Pull-up transistors approx. 100kΩ 2 pins Port C AAAA AAAA AAAA AAAA ∗2 Pull-up resistor AA AAAA "0" when reset Port C data PC0 to PC7 ∗1 Port C direction "0" when reset Hi-Z IP Data bus RD (Port C) ∗1 Large current 12mA ∗2 Pull-up transistors approx. 100kΩ 8 pins PE0/INT0/EC PE1/INT1 PE2/INT2 PE3/INT3/NMI PE4/RMC 5 pins AA AA AAAA Port E INT0/EC INT1 INT2 INT3/NMI RMC Schmitt input IP Data bus RD (Port E) –9– Hi-Z CXP834P16, CXP834P17 Pin Circuit format Port E When reset AAAA AAAA AAAA AA AA PWM0 Port E output selection "0" when reset PE5/PWM0 Port E data "1" when reset Data bus High level RD (Port E) 1 pin Port E ∗1 Internal reset signal Port E data "1" when reset TO ∗2 MPX ADJ16K PE6/TO/ADJ ADJ2K Port E output selection (upper) Port E output selection (lower) ∗1 Pull-up transistors approx. 150kΩ. ∗2 ADJ signals are frequency divider outputs for 32kHz oscillation frequency adjustment. ADJ2K provides usage as buzzer output. TO Output enable 1 pin Port H AAAA AAAA AAAA AAAA AAAA AAAA PH0/PWM1 PWM1 Port H output selection "0" when reset Port H data Port H direction "0" when reset AA AA AA AA IP Data bus RD (Port H) ∗ Pull-up transistors approx. 100kΩ 1 pin – 10 – ( ) ∗ Pull-up resistor "0" when reset High level with approx. 150kΩ resistor when reset Hi-Z CXP834P16, CXP834P17 Pin Circuit format When reset Port D Port F PD0 to PD7 PF0 to PF7 AA AA Port data PD7 to PD4 by a bit unit PD3 to PD0 by 4-bit unit PF7 to PF0 Port/segment output selection "0" when reset Segment data Segment output (VDD level) Segment driver 24 pins Segment VCH SEG0 to SEG15 VDD level VCL 16 pins Common VDD VCL1 COM0 to COM3 VDD level VCL2 VCL3 4 pins AA AA VL LCD control (DSP bit) 1 pin "0" when reset – 11 – Hi-Z CXP834P16, CXP834P17 Pin EXTAL XTAL 2 pins TEX TX 2 pins Circuit format AA AA A AA AA AA A AA EXTAL IP • Diagram shows circuit composition during oscillation. IP • Feedback resistor is removed during stop, and XTAL becomes "High" level. IP TEX IP • Digram shows circuit composition during oscillation. • When the operation of the oscillation circuit is stopped by the software, the feedback resistor is removed and TEX and TX become "Low" level and "High" level respectively. TX AA AA AA AA Oscillation Pull-up resistor OP IP Schmitt input 1 pin Oscillation XTAL Mask option RST When reset – 12 – Low level CXP834P16, CXP834P17 Absolute Maximum Ratings Item Supply voltage (Vss=0V reference) Symbol Rating Unit VDD –0.3 to +7.0 V Vpp –0.3 to +13.0 V Input voltage VLC1, VLC2, –0.3 to +7.0∗1 VLC3 –0.3 to +7.0∗1 VIN Output voltage VOUT High level output current High level total output current LCD bias voltage Remarks Incorporated PROM V V –0.3 to +7.0∗1 V IOH –5 mA Output (value per pin) ∑IOH –50 mA Total for all output pins IOL 15 mA IOLC 20 mA All pins excluding large current output (value per pin) Large current outputs (value per pin ∗2) Low level total output current ∑IOL 100 mA Total for all output pins Operating temperature Topr –10 to +75 °C Storage temperature Tstg –55 to +150 °C 600 mW QFP-80P-L01 380 mW LQFP-80P-L01 380 mW QFP-80P-L03 Low level output current Allowable power dissipation PD ∗1 VIN and VOUT must not exceed VDD + 0.3V. ∗2 The large current drive transistor is the N-ch transistor of Port C (PC). Note) Usage exceeding absolute maximum ratings may permanently impair the LSI. Normal operation should be conducted under the recommended operating conditions. Exceeding these conditions may adversely affect the reliability of the LSI. – 13 – CXP834P16, CXP834P17 Recommended Operating Conditions Item Supply voltage Symbol VDD Vpp (Vss=0V reference) Min. Max. 4.5 5.5 3.5 5.5 2.7 5.5 Guaranteed operation range with TEX clock 2.5 5.5 V Guaranteed data hold range during STOP ∗6 Vpp = VDD Unit V Remarks High-speed mode guaranteed operation range∗1 Low-speed mode guaranteed operation range∗1 VLC1 LCD bias voltage Vss VDD V LCD power supply range∗5 VIH 0.7VDD VDD V ∗2 VIHS 0.8VDD VDD V VIHEX VDD – 0.4 VDD + 0.3 V Hysteresis input∗3 EXTAL∗4 VIL 0 0.3VDD V ∗2 VILS 0 0.2VDD V VILEX –0.3 0.4 V Topr –10 +75 °C VLC2 VLC3 High level input voltage Low level input voltage Operating temperature Hysteresis input∗3 EXTAL∗4 ∗1 High-speed mode is 1/2 frequency divider clock selection; low-speed mode is 1/16 frequency divider clock selection. ∗2 Value for each pin of normal input ports (PA, PB4, PB7, PC and PH0). ∗3 Value of the following pins: RST, CS0, CS1, SI0, SI1, SCK0, SCK1, EC/INT0, INT1, INT2, NMI/INT3, and RMC. ∗4 Specifies only during external clock input. ∗5 Optimal values are determined by LCD used. ∗6 Vpp and VDD should be set to the same voltage. – 14 – CXP834P16, CXP834P17 Electrical Characteristics DC Characteristics Item (Ta = –10 to +75°C, Vss = 0V reference) Symbol High level VOH output voltage Low level output voltage VOL Pins IILT IILR IIL IIH I/O leakage current IIZ Common output impedance RCOM Segment output impedance RSEG IDDS2 Unit VDD = 4.5V, IOH = –0.5mA 4.0 V VDD = 4.5V, IOH = –1.2mA 3.5 V V VDD = 4.5V, IOL = 3.6mA 0.6 V PC VDD = 4.5V, IOL = 12.0mA 1.5 V EXTAL TEX RST∗2 PA to PC∗3, PH∗3, PE0 to PE4, RST∗2 VDD = 5.5V, VIH = 5.5V 0.5 40 V 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 –45 µA VDD = 5.5V, VIL = 0.4V VDD = 4.5V, VIH = 4.0V VDD = 5V, VLC1 = 3.75V SEG0 to SEG15, VLC2 = 2.5V VLC3 = 1.25V SEG16 to ∗ 1 SEG31 High-speed mode operation (1/2 frequency divider clock) VDD = 5.5V, 10MHz crystal oscillation (C1 = C2 = 15pF) VDD = 3V, 32kHz crystal oscillation (C1 = C2 = 47pF) VDD –2.78 µA VDD = 5.5V, VI = 0, 5.5V COM0 to COM3 IDD2 IDDS1 Max. 0.4 IDD1 Supply current∗4 Typ. VDD = 4.5V, IOL = 1.8mA IIHT Input current Min. PA, PB, PC, PD∗1, PE5, PE6, PF, PH0, VL (VOL only) IIHE IILE Conditions ±10 µA 3 5 kΩ 5 15 kΩ 18 40 mA 400 1000 µA 1.1 8 mA 9 30 µA 30 µA SLEEP mode VDD = 5.5V, 10MHz crystal oscillation (C1 = C2 = 15pF) VDD = 3V, 32kHz crystal oscillation (C1 = C2 = 47pF) STOP mode IDDS3 VDD = 5.5V, termination of 10MHz and 32kHz crystal oscillation – 15 – CXP834P16, CXP834P17 Item Input capacity Symbol CIN Pins PA to PC, PE1 to PE4, EXTAL, TEX, RST Conditions Clock 1MHz 0V for all pins excluding measured pins Min. Typ. Max. Unit 10 20 pF ∗1 Common pins of PD0/SEG16 to PD7/SEG23, PF0/SEG24, PF7/SEG31, PD and PF are the case when the common pin is selected as port; SEG16 to SEG31 is when the common pin is selected as segment output. ∗2 RST specifies the input current when pull-up resistor has been selected; leakage current when no resistor has been selected. ∗3 PA to PC, and PH0 specify the input current when pull-up resistor has been selected; leakage current when no resistor has been selected. (PE0 to PE4 specify the leakage current.) ∗4 When all output pins are left open. – 16 – CXP834P16, CXP834P17 AC Characteristics (1) Clock timing (Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference) Item Symbol System clock frequency fC System clock input pulse width Event count input clock rise and fall time tXL, tXH tCR, tCF tEH, tEL tER, tEF System clock frequency fC Event count input clock input pulse width tTL, tTH tTR, tTF System clock input rise and fall time Event count input clock pulse width Event count input clock rise and fall time Pin Conditions Min. XTAL EXTAL Fig. 1, Fig. 2 EXTAL Fig. 1, Fig. 2 External clock drive EXTAL Fig. 1, Fig. 2 External clock drive EC Fig. 3 EC Fig. 3 TEX TX VDD = 2.7 to 5.5V Fig. 2 (32kHz clock applied condition) TEX Fig. 3 TEX Fig. 3 Typ. Max. Unit 10 MHz 1 ns 37.5 200 tsys+50∗ ns ns 20 ms kHz 32.768 µs 10 20 ms ∗ tsys indicates the three values below according to the upper two bits (CPU clock selection) of the clock control registor (CLC: 00FEH). tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11") 1/fc Fig. 1. Clock timing VDD – 0.4V EXTAL 0.4V tCF tXH tXL tCR Fig. 2. Clock applied conditions AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAAAAAA Crystal oscillation Ceramic oscillation EXTAL External clock EXTAL XTAL C1 C2 32kHz clock applied condition Crystal oscillation TEX XTAL 74HC04 TX C1 C2 Fig. 3. Event count clock timing 0.8VDD TEX EC 0.2VDD tEH tTH tEF tTF – 17 – tEL tTL tER tTR CXP834P16, CXP834P17 (Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference) (2) Serial transfer Item Symbol CS0 ↓ → SCK0 (CS1 ↓ → SCK1) delay time tDCSK CS0 ↑ → SCK0 (CS1 ↑ → SCK1) floating delay time tDCSKF SCK0 Chip select transfer mode CS0 ↓ → SO0 (CS1 ↓ → SO1) delay time tDCSO CS0 ↑ → SO0 (CS1 ↑ → SO1) floating delay time Pin Conditions Min. SCK0 Chip select transfer mode (SCK1) (SCK0 (SCK1) = output mode) Unit tsys + 200 ns tsys + 200 ns (SCK1) (SCK0 (SCK1) = output mode) SO0 (SO1) Max. Chip select transfer mode tsys + 200 ns tDCSOF SO0 Chip select transfer mode tsys + 200 ns CS0 (CS1) high level width tWHCS CS0 Chip select transfer mode SCK0 (SCK1) cycle time tKCY SCK0 (SCK1) high and low level widths (SO1) tsys + 200 ns SCK0 Input mode (SCK1) Output mode 2tsys + 200 ns 16000/fc ns tKH tKL SCK0 Input mode (SCK1) Output mode tsys + 100 ns 8000/fc – 50 ns SI0 (SI1) input setup time (for SCK0 ↑ (SCK1 ↑) ) SI0 (SI1) SCK0 (SCK1) input mode 100 ns tSIK SCK0 (SCK1) output mode 200 ns SI0 (SI1) input hold time (for SCK0 ↑ (SCK1 ↑) ) SI0 (SI1) SCK0 (SCK1) input mode tsys + 200 ns tKSI 100 ns SCK0 ↓ → SO0 (SCK1 ↓ → SO1) delay time tKSO SO0 (SO1) SCK0 (SCK1) input mode (CS1) SCK0 (SCK1) output mode SCK0 (SCK1) output mode tsys + 200 ns 100 ns Note 1) tsys indicates the three values below according to the upper two bits (CPU clock selection) of the clock control register (CLC: 00FEH). tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11") Note 2) The load condition for the SCK0 (SCK1) output mode, SO0 (SO1) output delay time is 50pF + 1TTL. – 18 – CXP834P16, CXP834P17 Fig. 4. Serial transfer CH0 timing tWHCS CS0 (CS1) 0.8VDD 0.2VDD tKCY tDCSK tKL tDCSKF tKH 0.8VDD 0.8VDD SCK0 (SCK1) 0.2VDD tSIK tKSI 0.8VDD SI0 (SI1) Input data 0.2VDD tDCSO tKSO tDCSOF 0.8VDD SO0 (SO1) Output data 0.2VDD – 19 – CXP834P16, CXP834P17 (3) A/D converter characteristics (Ta = –10 to +75°C, VDD = 4.5 to 5.5V, AVREF = 4.0 to AVDD, Vss = 0V reference) Symbol Max. Unit Resolution 8 Bits Linearity error ±3 LSB Item Pin VFT∗2 Conversion time Sampling time tCONV tSAMP Analog input voltage VIAN Min. Ta = 25°C VDD = 5.0V VSS = 0V Zero transition voltage VZT∗1 Full-scale transition voltage Conditions Typ. –10 10 70 mV 4910 4970 5030 mV 160/fADC∗3 12/fADC∗3 0 AN0 to AN7 µs µs VDD + 0.3 Fig. 5. Definition of A/D converter terms FFH FEH Digital conversion value ∗1 VZT : Value at which the digital conversion value changes from 00H to 01H and vice versa. ∗2 VFT : Value at which the digital conversion value changes from FEH to FFH and vice versa. ∗3 fADC indicates the below values due to the contents of bit 6 (CK3) of the A/D control registor (ADC: 00F9H) and bit 7 (PCK1) and bit 6 (PCK0) of the clock control registor (CLC: 00FEH) Linearity error 01H 00H VZT CKS VFT Analog input PCK1, PCK0 0 (φ/2 selection) 0 (φ selection) 00 (φ = fEX/2) fADC = fc/2 fADC = fc 01 (φ = fEX/4) fADC = fc/4 fADC = fc/2 11 (φ = fEX/16) fADC = fc/16 fADC = fc/8 – 20 – V CXP834P16, CXP834P17 (4) Interruption, reset input Item (Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference) Symbol Pin External interruption high and low level widths tIH tIL INT0 INT1 INT2 NMI/INT3 Reset input low level width tRSL RST Conditions Min. Max. Unit 1 µs 32/fc µs Fig 6. Interruption input timing tIH tIL 0.8VDD INT0 INT1 INT2 NMI/INT3 (NMI is specified only for the falling edge) 0.2VDD tIL tIH Fig. 7. RST input timing tRSL RST 0.2VDD – 21 – CXP834P16, CXP834P17 Appendix Fig. 8. SPC700 Series recommended oscillation circuit AAAA AAAA AAAA AAAA AAAA AAAA EXTAL EXTAL XTAL Rd C1 AAAAA AAAAA AAAAA (ii) Main clock (i) Main clock (iii) Sub clock EXTAL TEX XTAL Rd C2 XTAL TX Rd C2 C1 C 1 C2 Manufacturer MURATA MFG CO., LTD. Model fc (MHz) CSA4.19MG 4.19 CSA8.00MG 8.00 CSA10.0MT 10.00 CST4.19MGW∗ CST8.00MTW∗ Rd (Ω) Circuit example (i) 30 30 0 (ii) 8.00 10.00 4.19 HC-49/U03 15 8.00 15 HC-49/U (-S) 2.2k 470 10.00 4.19 KINSEKI LTD. C2 (pF) 4.19 CST10.00MTW∗ RIVER ELETEC CO., LTD. C1 (pF) 8.00 22 22 560 18 18 0 (i) 10.00 Models with an asterisk (∗) have the built-in ground capacitance (C1, C2). Product List Optional Package ROM capacity Reset pin pull-up resistance Mask PROM CXP83412 CXP83416 CXP83413 CXP83417 CXP834P16Q-180-pin plastic QFP/LQFP 80-pin plastic QFP (0.65mm pitch) 80-pin plastic QFP CXP834P16R-180-pin plastic LQFP 12K bytes 16K bytes 12K bytes 16K bytes PROM 16K bytes Existent/Non-existent Existent – 22 – CXP834P17Q-180-pin plastic QFP (0.65mm pitch) CXP834P16, CXP834P17 Package Outline Unit: mm CXP834P16 80PIN QFP (PLASTIC) 23.9 ± 0.4 + 0.1 0.15 – 0.05 + 0.4 20.0 – 0.1 64 0.15 41 65 16.3 17.9 ± 0.4 + 0.4 14.0 – 0.1 40 A 80 + 0.2 0.1 – 0.05 1 24 0.8 0.12 + 0.15 0.35 – 0.1 M 0.8 ± 0.2 25 + 0.35 2.75 – 0.15 0° to 10° DETAIL A PACKAGE STRUCTURE SONY CODE QFP-80P-L01 EIAJ CODE ∗QFP080-P-1420-A JEDEC CODE PACKAGE MATERIAL EPOXY RESIN LEAD TREATMENT SOLDER PLATING LEAD MATERIAL COPPER / 42 ALLOY PACKAGE WEIGHT 1.6g CXP834P16 80PIN LQFP (PLASTIC) 14.0 ± 0.2 ∗ 12.0 ± 0.1 60 41 40 (13.0) 61 0.5 ± 0.2 A 21 (0.22) 80 1 + 0.08 0.18 – 0.03 0.5 ± 0.08 20 + 0.2 1.5 – 0.1 + 0.05 0.127 – 0.02 0.1 0.5 ± 0.2 0.1 ± 0.1 0° to 10° NOTE: Dimension “∗” does not include mold protrusion. DETAIL A PACKAGE STRUCTURE PACKAGE MATERIAL EPOXY / PHENOL RESIN SONY CODE LQFP-80P-L01 LEAD TREATMENT SOLDER PLATING EIAJ CODE ∗QFP080-P-1212-A LEAD MATERIAL 42 ALLOY PACKAGE WEIGHT 0.5g JEDEC CODE – 23 – CXP834P16, CXP834P17 CXP834P17 80PIN QFP (PLASTIC) + 0.35 1.5 – 0.15 + 0.1 0.127 – 0.05 16.0 ± 0.4 + 0.4 14.0 – 0.1 60 0.1 41 40 80 21 (15.0) 61 + 0.15 0.3 – 0.1 20 ± 0.12 M 0° to 10° 0.5 ± 0.2 1 0.65 + 0.15 0.1 – 0.1 PACKAGE STRUCTURE PACKAGE MATERIAL EPOXY RESIN SONY CODE QFP-80P-L03 LEAD TREATMENT SOLDER PLATING EIAJ CODE LQFP080-P-1414 LEAD MATERIAL COPPER / 42 ALLOY PACKAGE WEIGHT 0.6g JEDEC CODE – 24 –