Datasheet AT89C51 (Microchip)

ManufacturerMicrochip
Description8-bit Microcontroller with 4K Bytes Flash
Pages / Page17 / 1 — Features. Compatible with MCS-51™ Products. 4K Bytes of In-System …
File Format / SizePDF / 145 Kb
Document LanguageEnglish

Features. Compatible with MCS-51™ Products. 4K Bytes of In-System Reprogrammable Flash Memory

Datasheet AT89C51 Microchip

Model Line for this Datasheet

Text Version of Document

Features

Compatible with MCS-51™ Products

4K Bytes of In-System Reprogrammable Flash Memory – Endurance: 1,000 Write/Erase Cycles

Fully Static Operation: 0 Hz to 24 MHz

Three-level Program Memory Lock

128 x 8-bit Internal RAM

32 Programmable I/O Lines

Two 16-bit Timer/Counters

Six Interrupt Sources

Programmable Serial Channel 8-bit

Low-power Idle and Power-down Modes Microcontroller Description with 4K Bytes
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device
Flash
is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conven- tional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash
AT89C51
on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.
Not Recommended
PDIP
Pin Configurations for New Designs.
P1.0 1 40 VCC P1.1 2 39 P0.0 (AD0) P1.2 3 38 P0.1 (AD1)
Use AT89S51.
P1.3 4 37 P0.2 (AD2) P1.4 5 36 P0.3 (AD3) P1.5 6 35 P0.4 (AD4) P1.6 7 34 P0.5 (AD5) P1.7 8 33 P0.6 (AD6) RST 9 32 P0.7 (AD7) PQFP/TQFP (RXD) P3.0 10 31 EA/VPP (TXD) P3.1 11 30 ALE/PROG (INT0) P3.2 12 29 PSEN (INT1) P3.3 13 28 P2.7 (A15) (T0) P3.4 14 27 P2.6 (A14) (T1) P3.5 15 26 P2.5 (A13) P1.4 P1.3 P1.2 P1.1 (T2 EX) P1.0 (T2) NC VCC P0.0 (AD0) P0.1 (AD1) P0.2 (AD2) P0.3 (AD3) (WR) P3.6 16 25 P2.4 (A12) (RD) P3.7 17 24 P2.3 (A11) 44 43 42 41 40 39 38 37 36 35 34 XTAL2 18 23 P2.2 (A10) XTAL1 19 22 P2.1 (A9) P1.5 1 33 PO.4 (AD4) GND 20 21 P2.0 (A8) P1.6 2 32 P0.5 (AD5) P1.7 3 31 P0.6 (AD6) RST 4 30 P0.7 (AD7) PLCC (RXD) P3.0 5 29 EA/VPP NC 6 28 NC (TXD) P3.1 7 27 ALE/PROG (INT0) P3.2 8 26 PSEN (INT1) P3.3 9 25 P2.7 (A15) P1.4 P1.3 P1.2 P1.1 P1.0 NC VCC P0.0 (AD0) P0.1 (AD1) P0.2 (AD2) P0.3 (AD3) (T0) P3.4 10 24 P2.6 (A14) 6 5 4 3 2 1 (T1) P3.5 11 23 P2.5 (A13) 44 43 42 41 40 P1.5 7 39 PO.4 (AD4) P1.6 8 38 P0.5 (AD5) 12 13 14 15 16 17 18 19 20 21 22 P1.7 9 37 P0.6 (AD6) RST 10 36 P0.7 (AD7) GND GND (RXD) P3.0 11 35 EA/VPP XTAL2 XTAL1 NC 12 34 NC (WR)P3.6 (RD) P3.7 (A8) P2.0 (A9) P2.1 (A10) P2.2 (A11) P2.3 (A12) P2.4 (TXD) P3.1 13 33 ALE/PROG (INT0) P3.2 14 32 PSEN (INT1) P3.3 15 31 P2.7 (A15) (T0) P3.4 16 30 P2.6 (A14) (T1) P3.5 17 29 P2.5 (A13) 18 19 20 21 22 23 24 25 26 27 28 NC GND XTAL2 XTAL1 Rev. 0265G–02/00 (WR)P3.6 (RD) P3.7 (A8) P2.0 (A9) P2.1 (A10) P2.2 (A11) P2.3 (A12) P2.4
1
Document Outline Block Diagram Features Description Pin Description VCC GND Port 0 Port 1 Port 2 Port 3 RST ALE/PROG PSEN EA/VPP XTAL1 XTAL2 Oscillator Characteristics Status of External Pins During Idle and Power-down Modes Lock Bit Protection Modes Programming the Flash Programming Interface Flash Programming Modes Flash Programming and Verification Waveforms - High-voltage Mode (VPP = 12V) Flash Programming and Verification Waveforms - Low-voltage Mode (VPP = 5V) Flash Programming and Verification Characteristics Absolute Maximum Ratings* DC Characteristics AC Characteristics External Program and Data Memory Characteristics External Program Memory Read Cycle External Data Memory Read Cycle External Data Memory Write Cycle External Clock Drive Waveforms External Clock Drive Serial Port Timing: Shift Register Mode Test Conditions Shift Register Mode Timing Waveforms AC Testing Input/Output Waveforms(1) Float Waveforms(1) Ordering Information