View All

Please refer to the English Version as our Official Version.Return

Europe
France(Français) Germany(Deutsch) Italy(Italia) Russian(русский) Poland(polski) Czech(Čeština) Luxembourg(Lëtzebuergesch) Netherlands(Nederland) Iceland(íslenska) Hungarian(Magyarország) Spain(español) Portugal(Português) Turkey(Türk dili) Bulgaria(Български език) Ukraine(Україна) Greece(Ελλάδα) Israel(עִבְרִית) Sweden(Svenska) Finland(Svenska) Finland(Suomi) Romania(românesc) Moldova(românesc) Slovakia(Slovenská) Denmark(Dansk) Slovenia(Slovenija) Slovenia(Hrvatska) Croatia(Hrvatska) Serbia(Hrvatska) Montenegro(Hrvatska) Bosnia and Herzegovina(Hrvatska) Lithuania(lietuvių) Spain(Português) Switzerland(Deutsch) United Kingdom(English)
Asia/Pacific
Japan(日本語) Korea(한국의) Thailand(ภาษาไทย) Malaysia(Melayu) Singapore(Melayu) Vietnam(Tiếng Việt) Philippines(Pilipino)
Africa, India and Middle East
United Arab Emirates(العربية) Iran(فارسی) Tajikistan(فارسی) India(हिंदी) Madagascar(malaɡasʲ)
South America / Oceania
New Zealand(Maori) Brazil(Português) Angola(Português) Mozambique(Português)
North America
United States(English) Canada(English) Haiti(Ayiti) Mexico(español)
HomeBlogAT89S52-24PU Microcontroller: Alternatives, Pinout, and Datasheet
on November 22th 4,344

AT89S52-24PU Microcontroller: Alternatives, Pinout, and Datasheet

This article explores the AT89S52-24PU microcontroller, highlighting its characteristics, practical uses, and how it efficiently handles power and performance in demanding applications. Renowned for its 8K bytes of Flash memory and low power consumption, this device is ideal looking to balance energy efficiency with robust functionality in battery-powered devices.

Catalog

