cancel
Showing results for 
Search instead for 
Did you mean: 

RCC HSE CONFIG

mahmoud boroumand
Associate III
Posted on July 17, 2017 at 07:01

hey

I'm use stm32f013cbtx and 8MHz crystal connect to HSE And use standard peripherals library with Keil v5.

How can i config micro-controller for 72 MHz clock(with Cmsis)?is it possible?

Thanks

3 REPLIES 3
Posted on July 17, 2017 at 09:05

Hello!

The 'system_stm32f10x.c' in your project contains the clock configuration function 'void SetSysClock(void)'  This function configures the RCC 

 open Menu-> project-> option-> C/C++ tab .

At 'Define' text box  must  be a definition(at least)  'USE_STDPERIPH_DRIVER, HSE_VALUE=8000000, STM32F10x'  whithout quotes.

This definition will configures your clock to 72 MHZ

mahmoud boroumand
Associate III
Posted on July 17, 2017 at 09:30

thanks .its work well

Posted on July 17, 2017 at 16:13

mahmoud boroumand wrote:

thanks .its work well

https://community.st.com/0D50X00009bMM5DSAW