1. What is the clock cycle of 51 microcontroller?
Popular Science China: The clock cycle, also known as the oscillation cycle, is the cycle of the oscillation source that provides timing signals for the microcontroller. It is the most basic time unit of the microcontroller. When talking about the clock cycle, we must say that the crystal oscillator is the crystal oscillator. The crystal oscillator can be said to be the heart of the microcontroller. It provides a clock frequency fosc (oscillation frequency) for the microcontroller.
The so-called oscillation frequency (clock frequency) is naturally the number of times the crystal oscillator oscillates in one second. The higher the clock frequency, the faster the microcontroller runs, just like how many GHz a computer's CPU can accelerate to. The natural clock period Tosc=1/fosc.
For example, if the oscillation frequency of a microcontroller is 12MHz, fosc = 12MHz, then the oscillation period
Tosc = 1/fosc = 1/12us.
Chen: To put it bluntly, the reciprocal of the crystal oscillator is the clock cycle.
2. What is the machine cycle of 51 microcontroller?
51 It has a fixed machine cycle. One machine cycle contains six states, such as instruction fetch, memory read, memory write, etc. That is, the machine cycle is equal to 6 state cycles, and one state cycle is 2 clock cycles, so one machine cycle is equal to 12 clock cycles. Then the machine cycle of the microcontroller with a crystal oscillator frequency of 12MHz is T = 12*Tosc =1us
Previous article:51 microcontroller basics GPIO output
Next article:#microcontroller# ------ stc89c52 pin description
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Does the AD18 library have this kind of package? Do I have to draw it myself?
- 77Ghz single-chip millimeter wave sensor enables automatic parking
- Please ask about the problem in TI official application manual - boost principle
- TFT touch screen power supply problem
- CCS,The program will not beloaded
- I encountered several problems in the multisim simulation of the bandpass filter circuit, as shown in the figure. Which forum friend can give me some advice?
- I would like to ask for some knowledge about voltage regulator diodes
- Android BLE low-power Bluetooth slave device application
- Intel FPGA Authoritative Design Guide
- How to download routines to TMS320F28377S in ccs7.4? I hope there are detailed steps