Atmel AT89S4051 Microcontroller User Manual

The AT89S2051/S4051 is a low-voltage, high-performance CMOS 8-bit microcontroller with 2K/4K bytes of In-System Programmable (ISP) Flash program memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89S2051/S4051 is a powerful microcontroller which provides a highly-flexible and cost-effective solution.


Atmel AT89S4051 Microcontroller User Manual - cover page
Brand
Atmel
Category
Other Electronics
Document type
User Manual
Language
English
Pages
45
File format
PDF
File size
1.1 MB
Published
27 March, 2012
Updated
30 September, 2023
MD5 checksum
C995F18758750E5FBE7EF9EEC686E444

About this manual

This manual describes the AT89S2051/AT89S4051 low‑voltage 8‑bit CMOS microcontroller, its 2 KB/4 KB ISP flash, 256 B RAM, 15 I/O pins, timers, UART, PWM, analog comparator and power‑saving modes. It includes a full description, pin‑out diagrams, block diagrams, and electrical characteristics.

The document also covers special function registers, instruction restrictions, lock‑bit protection, reset sources (power‑on, brown‑out, external), and mechanical dimensions for the 20‑lead SOIC package. Revision history and package drawings are provided at the end.

What's inside

  • Description
  • Pin Configuration
  • Block Diagram
  • Pin Description
  • Characteristics
  • X2 Mode Description
  • Special Function Registers
  • Restrictions on Certain Instructions
  • Program Memory Lock Bits
  • Reset

Specifications

Flash Program Memory2 KB / 4 KB
Operating Voltage2.7 V to 5.5 V
CPU Operation Speed0 Hz to 24 MHz (x1 and x2 Modes)
Internal RAM256 × 8‑bit
Programmable I/O Lines15
Timer/CountersTwo 16‑bit
Interrupt SourcesSix
UARTProgrammable Serial UART Channel
Analog ComparatorOn‑chip with selectable interrupt
PWM8‑bit PWM
Power‑saving ModesLow Power Idle and Power‑down

Frequently asked questions

What is the operating voltage range of the AT89S4051?

The device operates from 2.7 V up to 5.5 V.

How many programmable I/O lines does the AT89S4051 have?

It provides 15 programmable I/O lines.

What reset sources are supported by the AT89S4051?

The microcontroller supports power‑on reset, brown‑out reset, and external reset.

Download PDF (1.1 MB)

More Atmel Manuals


View all Atmel manuals →