1 4Bit Single Chip Microcontroller DMC42C3008 DESCRIPTION The DMC42C3008 is a 4-bit single chip microcomputer having 8K bytes ROM and is designed with CMOS silicon gate technology. The DMC42C3008 includes such peripherals as various timers, A/D converter, serial communication interface,on-chip oscillator and clock circuitry. It also comes with high-voltage I/O pins that can directly drive a fluorescent display. The high performance CPU and internal peripherals allow flexible & cost effective system design in industrial and home appliances. AND the OTP device (42P3008) can shorten system development periods and help the process for software debugging. PIN CONFIGURATION Vdisp 1 42 P10 / SCK 2 41 P52 P11 / SI 3 40 P51 P12 / SO 4 39 P50 PC2 5 38 P43 PC3 / TOC 6 37 P42 RESETB 7 36 P41 XI 8 35 P40 XO 9 34 P63 33 P62 32 P61 31 P60 30 P23 29 P22 28 P21 27 P20 / CLO 26 P03 / INT3 VSS / AVSS 10 D M C 4 2 C 3 0 0 8 P53 TEST 11 PA0 / AD0 12 PA1 / AD1 13 PA2 / AD2 14 PA3 / AD3 15 PB0 / AD4 16 PB1 / AD5 17 PB2 / AD6 18 25 P13 / BUZ PB3 / AD7 19 24 P02 / INT2 / TI2 AVDD 20 23 P01 / INT1 VDD 21 22 P00 / INT0 2 4Bit Single Chip Microcontroller DMC42C3008 FEATURES Memory mapped I/O PWM - 14 bit PWM output X 1ch Program memory : 8192 x 10bits Data memory : 512 x 4bits Instructions - Various bit manipulation - 8-bit data operation - 7-bit relative branch - 1 byte absolute call Instruction cycle times - Main ( XI = 4.19MHz ) . 15.3 us ( XI/64 = 65.5KHz ) . 1.91 us ( XI/8 = 524.0KHz ) . 0.95 us ( XI/4 = 1.05MHz ) 4 Register Bank 8-bit serial communication interface - External / Internal clock selection - Mode : Transmit, Receive Receive only Clock continuous 8-bit A/D converter - 8-bit successive approximate type - 8 channels - Sample and hold - Conversion time : 17.1us at 4.19MHz 34 I/O Pins - CMOS Pins : 13 - High voltage Pins : 21 - Internal pull-up resistor ( Mask option ) - Internal pull-down resistor ( Mask option ) General register : 8 x 4-bit respectively Accumulator - Bit Accumulator (CY), 4 bit Accumulator (A), 8 bit Accumulator (XA) Power saving mode - STOP : Main clock, CPU clock stop - STBY : Only CPU clock stop Main clock operation Multiple vectored interrupt source - External interrupt : 4 - Internal interrupt : 6 Operating voltage range - VDD = 5V ± 10% - Vdisp = VDD - 40V Watch timer(at 4.19MHz) - fast mode : 3.91 msec - normal mode : 0.5 sec - buzzer output : 1, 2, 4 KHz Package : 42 SDIP APPLICATION Microwave Oven, Home Appliances Basic interval timer - 8 kinds of period - Used stabilization wait timer to wake up Stop mode One 8-bit timer / event counter Watchdog timer - 4 kinds of period 3 4Bit Single Chip Microcontroller DMC42C3008 BLOCK DIAGRAM BASIC INTERVAL TIMER IRQBT BUZ / P13 WATCH TIMER DMC42CORE IRQWT WATCHDOG TIMER TOC / PC3 TI2 / P02 PULSE WIDTH MODULATION PROGRAM MEMORY DATA MEMORY (8192 X 10BITS) (512 X 4BITS) Fx / 2 SERIAL INTERFACE IRQS0 CLOCK DIVIDER n PORT1 P10 ¡- P13 PORT2 P20 ¡- P23 PORT4 P40 ¡- P43 PORT5 P50 ¡- P53 PORT6 P60 ¡- P63 PORTA PA0 ¡- PA3 PORTB PB0 ¡- PB3 PORTC PC2 ¡- PC3 CPU CLOCK CLOCK GENERATOR STOP/ IDLE CONTROL TEST RESETB XO XI P20 / CLO IRQAD VSS 8-BIT ADC VDD INTERRUPT CONTROL AV SS PA0~PA3, PB0~PB3/ AD0-AD7 CLOCK OUTPUT CONTRO L AV DD INT0 / P00 INT1 / P01 INT2 / P02 INT3 / P03 P00 ¡- P03 TIMER/EVENT COUNTER 2 IRQTC 2 SCK / P10 SI / P11 SO / P12 PORT0 4 4Bit Single Chip Microcontroller DMC42C3008 PROGRAM MEMORY (ROM) 0000H VECTOR ADDRESS CONTENTS VECTOR ADDRESS AREA 0000H 0002H 001FH 0020H 0004H ZERO-PAGE CALL AREA 0006H Prioty 0 1 2 3 INTERRUPT SUORCE Reset Signal RESET Basic Interval Timer IRQBT External interrupt 0 IRQ0 External interrupt 1 IRQ1 0008H 002FH 000AH 0060H 000CH 000EH 0010H 0012H 0014H 8K Byte 6 7 8 9 10 IRQ2 IRQTC2 IRQ3 IRQS0 IRQAD 12 13 IRQWT IRQKS Watch Timer 15 - reserved External interrupt 2 Timer Event Counter 2 External interrupt 3 Serial I/O 0 8 bit ADC 0016H 0018H 001AH Key Scan 001CH 1FFFH 001EH DATA MEMORY (RAM) DIRECT m INDIRECT STACK @HL @DE @DL $00 PAGE0 (256 Byte) $FF $00 PAGE1 (256 Byte) MB=0 BANK 0 $FF (1K) $00 PAGE2 (256 Byte) $FF $00 PAGE3 I/O (256 Byte)MEMORY $FF MB=0 MP=0 SPS=0 MP=1 SPS=1 MP=2 SPS=2 MP=3 GENERAL REGISTER RB=0 RB=1 RB=2 RB=4 ; Usable 5 4Bit Single Chip Microcontroller DMC42C3008 I/O ADDRESS MAP ADDRESS Hardware Module Name b3 318H 319H 31AH 31BH 31CH 31DH 32CH 32DH 32EH 32FH 330H 331H 332H 334H 335H 336H 337H 338H 339H 340H 342H 343H 344H 345H 354H 355H 386H 387H 388H 389H 3A0H 3A2H 3A4H 3A8H 3A9H 3AAH 3ABH 3B2H 3C2H 3C3H b2 b1 R/W b0 Stack pointer low (SPL) Stack pointer high (SPH) SP3 SP2 SP1 SP0 SP5 SP4 AC IS1 IS0 CY Z OV T T/E counter mode register 2 (TMOD2) T/E counter register 2 (TMCNT2) T/E reference register 2 (TMREF2) Basic Timer mode register(BMOD) Basic interval timer count register(BITCNT) Watch timer mode register (WMOD) Watch dog timer mode register (WDTM) WDTF Pwm mode register0(PWMOD0) Pwm0 data register high (PWMODH) Pwm0 data register low (PWMODL) PWM3 PWM2 PWM1 PWM0 PWM6 PWM5 PWM4 Adc8 mode register (ADCM8) Adc8 output latch (ADCOL8) Power control register (PCON) Operating mode register (SCMOD) Clock output mode register (CLOMD) Serial interface mode register0 (SIOM0) Serial interface buffer0 (SBUFF0) Power on flag (PONF) IME IPSR3 IPSR2 IPSR1 IPSR0 Addressing Unit 1 bit R/W R/W R/W R/W R/W O W 32CH.3 4 bit 8bit O O O O O O REMARKS INITIAL VALUE E F 0 0 0 0 00 R Stack pointer low stack pointer high Stack Page Select Low (SPSL) Stack Page Select High (SPSh) Psw low (PSWL) Psw high (PSWH) clock source select. counter start (ch2) readable count value (ch2) W count reference register (ch2) FF R/W 332H.3 R clock select, Bit start readable count register 0 00 R/W 336H.3 clock/buzzer select. bit3 readable clock source sel. timer EN/DIS 00 00 0 0 00 W 00 R R/W W O WDT flag 6.14bit pwm counter EN/DIS 14bit pwm data register high W O 14bit pwm data register low 00 W O pwm output enable mode register (PWM0 = 14bit) analog input pin select. start & low 4bit readable 8bit conversion data 00 R/W 386H.3 O R O O R/W R/W W O W 3A8H.3 O O R/W P/W 3B2H.0 R/W 3C2H.3 O O 00 00 system clock select, idle, stop mode main/sub system clock select cpu clock output select, clock out EN/DIS receive/transmit mode. clock select serial shift register 0 00 XX power on reset flag Interrupt priorty select, IME flag. 0 00 0 00 00 6 4Bit Single Chip Microcontroller ADDRESS Hardware Module Name b3 3C4H 3C5H 3C6H 3C7H 3D8H 3D9H 3DAH 3DBH 3DCH 3DDH 3DEH 3E0H 3E1H 3E2H 3E3H 3E4H 3E5H 3E6H 3E7H 3EAH 3EBH 3ECH 3EDH 3F0H 3F1H 3F2H 3F4H 3F5H 3F6H 3FAH 3FBH 3FCH b2 b1 R/W b0 External interrupt mode register0 (IMOD0) External interrupt mode register1 (IMOD1) External interrupt mode register2 (IMOD2) External interrupt mode register3 (IMOD3) IE2 IRQ2 IEBT IRQBT IEAD8 IRQAD8 IEWT IRQWT IES0 IRQS0 IE1 IETC2 IRQ1 IE0 IRQTC2 IE3 PW03 PW02 PW01 PW13 PW12 PW11 PW23 PW22 PW21 PW33 PW32 PW31 PW43 PW42 PW41 PW53 PW52 PW51 PW63 PW62 PW61 PW73 PW72 PW71 PWA3 PWA2 PWA1 PWB3 PWB2 PWB1 PWC3 PWC2 PWC1 PWD3 PWD2 PWD1 PORT0 (R0) PORT1 (R1) PORT2 (R2) PORT4 (R4) PORT5 (R5) PORT6 (R6) PORTA (RA) PORTB (RB) PORTC (RC) DMC42C3008 IRQ0 IRQ3 PW00 PW10 PW20 PW30 PW40 PW50 PW60 PW70 PWA0 PWB0 PWC0 PWD0 Addressing Unit 1 bit 4 bit W O W O W O W O REMARKS 8bit INITIAL VALUE 00 O external interrupt 0 edge detection external interrupt 1 edge detection external interrupt 2 edge detection external interrupt 3 edge detection Interrupt EN/IRQ flag Interrupt EN/IRQ flag Interrupt EN/IRQ flag Interrupt EN/IRQ flag Interrupt EN/IRQ flag Interrupt EN/IRQ flag Interrupt EN/IRQ flag port 0, 1 mode register (PMGA) W O port 2, 3 mode register (PMGB) 00 W O port 4, 5 mode register (PMGC) 00 W O port 6, 7 mode register (PMGD) 00 W O port a, b mode register (PMGF) 00 W O port c, d mode register (PMGG) 00 R0 Port Data Register R1 Port Data Register R2 Port Data Register R4 Port Data Register R5 Port Data Register R6 Port Data Register RA Port Data Register RB Port Data Register RC Port Data Register 0 0 0 0 0 0 0 0 0 R/W R/W R/W R/W R/W R/W R/W W R/W R/W R/W R/W R/W R/W R/W R/W R/W O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O 00 00 00 0 0 0 0 0 0 0 00 7 4Bit Single Chip Microcontroller DMC42C3008 PIN DESCRIPTION PIN SYMBOL P00 P01 P02 P03 P10 P11 P12 P13 P20 P21~ P23 P4 P5 P6 PA PB PC2 PC3 INT0 INT1 INT2/TI2 INT3 SCK SI SO BUZ CLO TOC Key scan AD0~AD3 AD4~AD7 SHARED PIN INT0 INT1 INT2/TI2 INT3 SCK SI SO BUZ CLO AD0~AD3 AD4~AD7 TOC P00 P01 P02 P03 P10 P11 P12 P13 P20 PC3 P4-P5 PA PB I/O FUNCTION I/O 4-BIT I/O HIGH VOLTAGE PORT PORT 0 BHPS I/O 4-BIT I/O PORT PORT 1 ( P13 HIGH VOLTAGE PIN ) 4-BIT I/O HIGH VOLTAGE PORT PORT 2 4-BIT I/O HIGH VOLTAGE PORT. PORT4 4-BIT I/O HIGH VOLTAGE PORT. PORT5 4-BIT I/O HIGH VOLTAGE PORT. PORT6 4-BIT I/O PORT. PORTA 4-BIT I/O PORT. PORTB 2-BIT I/O PORT. PORTC BP I/O I I/O I O O O O I I External interrupt input port rising/falling edge detection Event pulse input port for the timer/event counters Serial clock in/out port Serial data input port Serial data output port Buzzer output port Clock output port PWM output port 4, 6, 8 bits Key scan input selectable Analog input for the 8-bit A/D converter XI, XO are the input and output, respectively, of an inverting amplifier. The pins can be configured for use as an on-chip O X oscillator. O RESETB I Reset input pin TEST I Normally connect to VSS Vdisp Used as a high-voltage output power supply pin. AVDD, AVSS Power & ground for the A/D converter VDD, VSS Power & ground * Note ) P4, P5 : 8-bit operation possible XI - I RESET PORT TYPE BHP BHP BHP BHP BHP-PDND BP BP BP INPUT BHPS BP BHP BHP BP BHP BP BIN BOU T BIN BIN 8 4Bit Single Chip Microcontroller DMC42C3008 I/O CIRCUITS BP BHP VDD VD D VDD OUTPU T OUTPU T PUR (M.O DATA DATA PAD PDR (M.O) PA VDISP VSS INTERNAL INTERNAL BHP-PDND BHPS VDD Output TR Disable (P-CH) VDD OUTPU T OUTPUT ENABLE DATA DATA PAD PAD PDR (M.O) PDR (M.O) VDISP INTERNAL NOTE) PDR : Pull-Down Resistor PUR : Pull-Up Resistor M.O : Mask Option VDISP INTERNAL 9 4Bit Single Chip Microcontroller DMC42C3008 I/O CIRCUITS BIN BOUT VDD INTERNAL VDD PAD VSS INTERNAL PAD VSS 10 4Bit Single Chip Microcontroller DMC42C3008 ABSOLUTE MAXIMUM RATINGS (TA = 0¡É to 70¡É, VDD = 5V ±10%, fX = 4.19MHz) PARAMETER SYMBOL CONDITION RATING UNIT -0.3 to + 6.0 V Supply Voltage VDD Programming Voltage VPP Note 1 -0.3 to 13.0 V Pin Voltage VT Note 2 -0.3 to VDD+0.3 V Note 3 VDD-45 to VDD+0.3 Total Permissible Input Current ¢²IO Note 4 70 mA Total Permissible Output Current -¢²IO Note 5 150 mA IO Note 6, 7 4 mA Note 6, 8 20 Note 9, 10 4 Note 10, 11 30 Maximum Input Current Maximum Output Current -IO mA Operating Temperature TA -40 to +85 ¡É Storage Temperature Tstg -55 to +125 Vdisp Voltage Vdisp ¡É V Note 12 VDD - 40 Notes : Permanent damage may occur if these absolute maximum rating are exceeded. Normal operation must be under the conditions stated in the electrical characteristics tables. If these conditions are exceeded, the LSI may malfunction or its reliability may be affected. 1. Applies to pin AVDD ( VPP ) of DMC42P3008. 2. Applies to all standard voltage pins. 3. Applies to all high voltage pins. 4. The total permissible input current is the total input currents simultaneously flowing in from all I/O pins to VSS. 5. The total permissible output current is the total output currents simultaneously flowing out from VDD to all I/O pins. 6. The maximum input current is the maximum current flowing from each I/O pin to VSS. 7. Applies to ports PA, PB. 8. Applies to ports P1, PC.2, PC.3. 9. Applies to ports P1, PA, PB, PC.2, PC.3. 10. The maximum output current is the maximum current flowing from VDD to each I/O pin. 11. Applies to ports P0, P1.3, P2, P4, P5 and P6. 12. The maximum applied voltage is VDD - 40V. 11 DMC42C3008 4Bit Single Chip Microcontroller DC ELECTRICAL CHARACTERISTICS (VSS = 0, VDD = 5V ±10%, TA = 25¡É, fX = 4.19MHz) PARAMETER SYMBOL High Level VDD VIH Input Voltage UNIT NOT MIN. TYP. MAX. VDD 4.5 - 5.5 V RESETB 0.8VDD - VDD+0. V XI VDD- - - V RESETB -0.3 - 0.2VDD V VDD-40 - 0.2VDD V -0.3 - 0.5 V -IOH = 0.5mA VDD- - - V IOL = 0.4mA - - 0.4 V - - 3 uA - - 15 uA - - 10 mA 2, 5 - - 5 mA 3, 5 - - 2 uA 4 CONDITION Supply Voltage LIMIT TEST SCK, SI INT0~3 TI2 Low Level VIL Input Voltage SCK, SI INT0~3 TI2 XI High Level VOH Output Voltage Low Level TOC VOL Output Voltage I/O Leakage SCK, SO SCK, SO TOC | IIL | Current RESETB,TOC VIN = 0 V to VDD 1 SCK, SI, SO XI Supply Current IDD INT0~3 VIN = VDD - 40V TI2 to VDD VDD = 5V f X = 4MHz ISBY VDD = 5V f X = 4MHz ISTOP VDD = 5V 12 4Bit Single Chip Microcontroller DMC42C3008 Notes : 1. Excludes current flowing through pull-up MOS output buffers. 2. IDD is the source current when no I/O current is flowing while the MCU is in reset state. Test condition : MCU : Reset Pins : RESETB, TEST at VSS P1.0~1.2, PA, PB, PC.2~3 at VDD P0, P1.3, P2, P4, P5, P6 at Vdisp 3. ISBY is the source current when no I/O current is flowing while the MCU timer is operating. Test condition : MCU : I/O Reset Standby mode Pins : RESETB at VDD TEST at VSS P1.0~1.2, PA, PB, PC.2~3 at VDD P0, P1.3, P2, P4, P5, P6 at Vdisp 4. This is the source current when no I/O current is flowing. Test condition : Pins : P1.0~1.2, PA, PB, PC.2~3 at VDD P0, P1.3, P2, P4, P5, P6 at VSS XI clock stop after stop mode 5. Current dissipation is in proportion to fX while the MCU is operating or in standby mode. 13 DMC42C3008 4Bit Single Chip Microcontroller DC ELECTRICAL CHARACTERISTICS 1. STANDARD I/O PINS (VSS = 0, VDD = 5V ±10%, TA = 25¡É, fX = 4.19MHz) PARAMETER SYMBOL High Level VIH Input Voltage Low Level VIL Input Voltage High Level VOH Output Voltage Low Level VOL Output Voltage Input Leakage | IOL | Current TEST CONDITION MIN. P10~2,PC2~3 0.8VDD PA,PB P10~2,PC2~3 -0.3 PA,PB P10~2,PC2~3 -IOH = 0.5mA VDD-0.5 PA,PB P10~2,PC2~3 IOL = 1.6mA PA,PB P10~2,PC2~3 VIN = 0V to VDD PA, PB LIMIT TYP. - MAX. VDD+0.3 UNIT NOTE V - 0.3VDD V - - V - 0.4 V - 3 uA 1 LIMIT TYP. - UNIT NOTE MIN. 0.8VDD MAX. VDD+0.3 V VDD-40 - 0.3VDD V VDD-3.0 VDD-2.0 VDD-1.0 - - VDD-37 VDD-37 V V V V V 1 2 - - 20 uA 3 200 - 1000 uA 1 Note : 1. Output buffer current is excluded. 2. HIGH VOLTAGE I/O PINS VDD = 4.5 to 5.5V, VSS = 0V, Vdisp = VDD - 40V to VDD PARAMETER SYMBOL High Level VIH Input Voltage Low Level VIL Input Voltage High Level VOH Output Voltage Low Level Output Voltage VOL Input Leakage Current | IOL | Pull-down MOS Current Id TEST CONDITION P0,P13,P2 P4, P5, P6 P0,P13,P2 P4, P5, P6 P0,P13 -IOH = 15mA P2, P4, P5 -IOH = 10mA P6, BUZ -IOH = 4mA P0,P13 Vdisp = VDD - 40V P2, P4, P5 150§Ú at P6, BUZ VDD - 40 V P0,P13 Vdisp = VDD - 40V P2, P4, P5 to VDD P6, BUZ P0,P13,P2 Vdisp = VDD - 35V P4,P5,P6,BUZ VIN = VDD Notes : 1. Applies to pins with pull-down MOS as selected by the mask option. 2. Applies to pins without pull-down MOS as selected by the mask option. 3. Excludes outputs buffer current. 14 4Bit Single Chip Microcontroller DMC42C3008 AC ELECTRICAL CHARACTERISTICS (TA = -40 to +85¡É, VDD = 2.7 to 6.0V) PARAMETER SYMBOL TEST CONDITION MIN. TYP. MAX. UNIT tCY VDD = 4.5 to 6.0V 0.95 - 64 uS VDD = 2.7 to 3.3V 3.8 - 64 uS Cycle Time TI Input Frequency fTI VDD = 4.5 to 6.0V 0 - 1 MHz TI Input High, Low tTIH VDD = 4.5 to 6.0V 0.48 - - uS Input 800 - - nS Output 950 - - nS Input 400 - - nS - - nS Level Width SCK Cycle Time SCK High, Low Level Width tKCY tKH VDD = 4.5 to 6.0V VDD = 4.5 to 6.0V Output tKCY/2~50 SI Set up Time to SCK High tSIK 100 - - nS SI Hold Time to SCK High 400 - - nS Input - - 300 nS Output - - 250 nS 5 - - uS 5 - - uS 5 - - uS SCK to S0 Output tKSI tKSO Delay Time INT 0 ~ 4 Input Level High, Low RESETB Low Level tINTH tINTL tRSL VDD = 4.5 to 15 4Bit Single Chip Microcontroller DMC42C3008 AC Timing Measurement Points (Except XI and XTI) Measurement Points 0.8VD 0.2VD 0.8VD 0.2VD 1/XI Clock Timing tXH tXL XI VDD0.4V 1/XTI tXT tXTL XTI VDD0.4V Timer Event Counter 1/fTI tTIL TI0 tTIH 0.8VD 0.2VD Serial Transfer Timing tKC tKL SCK tKH 0.8VD 0.2VD tSIK SI tKSO tKSI 0.8VD 0.2VD Input Data Output Data SO Interrupt Input Timing INT0~3 KS0~7 tINT tINT 0.8VD 0.2VD RESETB Input Timing RESET tRS 0.2VD 16 DMC42C3008 4Bit Single Chip Microcontroller RAM DATA RETENTION CHARACTERISTICS ( in STOP Mode ) (TA = -40 to +85¡É) PARAMETER SYMBOL Data Retention Supply Voltage VDDDR Data Retention Supply Current IDDDR Release Signal Set Time tSREL Oscillation Stabilization Wait Time tWAIT TEST CONDITION MIN. TYP. MAX. UNIT 2.0 - 6.0 V - 0.1 10 uA 0 - - uS When released by RESETB - 217/fx - mS When released by interrupt Signal - NOTE 1) - mS VDDDR = 2.0V NOTE 1) Depends on the setting of the basic interval timer mode register. (refer to the table below) ( fX = 4.19MHz ) BMOD2 BMOD1 BMOD0 Oscillation Stabilization 20 0 0 0 2 /fX (Approximately 250ms) 0 1 1 217/fX (Approximately 31.3ms) 1 0 0 215/fX (Approximately 7.82ms) 1 0 1 213/fX (Approximately 1.95ms) 17 4Bit Single Chip Microcontroller DMC42C3008 RAM DATA RETENTION TIMING When STOP mode is released by RESETB input Internal Reset Operation Stabilization Wait Time Operation Mode STOP Mode RAM Data retention VDD VDDDR STOP instruction execution tSREL RESET tWAI When STOP mode is released by interrupt signal Stabilization Wait Time Operation Mode STOP Mode RAM Data retention VDD VDDDR STOP instruction execution tSREL Interrupt Signal (Rising Edge) tWAI 18 4Bit Single Chip Microcontroller DMC42P3008 DMC42P3008 DESCRIPTION The DMC42P3008 is a system evaluation LSI having a built in One-time PROM for DMC42C3008. A programming and verification for the internal PROM is achieved by using a general EPROM programmer with an adapter socket. The function of this device is exactly same as the DMC42C3008 by programming to the internal PROM. The DMC42P3008 is OTP version of the DMC42C3008 whose internal ROM has been changed from MASK ROM to EPROM. * CAUTION : P3008 does not include internal pull-down resistor for high voltage output, so user has to connect externally. PIN CONFIGURATION Vdisp 1 EPA7 42 P53 P10 / SCK 2 EPA8 EPA6 41 P52 P11 / SI 3 EPA9 EPA5 40 P51 P12 / SO 4 EPA10 EPA4 39 P50 PC2 5 38 P43 PC3 6 EPA 3 EPA 37 P42 RESETB 7 2 EPA1 36 P41 XI 8 EPA0 35 P40 XO 9 EPD3 34 P63 VSS / AVSS 10 EPD2 33 P62 TEST 11 EPD1 32 P61 PA0 / 12 EPD0 31 P60 PA1 / AD1 13 30 PA2 / AD2 14 29 P23 / DGRMEN P22 PA3 / AD3 15 28 P21 PB0 / AD4 16 27 P20 / CLO PB1 / AD5 35 17 26 P03 / INT3 25 P13 / BUZ D M C 4 2 P 3 0 0 EPD4 PB2 / AD6 18 EPA11 PB3 / AD7 19 CEX 24 P02 / INT2 / TI2 VPP / OEX / AVDD 20 EPA13 23 VDD 21 EPA12 22 P01 / INT1 P00 / INT0 19 DMC42P3008 4Bit Single Chip Microcontroller DEVICE OPERATION The operational modes of the DMC42P3008 are listed in Table 1. A single 5V power supply is required in the read mode. All inputs are TTL levels except for VPP / OEX. VPP = 12.5±0.5V PINS CEX VPP / OEX VDD OUTPU READ VIL VIL 5.0V DOUT PROGRAM VIL VPP 6.0V DIN VERIFY VIL VIL 6.0V DOUT PROGRAM INHIBIT VIH VPP 6.0V High Z MODE TABLE 1. Operating Modes MODE PIN NAME EPROM MODE USER MODE TEST VIH VIL RESETB VIL VIH VIL TABLE 2. The modes of DMC42P3008 DC PROGRAMMING CHARACTERISTICS PARAMETER SYMBO L LIMIT TEST CONDITION MIN. UNIT MAX. Input Low Voltage VIL -0.1 0.8 V Input High Voltage VIH 2.0 VDD V Output Low Voltage during Verify VOL IOL = 2.1mA - 0.45 V IOH = -400uA 2.4 - V Output High Voltage during Verify VOH Quick-pulse Programming VPP 12.5 13.0 V Quick-pulse Programming VDD 6.0 6.5 V 20 DMC42C/P3008 4Bit Single Chip Microcontroller PACKAGE DIMENSION [ UNIT : Millimeter ] 42 SDIP 42 22 +0.11 -0.05 15.24 14.6Max 14.0 0.25 0°~ 15° 1 21 37.34 38.6Max 5.08Max 2.54Mi n 1.778±0.250 0.48±0.10 1.0 0.51Mi n