XTAL1 and XTAL2 are the input and output of the inverting amplifier used as the on-chip oscillator, as shown in Figure 19. This oscillator can use a quartz crystal or a ceramic resonator. The fuse bit CKOPT is used to select one of the two amplifier modes. When CKOPT is programmed, the oscillator produces full amplitude oscillation at the output pin. This mode is suitable for noisy environments and when a second clock buffer needs to be driven through XTAL2. In addition, this mode has a wider frequency range. When CKOPT is left unprogrammed, the output signal amplitude of the oscillator is relatively small. Its advantage is that the power consumption is greatly reduced, but the frequency range is relatively narrow and it cannot drive other clock buffers.
For resonators, the maximum frequency is 8 MHz when CKOPT is unprogrammed and 16 MHz when CKOPT is programmed. The values of C1 and C2 should be the same regardless of whether a crystal or resonator is used. The optimum values depend on the crystal or resonator used, as well as on stray capacitance and electromagnetic noise in the environment. Table 8 gives some guidelines for selecting capacitors for crystals. For ceramic resonators, the values provided by the manufacturer should be used. For more information on how to select capacitors and how the oscillator works, refer to the Multipurpose Oscillator Application Manual.
The oscillator can operate in three different modes, each with an optimized frequency range. The operating mode is selected by the fuse bits CKSEL3..1 as shown in Table 8.
Note: 1. This option is not available for crystals, only for ceramic resonators.
As shown in Table 9, fuses CKSEL0 and SUT1..0 are used to select the start-up time.
Note:
1. These options can only be used when the operating frequency is not too close to the maximum frequency and the frequency stability at startup is not important for the application. Not suitable for crystals.
2. These options are designed for ceramic resonators where the frequency is sufficiently stable at startup. They can also be used for crystals when the operating frequency is not too close to the maximum frequency and the frequency stability at startup is not important for the application.
Previous article:ATmega128 low frequency crystal oscillator
Next article:ATmega128 Clock Source
Recommended ReadingLatest update time:2024-11-16 15:38
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- SHT31 Review + Unboxing Test
- Matlab and Modelsim co-simulation error
- ST NUCLEO-G071RB evaluation application - Come and experience the new generation of entry-level 32-bit STM32, giving you the best cost-effective experience
- Classification of RFID readers and their advantages
- CC2640R2F supports Alibaba Cloud Link IoT platform
- Some understanding of MSP430 usage
- Speed up the development process with STM32CubeMX software
- 【Repost】Thirty Practical Experiences in Switching Power Supply Design (Part 1)
- Good book recommendation! A brief review of Luo's "Basics of Power Supply Design"
- Please give me some advice, is this an amplifier impedance issue?