Based on the Intel 8051 core, the AT89 series remains very popular as general purpose microcontrollers, due to their industry standard instruction set, and low unit cost. This allows a great amount of legacy code to be reused without modification in new applications. While considerably less powerful than the newer AT90 series of AVR RISC microcontrollers, new product development has continued with the AT89 series for the aforementioned advantages.
Of more recent times, the AT89 series has been augmented with 8051-cored special function microcontrollers, specifically in the areas of USB, I²C(TWI), SPI and CAN bus controllers, MP3 decoders and hardware PWM.
|Device name||Program Memory||Data Memory|
|AT89C1051||1K Flash||64 RAM|
|AT89C2051||2K Flash||128 RAM|
|AT89C51||4K Flash||128 RAM|
|AT89C52||8K Flash||256 RAM|
|AT89C55||20K Flash||256 RAM|
|AT89S8252||8K Flash||256 RAM|
|AT89S53||12K Flash||256 RAM|
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.