(2) State cycle: Each state cycle is twice the clock cycle, which is obtained by dividing the oscillation cycle by two. Detailed explanation: In the 8051 microcontroller, one clock cycle is defined as one beat (indicated by P), and two beats are defined as one state cycle (indicated by S).
(3) Machine cycle: A machine cycle consists of 6 state cycles S1~S6, that is, 12 clock cycles. In one machine cycle, the CPU can complete an independent operation.
Machine cycle
In computers, for ease of management, the execution process of an instruction is often divided into several stages, each of which completes a task. For example, fetching instructions, reading memory, writing memory, etc., each of these tasks is called a basic operation. The time required to complete a basic operation is called a machine cycle. In general, a machine cycle consists of several S cycles (state cycles). A machine cycle of the 8051 series microcontroller consists of 6 S cycles (state cycles). As mentioned earlier, a clock cycle is defined as a beat (represented by P), and two beats are defined as a state cycle (represented by S). The machine cycle of the 8051 microcontroller consists of 6 state cycles, that is, one machine cycle = 6 state cycles = 12 clock cycles
(4) Instruction cycle: It refers to the total time required for the CPU to complete an operation. Each instruction execution time consists of one or more machine cycles. In the MCS-51 system, there are single-cycle instructions, two-cycle instructions, and four-cycle instructions.
(5) Frequency division or not: When the timer/counter works in timing mode, T0x12 and T1x12 in the special function register AUXR respectively determine whether the system clock/12 (12 frequency division) or the system clock/1 (no frequency division) is used to make T0 and T1 count. When the timer/counter works in counting mode, the external pulse count is not divided. [STC12C2052AD]
12m crystal oscillator, clock period 1/12us
Previous article:51 MCU timer/counter, interrupt
Next article:Introduction to 8255 Microcontroller
- 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
- What are the types of LDOs used in portable mobile devices? Ripple test methods
- DSP chip introduction
- ZCS scheme of forward push-pull circuit
- 【CH579M-R1】+Complete the read and write operations on AT24C32EEPROM
- How to burn the program to Renesas H8S/2398 (HD64F2398FV20)
- Questions about option byte
- 【ESP32-Korvo Review】(2) Getting to know ESP32
- Ask about ESP32 remote upgrade
- RglComm is an open source USB control software for Rigol devices
- PCB circuit board impedance knowledge, let's learn about it