1. What is the AT89S52-24PU?
2. AT89S52-24PU Pin Configuration
3. AT89S52-24PU Symbol, Footprint, and CAD Model
4. Features of the AT89S52-24PU
5. AT89S52-24PU Technical Specifications
6. AT89S52-24PU Similar Parts
7. Functional Block Diagram of the AT89S52-24PU
8. Programming the Flash Memory (Parallel Mode
9. Verifying the Flash Memory (Parallel Mode
10. Flash Memory Serial Downloading
11. Alternatives of the AT89S52-24PU
12. Applications of the AT89S52-24PU
13. Package for AT89S52-24PU
14. AT89S52-24PU Manufacturer Information
AT89S52-24PU

What is the AT89S52-24PU?

The AT89S52-24PU microcontroller is a highly flexible device that integrates an 8-bit CPU with programmable Flash memory on a single chip. By harnessing Atmel's advanced nonvolatile memory technology, this microcontroller maintains compatibility with the esteemed 80C51 instruction set. Its on-chip reprogrammable Flash caters to the diverse needs of various embedded control systems in a manner that is both efficient and cost-effective. The microcontroller features 8K of Flash and 256 bytes of RAM, providing ample capacity for intricate programming and catering to applications demanding complex data processing. The inclusion of 32 general-purpose I/O lines offers the versatility to connect a wide range of peripherals.

With three 16-bit timer/counters, the AT89S52-24PU supports precise time-based functions, which are invaluable for data processing and control settings. The dual data pointers enhance data handling efficiency, supporting rapid data transfer scenarios effectively. The Watchdog timer adds a layer of reliability by resetting the system during software irregularities, a feature cherished by sectors prioritizing long-term system integrity. The microcontroller's capacity for static operation at various frequencies aids in balancing performance with power consumption. The availability of power-saving modes, including Idle and Power-down, underscores its appropriateness for battery-operated applications, ensuring memory content retention during power-down phases. These features address energy efficiency concerns, as evidenced by its adoption in portable and remotely-operated devices.

AT89S52-24PU Pin Configuration

AT89S52-24PU Pinout

Pin No
Pin Name
Description
1-8
Port 1
Interface 1 has internal pull-ups and is an 8-bit bidirectional I/O port. Four TTL inputs can be sink/source in the Port 1 output buffers. When 1s are written to Port 1 pins, the internal pull-ups pull them high, allowing them to be used as inputs. Because of the internal pull-ups, Port 1 pins that are externally pushed low will source current (IIL) as inputs. In addition, as shown in the table, P1.0 and P1.1 can be set to be the timer/counter 2 external count input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX), respectively. During Flash programming and verification, Port 1 also receives the low-order address bytes.
9
RST
Input should be reset. While the oscillator is functioning, a high on this pin for two machine cycles resets the device. After the Watchdog has timed out, this pin goes high for 98 oscillator periods. This feature can be disabled using the DISRTO bit in SFR AUXR (address 8EH). The RESET HIGH out capability is enabled by default in bit DISRTO.
10-17
Port 3
Port 3 is an internal pull-up 8-bit bidirectional I/O port. Four TTL inputs can be sunk or sourced using the Port 3 output buffers. When 1s are written to Port 3 pins, the internal pull-ups pull them high, allowing them to be used as inputs. Because of the pull-ups, Port 3 pins that are externally pulled low will source current (IIL) as inputs. For Flash programming and verification, Port 3 receives some control signals. As stated in the chart below, Port 3 also supports the functions of numerous AT89S52 special features.
18
XTAL2
Output from the inverting oscillator amplifier.
19
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating circuit.
20
GND
Ground.
21-28
Port 2
Port 2 is an internal pull-up 8-bit bidirectional I/O port. Four TTL inputs can be sink/source in the Port 2 output buffers. When 1s are written to Port 2 pins, the internal pull-ups pull them high, allowing them to be used as inputs. Because of the internal pull-ups, Port 2 pins that are externally pushed low will source current (IIL) as inputs. During fetches from external program memory and accesses to external data memory that use 16-bit addresses (MOVX @ DPTR), Port 2 emits the high-order address byte. When transmitting 1s, Port 2 uses powerful internal pull-ups in this application. Port 2 emits the contents of the P2 Special Function Register during 8-bit address accesses to external data memory (MOVX @ RI). During Flash programming and verification, Port 2 additionally gets the high-order address bits and various control signals.
29
PSEN
The read strobe to external program memory is called Program Store Enable (PSEN). PSEN is activated twice each machine cycle when the AT89S52 is running code from external program memory, with two PSEN activations ignored during each access to external data memory.
30
ALE/PROG
The Address Latch Enable (ALE) output pulse is used to latch the low byte of the address during external memory accesses. During Flash programming, this pin also serves as the program pulse input (PROG). ALE is released at a steady rate of 1/6 the oscillator frequency in normal operation and can be used for external timing or clocking. However, during each access to external data memory, one ALE pulse is skipped. Setting bit 0 of SFR location 8EH to 0 disables ALE functioning if desired. ALE is only active when the bit is set via a MOVX or MOVC instruction. Otherwise, the pin is lifted high but weakly. If the microcontroller is in external execution mode, setting the ALE-disable bit has no effect.
31
EA/VPP
External Access is turned on. To enable the device to fetch code from external program memory regions beginning at 0000H and ending at FFFFH, EA must be connected to GND. If lock bit 1 is coded, however, EA will be internally latched on reset. For internal program executions, EA should be tied to VCC. During Flash programming, this pin additionally receives the 12-volt programming enable voltage (VPP).
32-39
Port 0
Interface 0 is a bidirectional 8-bit open drain I/O port. Each pin can sink eight TTL inputs as an output port. The pins on port 0 can be used as high-impedance inputs when 1s are written to them. During accesses to external program and data memory, Port 0 can also be set as the multiplexed low-order address/data bus. P0 features internal pull-ups in this mode. During Flash programming, Port 0 also gets the code bytes and outputs them during program verification. During program verification, external pull-ups are required.
40
VCC
Supply voltage.

AT89S52-24PU Symbol, Footprint, and CAD Model

AT89S52-24PU Symbol

AT89S52-24PU Symbol

AT89S52-24PU Footprint
AT89S52-24PU Footprint

AT89S52-24PU CAD Model
AT89S52-24PU CAD Model

Features of the AT89S52-24PU

• MCS®-51 Standard Compliance: Fully compatible with the MCS®-51 standard, ensuring robust and reliable performance.

• 8K ISP Flash Memory: Stores large programs. Supports up to 10,000 write/erase cycles, ideal for long-term applications.

• Wide Operating Voltage (4V–5.5V): Adapts to various power supply environments.

• High-Speed Operation: Handles static conditions up to 33 MHz, balancing energy efficiency with performance needs.

• Enhanced Security: Memory lock features protect intellectual property. Prevents unauthorized access or modifications.

• Flexible I/O and Timer Functions: Easy integration with sensors and devices. Precise control for time applications requiring accurate timing.

• Dual Data Pointers: Boosts efficiency in data-heavy tasks like signal processing and communication. Simplifies data stream handling.

• Energy-Saving Modes: Idle and Power-down modes reduce energy consumption. Optimized for portable devices and sustainable designs.

AT89S52-24PU Technical Specifications

Type
Parameter
Factory Lead Time
7 Weeks
Mount
Through Hole
Package / Case
40-DIP (0.600, 15.24mm)
Number of I/Os
32
Operating Temperature
-40°C~85°C TA
Series
89S
JESD-609 Code
e3
Part Status
Active
Number of Terminations
40
Supply Voltage
5V
Frequency
33MHz
Operating Supply Voltage
5V
Interface
UART
Contact Plating
Tin
Mounting Type
Through Hole
Number of Pins
40
Watchdog Timers
Yes
Packaging
Tube
Published
1997
Pbfree Code
yes
Moisture Sensitivity Level (MSL)
1 (Unlimited)
Terminal Position
DUAL
Terminal Pitch
2.54mm
Base Part Number
AT89S52
Power Supplies
5V
Memory Size
8kB
Speed
24 MHz
Voltage - Supply (Vcc/Vdd)
4V~5.5V
Number of Bits
8
Peripherals
WDT
Core Size
8-Bit
Connectivity
UART/USART
Access Time
24 µs
DMA Channels
NO
PWM Channels
NO
Number of Timers/Counters
3
Number of UART Channels
1
Length
52.58mm
REACH SVHC
No SVHC
RoHS Status
ROHS3 Compliant
Oscillator Type
Internal
RAM Size
256 x 8
uPs/uCs/Peripheral ICs Type
MICROCONTROLLER
Core Processor
8051
Program Memory Type
FLASH
Program Memory Size
8KB 8K x 8
Bit Size
8
Has ADC
NO
Data Bus Width
8b
DAC Channels
NO
Address Bus Width
8b
Height
4.826mm
Width
13.97mm
Radiation Hardening
NO
Lead Free
Lead Free

AT89S52-24PU Similar Parts

The three components listed to the right are similar in specifications to those of Microchip Technology AT89S52-24PU.

Part Number
Manufacturer
Package / Case
Number of Pins
Data Bus Width
Number of I/O
Interface
Memory Size
Supply Voltage
Peripherals
AT89S52-24PU
Microchip Technology
40-DIP (0.600, 15.24mm)
40
8 b
32
UART
8 kB
5 V
WDT
AT89C55WD-24PU
Microchip Technology
40-DIP (0.600, 15.24mm)
40
8 b
32
SPI, UART, USART
32 kB
5 V
WDT
AT89S51-24PU
Microchip Technology
40-DIP (0.600, 15.24mm)
40
8 b
32
UART, USART
4 kB
5 V
WDT
AT89C51RC-24PU
Microchip Technology
40-DIP (0.600, 15.24mm)
40
8 b
32
UART, USART
20 kB
-
WDT

Functional Block Diagram of the AT89S52-24PU

The diagram below illustrates the functional block structure of the AT89S52-24PU.

Functional Block Diagram

Programming the Flash Memory (Parallel Mode)

The figure below illustrates the process of programming the Flash memory of the AT89S52-24PU in parallel mode.

Programming the Flash Memory (Parallel Mode)

Verifying the Flash Memory (Parallel Mode)

The figure below demonstrates the process of verifying the flash memory in parallel mode for the AT89S52-24PU.

Verifying the Flash Memory (Parallel Mode)

Flash Memory Serial Downloading

The figure below illustrates the Serial Downloading process for the AT89S52-24PU Flash Memory.

Flash Memory Serial Downloading

Alternatives of the AT89S52-24PU

Part Number
Description
Manufacturer
AT87F52-24PC
Microcontroller, 8-Bit, FLASH, 8051 CPU, 24MHz, CMOS, PDIP40, 0.600 INCH, PLASTIC, DIP-40
Atmel Corporation
AT87F52-24PI
Microcontroller, 8-Bit, FLASH, 8051 CPU, 24MHz, CMOS, PDIP40, 0.600 INCH, PLASTIC, DIP-40
Atmel Corporation
AT87F52-24PL
Microcontroller, 8-Bit, FLASH, 24MHz, CMOS, PDIP40, 0.600 INCH, PLASTIC, DIP-40
Atmel Corporation

Applications of the AT89S52-24PU

• Healthcare Monitoring: Enhances precision in medical monitoring devices.

• Automotive Safety: Integrates features like adaptive cruise control and lane assistance.

• DIY Electronics: Enables hobbyists to create custom devices.

• Consumer Electronics: Produces multifunctional and intuitive products.

• Smart Homes and Cities: Improves device communication for better energy management and convenience.

Package for AT89S52-24PU

AT89S52-24PU Package

AT89S52-24PU Manufacturer Information

Microchip Technology Inc., with its headquarters nestled in Chandler, Arizona, plays a role in the microcontroller and semiconductor industry. The company is distinguished by its steadfast dedication to pioneering advancements and maintaining high standards through product lines recognized for their reliability, which bolster development efficiency and economic prudence. By carefully refining its design and manufacturing processes, Microchip not only meets but surpasses industry benchmarks, nurturing a setting that encourages ongoing enhancement and system refinement. Microchip Technology Inc. is much more than a provider of microcontrollers and semiconductors; it actively molds the landscape in which these technologies are developed and utilized. Its strategic emphasis on efficiency, cost management, and quality control places it at the vanguard of the industry.

Datasheet PDF

AT89S52-24PU Datasheets:

AT89S52.pdf

Boxes 07/Dec/2016.pdf

Shipping Tube 19/Sep/2018.pdf

Marking Chgs 11/Jul/2017.pdf

Copper Bonding Wire 17/Oct/2013.pdf

AT89yyy 16/Jul/2020.pdf

AT89C55WD-24PU Datasheets:

Cylindrical Battery Holders.pdf

Transfer to Microchip/Label/Pkg 5/Sep/2016.pdf

Transfer to Microchip/Label/Pkg 5/Sep/2016.pdf

Shipping Tube 19/Sep/2018.pdf

Cylindrical Battery Holders.pdf

2.73KHz.pdf

AT89S51-24PU Datasheets:

Cylindrical Battery Holders.pdf

Marking Chgs 11/Jul/2017.pdf

Copper Bonding Wire 17/Oct/2013.pdf

Shipping Tube 19/Sep/2018.pdf

2.73KHz.pdf

AT89C51RC-24PU Datasheets:

AT89C51RC.pdf

MBB/Label Chgs 16/Nov/2018.pdf

Boxes 07/Dec/2016.pdf

Marking Chgs 11/Jul/2017.pdf

Mult Dev Assembly 25/May/2020.pdf

About us

ALLELCO LIMITED

Allelco is an internationally famous one-stop procurement service distributor of hybrid electronic components, committed to providing comprehensive component procurement and supply chain services for the global electronic manufacturing and distribution industries, including global top 500 OEM factories and independent brokers.
Read more

Quick inquiry

Please send an inquiry, we will respond immediately.

Quantity

Frequently Asked Questions [FAQ]

1. How do AT89S51 and AT89S52 diverge?

The primary difference centers on their Flash memory size: AT89S51 is equipped with 4K while AT89S52 expands this to 8K. This expansion supports more sophisticated applications and the storage of extensive code bases, aligning with diverse needs in embedded systems development.

2. What are the applications of AT89S52?

AT89S52 is employed in several embedded control tasks, often valued for energy efficiency and reliable performance. Its versatility frequently makes it a favored option in projects aiming for cost-effectiveness while maintaining functionality, aligning with balance innovation with financial considerations.

3. Can you elaborate on AT89S52-24PU?

This is an 8-bit CMOS microcontroller, known for merging computational and memory capabilities into a compact unit. These qualities are enticing in streamlined design processes where efficiency and space are important.

4. Why is the AT89S52-24PU reprogrammable?

On-chip Flash memory allows reprogramming, offering adaptability for software updates and iterative development. This feature complements a modern development perspective where continuous improvements are not only possible but welcomed.

5. What configuration integrates an 8-bit CPU with Flash memory?

The AT89S52-24PU exemplifies this combination, where an 8-bit CPU harmonizes with Flash memory. This integration delivers effective processing and storage for applications demanding robust operations without excess.

6. What size of Flash memory does it possess?

It comprises 8K bytes of Flash, enabling the management of program data. This expansiveness makes it suitable for challenging tasks where limited memory could pose obstacles.

7. How does AT89S52 handle low frequency operation?

Static logic is included, allowing operation at low frequencies with efficiency. This characteristic is use in scenarios demanding minimal power use, enhancing both longevity and sustainability in electronics.

8. When does the CPU become inactive?

Idle Mode renders the CPU inactive, achieving energy savings while maintaining microcontroller functions. This strategic design minimizes energy use during periods of less intensive processing.

9. Which mode maintains RAM integrity?

RAM contents remain intact during power-down mode, enabling data preservation despite reduced power consumption. This functionality is good in conditions necessitating data retention alongside minimal energy usage, typical in battery-powered devices.

Popular Posts

HOT Part Number

0 RFQ
Shopping cart (0 Items)
It is empty.
Compare List (0 Items)
It is empty.
Feedback

Your feedback matters! At Allelco, we value the user experience and strive to improve it constantly.
Please share your comments with us via our feedback form, and we'll respond promptly.
Thank you for choosing Allelco.

Subject
E-mail
Comments
Captcha
Drag or click to upload file
Upload File
types: .xls, .xlsx, .doc, .docx, .jpg, .png and .pdf.
Max file size: 10MB