Home  >  Article  >  How to set cpu fclk frequency

How to set cpu fclk frequency

藏色散人
藏色散人Original
2020-03-30 09:28:0221392browse

How to set cpu fclk frequency

How to set the cpu fclk frequency?

Before setting the CPU clock, you need to first clarify the source of the clock, whether to use the CPU's internal clock or an external clock. If it is an external clock, you need to select an appropriate clock circuit to implement based on the allowable range of the chip.

How to set cpu fclk frequency

Clock configuration: find the clock tree;

Configure clock source, CSS register configuration

Configure PLL: Yes PREDIV, PLLSRC, and PLLMUL are used to configure the three registers

Configuring the system clock

How to set cpu fclk frequency

The configuration of the registers needs to be found in the STM32 preparation manual

The above is the detailed content of How to set cpu fclk frequency. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn