Clock system and its distribution
Figure 11 shows the main clock system and its distribution of AVR. These clocks do not need to work at the same time. In order to reduce power consumption, different sleep modes can be used to disable the clocks of modules that do not need to work. For details, see P30 "Power Management and Sleep Mode". See Figure 11 for details of the clock system.
CPU Clock - clkCPU
The CPU clock is connected to the subsystems that operate the AVR core, such as the general register file, status registers and data memory that holds the stack pointer. Stopping the CPU clock will stop the core from working and calculating.
I/O Clock - clkI/O
The I/O clock is used for the main I/O modules, such as timer/counters, SPI and USART. The I/O clock is also used for the external interrupt module. It should be noted that some external interrupts are detected by asynchronous logic, so these interrupts can still be monitored even if the I/O clock is stopped. In addition, the start condition detection of the USI module is also implemented asynchronously without clkI/O, allowing this function to work properly in any sleep mode.
Flash Clock - clkFLASH
The Flash clock controls the operation of the Flash interface. This clock is usually suspended or activated at the same time as the CPU clock.
Asynchronous Timer Clock - clkASY
The asynchronous timer clock allows the asynchronous timer/counter and LCD controller to be driven directly by an external 32 kHz clock crystal. This allows the timer/counter to provide a real-time clock for the system even in sleep mode.
ADC clock - clkADC
ADC has a dedicated clock. This allows the CPU and I/O clocks to be stopped when the ADC is working to reduce the noise
generated , thereby improving the ADC conversion accuracy.
Previous article:ATmega16 Clock Source
Next article:ATmega16 I/O Memory
- 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
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- How to minimize the cost of low-power AC/DC circuits?
- The water hydrogen engine has officially rolled off the production line. The vehicle can run just by adding water???
- Linear thyristor power supply dimming and EMC issues
- [National Technology N32 MCU Development Package] --N32G4FR Series
- CC3220 Wireless MCU LaunchPad Development Kit Design
- 422 Driver Output Level
- "Operational Amplifier Parameter Analysis and LTspice Application Simulation" 2. Chapter 2 Bias Current
- I2C Timing
- CUBEMX configures six-step square wave drive BLDC
- Resource Download: IoT technology is everywhere in the home