Jump to content

Atmel AT89 series

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Lauri.pirttiaho (talk | contribs) at 17:20, 16 September 2018 (External links: Update 8052.com to current 8052mcu.com). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

An AT89c2051 microcontroller in circuit

The Atmel AT89 series is an Intel 8051-compatible family of 8 bit microcontrollers (µCs) manufactured by the Atmel Corporation.

Based on the Intel 8051 core, the AT89 series remains very popular as general purpose microcontrollers, due to their industry standard instruction set, their low unit cost, and the availability of these chips in DIL (DIP) packages. This allows a great amount of legacy code to be reused without modification in new applications. While less powerful than the newer AT90 series of AVR RISC microcontrollers, new product development has continued with the AT89 series for the aforementioned advantages.

More recently, the AT89 series has been augmented with 8051-cored special function microcontrollers, specifically in the areas of USB, I²C (two wire interface), SPI and CAN bus controllers, MP3 decoders and hardware PWM.

Atmel has also created an LP (low power) series of these chips with a "Single Cycle Core", making the execution speed of these chips considerably faster.

AT89 Series Microcontrollers

Device name Flash memory size Data memory size
AT89C1051 1K Flash 64 bytes RAM
AT89C2051 2K Flash 128 bytes RAM
AT89C4051 4K Flash 128 bytes RAM
AT89C51/S51 4K Flash 128 bytes RAM
AT89C52/S52 8K Flash 256 bytes RAM
AT89C55 20K Flash 256 bytes RAM
AT89S8252 8K Flash 256 bytes RAM
AT89S53 12K Flash 256 bytes RAM

Port Structures and Operation

All four ports in the AT89C51 and AT89C52 are bidirectional. Each consists of a latch (Special Function Registers P0 through P3), an output driver, and an input buffer. The output drivers of Ports 0 and 2, and the input buffers of Port 0, are used in accesses to external memory. In this application, Port 0 outputs the low byte of the external memory address, time-multiplexed with the byte being written or read. Port 2 outputs the high byte of the external memory address when the address is 16 bits wide. Otherwise the Port 2 pins continue to emit the P2 SFR content. All the Port 3 pins, and two Port 1 pins (in the AT89C52)are multifunctional. The alternate functions can only be activated if the corresponding bit latch in the port SFR contains a 1. Otherwise the port pin is stuck at 0. It has less complex feature than other microprocessor.