Skip to main content
mahmoud boroumand
Associate III
July 17, 2017
Question

RCC HSE CONFIG

  • July 17, 2017
  • 3 replies
  • 678 views
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

    This topic has been closed for replies.

    3 replies

    Vangelis Fortounas
    Associate II
    July 17, 2017
    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
    July 17, 2017
    Posted on July 17, 2017 at 09:30

    thanks .its work well

    Nesrine M_O
    Associate
    July 17, 2017
    Posted on July 17, 2017 at 16:13

    mahmoud boroumand wrote:

    thanks .its work well

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