The difference between AT89c51 and AT89S51 microcontrollers

Publisher:快乐心跳Latest update time:2016-09-22 Source: eefocusKeywords:AT89c51  AT89S51  MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
      AT89S51 is a low-power, high-performance CMOS 8-bit single-chip microcomputer. It contains 8k Bytes ISP (In-system programmable) Flash read-only program memory that can be repeatedly erased and written 1000 times. The device is manufactured using ATMEL's high-density, non-volatile storage technology, compatible with the standard MCS-51 instruction system and 80C51 pin structure. The chip integrates a general 8-bit central processor and ISP Flash storage unit. The powerful microcomputer AT89S51 can provide cost-effective solutions for many embedded control application systems.
      AT89S51 has the following features: 40 pins, 8k Bytes Flash on-chip program memory, 128 bytes of random access data memory (RAM), 32 external bidirectional input/output (I/O) ports, 5 interrupt priority levels, 2 levels of interrupt nesting, 2 16-bit programmable timer counters, 2 full-duplex serial communication ports, watchdog (WDT) circuit, and on-chip clock oscillator.
     In addition, the AT89S52 is designed and configured with an oscillation frequency of 0Hz and a power saving mode that can be set by software. In idle mode, the CPU suspends work, while the RAM timer counter, serial port, and external interrupt system can continue to work. The power-down mode freezes the oscillator and saves the RAM data, stopping other chip functions until the external interrupt is activated or the hardware is reset. At the same time, the chip also has three packaging forms, including PDIP, TQFP, and PLCC, to meet the needs of different products.
      Compared with AT89C51, AT89S51 has exactly the same appearance pins. The HEX program of AT89C51 can be directly run on AT89S51 without any conversion, and the results are the same. AT89S has some new functions compared to AT89C51, and supporting online programming and watchdog are the main features.           
        The main differences between them are as follows:
       1. Pin function: The pins are almost the same, and the changes are that in AT89S51, P1.5, P1.6, and P1.7 have a second function, that is, the second function of these three pins constitutes the interface for serial ISP programming.
       2. Programming function: AT89C51 only supports parallel programming, while AT89S51 not only supports parallel programming but also supports ISP online programming. In terms of programming voltage, in addition to the normal working 5V, the programming voltage of AT89C51 requires 12V Vpp, while AT89S51 only requires 4-5V.
       3. Higher number of programming times: The nominal number of programming times of AT89S51 is 1000 times, but it is actually 1000-10000 times, which is more conducive to repeated programming for beginners and reduces the learning cost.
       4. Higher operating frequency: The maximum operating frequency of AT89C51 is 24MHZ, while the maximum operating frequency of AT89S51 is 33MHZ, (AT89S51 chip has two models, supporting the maximum operating frequency of 24MHZ and 33MHZ respectively), thus having a faster computing speed. 
       5. Wider power supply range: AT89S51 has an operating voltage range of 4-5.5V, while AT89C51 cannot work properly when the voltage is lower than 4.8V or higher than 5.3V. 
       6. Stronger anti-interference ability: AT89S51 has an internal integrated watchdog timer, while AT89C51 needs an external watchdog timer circuit, or uses the internal timer of the microcontroller to form a software watchdog to achieve software anti-interference.
Keywords:AT89c51  AT89S51  MCU Reference address:The difference between AT89c51 and AT89S51 microcontrollers

Previous article:Assembly language description of microcontroller/data block transfer
Next article:MCU Countdown Timer

Recommended ReadingLatest update time:2024-11-16 17:29

Using transistor to drive buzzer in single chip microcomputer
【background knowledge】 The NPN transistor is composed of three semiconductors, two N-type and one P-type semiconductor, with the P-type semiconductor in the middle and two N-type semiconductors on both sides. The PNP transistor is composed of two P-type semiconductors with an N-type semiconductor in the middle, so it
[Microcontroller]
Using transistor to drive buzzer in single chip microcomputer
8051 MCU implements a single countdown timer with modifiable initial value (and command to start and stop)
Compared with Version 1.1, the strcmp() function in the string.h file is used to simplify the judgment of simple commands. #include STC89C5xRC.H   #include string.h   unsigned char code DIG_CODE = {0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f}; //The corresponding digital tube displays 0~9    char bu
[Microcontroller]
PIC Microcontroller Getting Started Tutorial (IV) - The First Project
1. New construction project 1.1 Menu bar "File" - "New Project" 1.2 "Microchip Embedded" - "Standalone Project" - "Next" 1.3 Enter your MCU model directly in the device column. Here we take PIC12F675 as an example. Enter "PIC12F675" - "Next" 1.4 Select debug header, if any. "None" - "Next" 1.5 Select the burni
[Microcontroller]
PIC Microcontroller Getting Started Tutorial (IV) - The First Project
The MCU crashes unexpectedly, resets unexpectedly, or the program runs away
The MCU crashes unexpectedly, resets unexpectedly, or the program runs away. There are several reasons for this. 1. Array out of bounds. Especially when using pointer operations, if there is an out-of-bounds situation, the consequences will be serious. 2. The power supply is unstable. You can use an oscillosco
[Microcontroller]
51 MCU Series Knowledge 15--HD7279 (1)
HD7279--Serial interface 8-bit LED digital tube and 64-key keyboard function control chip HD7279A is an intelligent display driver chip with a serial interface that can drive 8-bit common cathode digital tubes (or 64 independent LEDs) at the same time. The chip can also connect to a keyboard matrix with up to 64 key
[Microcontroller]
51 MCU Series Knowledge 15--HD7279 (1)
Design of two-way temperature controller based on 51 single chip microcomputer
  This paper proposes a design scheme of a two-way temperature controller based on a 51 single-chip microcomputer. The design scheme uses two DS18B20 temperature sensors to collect the temperature of two different places, and processes it through AT89C51. The measured temperature is displayed by a four-digit LED digit
[Microcontroller]
Design of two-way temperature controller based on 51 single chip microcomputer
51 single chip microcomputer relay experiment
1. Working principle and characteristics of relay When the input quantity (such as voltage, current, temperature, etc.) reaches the specified value, the controlled output circuit is turned on or off. It can be divided into two categories: electrical quantity (such as current, voltage, frequency, power, etc.) relays
[Microcontroller]
51 single chip microcomputer relay experiment
Next-generation automotive microcontrollers: STMicroelectronics technology analysis
STMicroelectronics (ST) has been deeply involved in the automotive market for more than 30 years, and its products and solutions cover most application systems in ordinary vehicles. With the development of the market, STMicroelectronics' products are also constantly upgraded and improved, and its important product,
[Automotive Electronics]
Next-generation automotive microcontrollers: STMicroelectronics technology analysis
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号