This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to configure system clock in micro vision 5?

i,m new in using stm microcontrollers. i,m using STML152 Nucleo board. i,m doing blinky project and i,ve seen several projects in which they taught us about configure system clock. So, when i,m making my project i can not find the lines for system clock in configure files. i,ve seen reference manual document of cortex m3 in books tab but i could not find detail of system clock.

Parents
  • The part should come up and run under its default clock, likely HSI or MSI, you don't have to change those unless you want to configure maximal speed via the PLL or other sources.

    Perhaps also look at the HAL examples under the CubeL1 package.

    STM32Cube_FW_L1_V1.9.0\Projects\NUCLEO-L152RE\Examples\GPIO\GPIO_IOToggle

    SystemClock_Config()

Reply
  • The part should come up and run under its default clock, likely HSI or MSI, you don't have to change those unless you want to configure maximal speed via the PLL or other sources.

    Perhaps also look at the HAL examples under the CubeL1 package.

    STM32Cube_FW_L1_V1.9.0\Projects\NUCLEO-L152RE\Examples\GPIO\GPIO_IOToggle

    SystemClock_Config()

Children
No data