IN80C31N/IN80C51N CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER The 80C31/80C51 is a high-performance microcontroller fabricated with high-density CMOS technology. The 80C51 contains a 4k x 8 ROM , a 128 x 8 RAM , 32 I/O lines, two 16-bit counter/timers, a five-source, two-priority level nested interrupt structure, a serial I/O port for either multi-processor communications, I/O expansion or full duplex UART, and onchip oscillator and clock circuits. The device has two software selectable modes of power reduction idle mode and power-down mode. The idle mode freezes the CPU while allowing the RAM, timers, serial port, and interrupt system to continue functioning. The power-down mode saves the RAM contents but freezes the oscillator, causing all other chip functions to be inoperative. FEATURES 8031/8051 compatible PIN CONFIGURATIONS (MCS-51 family) P 1 .0 1 40 V cc P 1 .1 2 39 P 0 .0 /A D 0 P 1 .2 3 38 P 0 .1 /A D 1 P 1 .3 4 37 P 0 .2 /A D 2 P 1 .4 5 36 P 0 .3 /A D 3 Two 16-bit counter/timers P 1 .5 6 35 P 0 .4 /A D 4 Full duplex serial channel P 1 .6 7 34 P 0 .5 /A D 5 P 1 .7 8 33 P 0 .6 /A D 6 R ST 9 32 P 0 .7 /A D 6 31 EA 30 ALE 4k x 8 ROM (80C51) ROMless (80C31) 128 x 8 RAM Boolean processor • • Memory addressing capability R x D /P 3 .0 10 64k ROM and 64k RAM T x D /P 3 .2 11 Power control modes: I N T 0 /P 3 .2 12 29 PSEN I N T 1 /P 3 .3 13 28 P 2 .7 /A 1 5 T 0 /P 3 .4 14 27 P 2 .6 /A 1 4 T 1 /P 3 .5 15 26 P 2 .5 /A 1 3 W R /P 3 6 16 25 P 2 .4 /A 1 2 R D /P 3 .7 17 24 P 2 .3 /A 1 1 XTAL2 18 23 P 2 .2 /A 1 0 XTAL1 19 22 P 2 .1 /A 9 V ss 20 21 P 2 .0 /A 8 Idle mode Power-down mode • • P L A S T IC DUAL IN - L IN E PAC KAGE CMOS and TTL compatible Two speed ranges at VCC=5V 12 MHz 16 MHz 1 IN80C31N/IN80C51N CMOS single-chip 8-bit microcontroller 80C31/80C51 DC ELECTRICAL CHARACTERISTICS FOR INTEGRAL DEVICES T=-10 oC to + 70oC; Vcc= 5V ± 10% Parameter Symbol Vcc Icc Icc1 Supply current operating, mA Idle mode current, mA Ipd Pover-down current, mkA Vil LOW level input voltage, V (exept EA) LOW level input voltage, V (for EA) HIGH level input voltage, V (exept XTAL1, RST) HIGH level input voltage, V (for XTAL1, RST) Input current logic 1, mkA (Ports 1, 2 and 3) Input current logic 1 to 0, mkA (Ports 1, 2 and 3) Input leacage current, mkA (Port 0, EA) Vili Vih Vih1 -Iil ±Itl ±Ili Vol Vol1 Voh Voh1 Rrst Ci/0 LOW level output voltage, V (Ports 1, 2 and 3) LOW level output voltage, V (Ports 0, ALE, PSEN) HIGH level output voltage, V (Ports 1, 2 and 3) HIGH level output voltage, V (Ports 0, ALE, PSEN) RST pull-down resistor, kOm I/O pin capasitance, pF Test conditions Vcc = 5,5 V Fclc = 12MHz Vcc = 5,5 V Fclc = 12MHz 2V≤Vpd≤Vcc max INPUTS: Min 4,5 - Limits Max 5,5 18 - 5,0 - 50 -0,5 0.2Vcc-0,1 -0,5 0.2Vcc-0,3 0,2Vcc +0,9 Vcc+0,5 0,7Vcc Vcc+0,5 Vi=0,45 V - 50 Vi=2 V - 500 0,45V≤Vi≤Vcc - 10 OUTPUTS: Iol = 1,6 mA - 0,45 Iol = 3,2 mA - 0,45 -Ioh=60 mkA Vcc=5V±10% -Ioh=400 mkA Vcc=5V±10% 2,4 - 2,4 - 20 - 120 10 test frecuency=1MHz AC ELECTRICAL CHARACTERISTICS FOR INTEGRAL DEVICES T=-10 oC to + 70oC; Vcc= 5V ± 10% Symbol Fclc Parameter IN80C31N - 12 IN80C31N - 16 IN80C51N - 12 IN80C51N - 16 Variable Oscillator Min Max Oscillator Frequency: 1,6 12 1,6 16 1,6 12 1,6 16 2 Unit MHz MHz MHz MHz