1. Chip Introduction
Internal structure of single chip microcomputer
8 major components of 8051 microcontroller
1. CPU 2. RAM 3. ROM/EPROM/FLASH 4. Timer/Counter
5.Serial port 6.Four 8-bit parallel I/O ports 7.Special function registers 8.Interrupt system
There are 21 special function registers in 8051, 5 interrupt sources and 2 interrupt priority levels.
8051 is divided into: power pin, clock pin, I/O port pin, control pin
Use 1 to represent a high level and 0 to represent a low level
Control pins:
Pin 29: PSEN Read external memory selection signal, connected to the OE (output enable) terminal of the external memory
Pin 30: ALE/PROG Function 1. Address latch enable signal function 2. Burn input terminal
Pin 31: EA/Vpp 1. Internal/external memory selection controller. High: access internal storage. Low: external storage 2. When programming EPROM, programming voltage is required
2. Operation Circuit
MCU minimum system: including clock circuit and reset circuit
1. Clock circuit: internal clock vs external clock
The recommended crystal capacitors C1C2 are 30pF. Ceramic capacitors are 40pF
Connect from XTAL2 and ground XTAL1.
Clock cycle: refers to the time it takes for a crystal oscillator to complete one oscillation. 1 clock cycle = 1/(12x10^6)s, which is about 83.3ns
Machine cycle: refers to the time it takes for the CPU to complete a basic operation. One machine cycle contains 12 clock cycles.
Instruction cycle: refers to the time it takes for a microcontroller to execute an instruction.
2. Reset circuit
Apply a high level for 2 machine cycles on the RST pin to achieve reset
Previous article:[Standard 8051] Basic knowledge of 8051 core_register related
Next article:[MCU] Chapter 2: DIY Minimized System
Recommended ReadingLatest update time:2024-11-23 11:31
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- 0-10V LED Dimming Latest Solution (1)
- Open source development board CANPico
- New virus spreads through the Internet under the name of "Jet Li"
- Power management of mobile phone system
- Register for the live broadcast to win [bracelet, camera, umbrella, mobile phone holder] Rohde & Schwarz USB 3.2 conformance test
- Newbie question, please help! I just learned analog electronics and built a simple circuit using Multisim
- 【Zero Knowledge ESP8266】Tutorial: Mobile APP Control RGB LED
- The application of CAN bus data in automobile digital technology is the starting point
- TI AM335 Embedded Hardware Design Reference Guide OK335xD
- Infineon Position2Go Development Kit Review @2. Official Tools