1.1
1.2
1.3
1.4
1.5
Users can configure the frequency of the AHB bus, high-speed APB2 bus and low-speed APB1 bus through multiple prescalers. The maximum frequency of the AHB and APB2 domains is 72MHZ. The maximum allowed frequency of the APB1 domain is 36MHZ. The clock frequency of the SDIO interface is fixed to HCLK/2.
① SDIOCLK clock for SDIO.
② FSMCCLK clock for FSMC.
③ HCLK clock for AHB bus, core, memory and DMA.
④ System timer clock (SysTick) sent to Cortex after being divided by 8.
⑤ Directly sent to the Cortex idle running clock FCLK.
⑥ Sent to the APB1 divider. The APB1 divider can select 1, 2, 4, 8, 16 frequency divisions, one of its outputs is used by the APB1 peripherals (PCLK1, maximum frequency 36MHz), and the other is sent to the timer (Timer2-7) 2, 3, 4 frequency multipliers. The frequency multiplier can select 1 or 2 frequency multiplication, and the clock output is used by timers 2, 3, 4, 5, 6, 7.
⑦ Sent to the APB2 divider. The APB2 divider can select 1, 2, 4, 8, 16 frequency divisions, one of its outputs is used by the APB2 peripherals (PCLK2, maximum frequency 72MHz), and the other is sent to the timer (Timer1, Timer8) 1, 2 frequency multipliers. The frequency multiplier can select 1 or 2 frequency multiplication, and the clock output is used by timer 1 and timer 8. In addition, the APB2 divider has an output for the ADC divider. After the frequency division, the ADCCLK clock is sent to the ADC module. The ADC divider can be selected as 2, 4, 6, or 8 divisions.
⑧ After the frequency division, it is sent to the SDIO AHB interface for use (HCLK/2) 2
Clock
Many of the above clock outputs have enable controls, such as the AHB bus clock, core clock, various APB1 peripherals, APB2 peripherals, etc.
--------------------------------------------------------------------------------------------------
The following figure is a block diagram of the STM32F10xx clock system. Through this figure, you can see at a glance the path of the clock generation of each component, and you can also easily calculate the clock frequency of each part. The
four clock sources of STM32 (HSI, HSE, LSI and LSE) are also marked in the figure; the clock monitoring system (CSS) in the middle of the figure is a safety setting that appears in many ST7 microcontrollers.
Special attention: On the right side of the figure, there is a multiplier before the output timer clock. Its operation is not controlled by the program, but is automatically selected by the hardware according to the output of the APB pre-divider of the previous level. When the division factor of the APB pre-divider is 1, this multiplier has no effect; when the division factor of the APB pre-divider is greater than 1, this multiplier performs a frequency doubling operation, that is, multiplying the frequency output by the APB pre-divider by 2, which can ensure that the timer can get the highest 72MHz clock pulse.
Previous article:Linux-2.6.28 transplantation process based on Feiling 2440 development board
Next article:The relationship between EXTI (external interrupt) and NVIC (nested vector interrupt) in STM32
Recommended ReadingLatest update time:2024-11-16 23:33
- Popular Resources
- Popular amplifiers
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
- What happens if the input voltage of the window comparator is equal to the upper and lower limits?
- Banknote number recognition system based on ARM.pdf
- My knowledge of computers
- Sampling rate of MCU ADC
- [Sipeed LicheeRV 86 Panel Review] 7-Waft Graphical Interface Development Test (Part 2)
- I don't understand the principle of ultrasonic signal processing.
- Let’s talk about the first big event in 2019...
- Wifi controlled LED screen
- IIoT opens up more possibilities beyond the factory floor
- Recommended one: [Lingsheng] MCU code automatic generator (automatic programming tool)