Opens in a new tab

AT89S52-24AU

8-bit 8051 MCU, 33MHz, 8KB ISP Flash, 256B RAM, WDT, TQFP-44

4017

Effective Inventory

Image for reference only

Manufacturer Part:

AT89S52-24AU

Package:

TQFP-44 (10.00 x 10.00 x 1.00 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The AT89S52-24AU from Microchip Technology is a low-power, high-performance CMOS 8-bit 8051-compatible microcontroller with 8 KB ISP Flash and 256 bytes RAM in a TQFP-44 package. Running at up to 33 MHz, it features ISP programming, watchdog timer, dual data pointers, and three 16-bit timers for versatile embedded control.

Key Specifications

Core 8051 @ 33 MHz
Flash Memory 8 KB (ISP)
RAM 256 bytes
I/O Pins 32
Timers 3 x 16-bit
Interrupts 8 sources, 6 vectors
UART 1 full-duplex
ISP Yes (SPI-based in-system programming)
Operating Voltage 4.0 V to 5.5 V
Package TQFP-44

Features

  • MCS-51 compatible instruction set and pinout
  • 8 KB Flash with 10,000 write/erase cycle endurance
  • SPI-based ISP for field firmware updates
  • Three-level program memory lock for code protection
  • Watchdog timer and dual data pointers
  • Idle and power-down low-power modes

Applications

  • Industrial control and automation
  • Consumer electronics and white goods
  • Automotive accessories and lighting
  • Educational platforms and hobby projects
  • Communication adapters and protocol bridges
Product Introduction: AT89S52-24AU Product Introduction

The AT89S52-24AU from Microchip Technology is a low-power, high-performance CMOS 8-bit microcontroller compatible with the industry-standard 80C51 instruction set and pinout. The device features 8 KB of in-system programmable (ISP) Flash memory with 10,000 write/erase cycle endurance, 256 bytes of internal RAM, 32 programmable I/O lines, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full-duplex UART serial port, an on-chip oscillator, and a watchdog timer. The ISP capability allows firmware updates via an SPI-compatible serial interface without removing the device from the board, simplifying manufacturing and field updates. The AT89S52 supports static logic operation down to 0 Hz and features idle mode (CPU stopped, peripherals running) and power-down mode (oscillator stopped, RAM preserved) for low-power applications. Housed in a 44-pin TQFP surface-mount package rated for -40°C to +85°C operation.

Working Principle: AT89S52-24AU Working Principle

The AT89S52 executes the standard 8051 instruction set where each machine cycle consists of 12 oscillator periods (S1-S6, each with P1 and P2 phases). The 8 KB Flash stores the program code, accessed through a 16-bit program counter that can address up to 64 KB. The 256 bytes of internal RAM include four register banks (R0-R7), 128 bit-addressable locations, and 80 bytes of general-purpose RAM. ISP programming is accomplished through an SPI-compatible serial interface using four pins: MOSI, MISO, SCK, and RST. During ISP mode, the device enters a special state after a chip erase command, allowing Flash bytes to be programmed one at a time. The watchdog timer is a 14-bit down-counter that resets the device if not periodically reloaded by software, preventing runaway code execution.

Pin Description: AT89S52-24AU Pin Definition and Functions
Pin Group Count Function
VCC/GND 4 Power supply and ground connections
PORT0 (P0.0-P0.7) 8 Open-drain I/O; multiplexed address/data for external memory
PORT1 (P1.0-P1.7) 8 Quasi-bidirectional I/O; ISP pins (MOSI, MISO, SCK)
PORT2 (P2.0-P2.7) 8 Quasi-bidirectional I/O; address high byte for external memory
PORT3 (P3.0-P3.7) 8 Alternate function: RXD, TXD, INT0, INT1, T0, T1, WR, RD
RST 1 Reset input (active high)
XTAL1/XTAL2 2 Crystal oscillator connections
EA 1 External access enable
ALE/PROG 1 Address latch enable / programming pulse
PSEN 1 Program store enable
Application Scenarios: In which products and applications is AT89S52-24AU used
  • Industrial Controllers: Simple PLC I/O modules and relay controllers with UART communication
  • Consumer Appliances: Microwave oven, washing machine, and thermostat controllers
  • ISP Production Programming: Field-updatable firmware via SPI in manufacturing and service
  • Educational Platforms: University 8051 training boards and hobbyist development kits
  • Communication Bridges: RS-232 to SPI or I2C protocol conversion adapters
Alternative Models: What chips are recommended as replacements for AT89S52-24AU
Model Manufacturer Flash RAM Speed Package Notes
AT89S52-24PU Microchip 8 KB 256 B 33 MHz PDIP-40 Through-hole version
AT89C51RD2-RLTUM Microchip 64 KB 1792 B 60 MHz VQFP-44 More Flash, X2 mode
STC89C52RC STC 8 KB 512 B 35 MHz LQFP-44 Compatible, more RAM
PIC18F4520-I/PT Microchip 32 KB 1536 B 40 MHz TQFP-44 PIC18 alternative
STM32F103C8T6 ST 64 KB 20 KB 72 MHz LQFP-48 32-bit ARM, much higher perf

Recommend Parts

TMP275AIDR

0.5C I2C temp sensor, 12-bit, 2.7-5.5V, alert output, 8-SOIC

Brand: TI

Package: 8-SOIC (4.90 x 3.91 x 1.50 mm)

IN STOCK: 3681pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IL485E

NVE IL485E IsoLoop isolated RS-485 transceiver, 2.5kVrms isolation, 35Mbps, 16-SOIC WB

Brand: nve

Package: SOIC-16 WB

IN STOCK: 5280pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFS4227TRLPBF

IRFS4227TRLPBF – 200V N-Channel HEXFET PDP Switch Power MOSFET, 26 mΩ RDS(on), D2PAK (TO-263)

Brand: infineon

Package: D2PAK (TO-263)

IN STOCK: 4334pcs

Cargo cycle: 3-7 Days

The minimum order is 1

CD4070BM96

Quad 2-input XOR gate, 3-18V CMOS, 65ns at 10V, SOIC-14

Brand: TI

Package: SOIC-14 (8.75 x 3.9 x 1.5mm)

IN STOCK: 4245pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AB1526

Bluetooth 5.0 Dual Mode Audio SoC, TWS, AAC, Dual-mic ENC, Integrated Charger, BGA

Brand: airoha

Package: BGA

IN STOCK: 25000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LP2980IM5-5.0

50mA micropower ultra-low-dropout regulator, 5V, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.1 mm)

IN STOCK: 2557pcs

Cargo cycle: 3-7 Days

The minimum order is 1