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

[CM3]which clock sources can be closed?

Hi bro,I am wondering which clock sources can be closed by software within stm32?thanks for helps.

Parents
  • Fortunately, no.

    The microcontroller should turn on HSI if it's necessary. This could happen if it's in sleep mode and both HSI and HSE are turned off.

    But in order to turn off HSI, you need to make sure it's not in use, otherwise it will not be turned off.

    So if any of the PLLs are using it or if your system-clock is using it directly, then it will not turn itself off, when you tell it to.

    Note: If you're flash-programming the device via SWD (for instance STLink), then the flash-programming software will be able to turn on the HSI via the SWD interface. OpenOCD can do this for instance.

Reply
  • Fortunately, no.

    The microcontroller should turn on HSI if it's necessary. This could happen if it's in sleep mode and both HSI and HSE are turned off.

    But in order to turn off HSI, you need to make sure it's not in use, otherwise it will not be turned off.

    So if any of the PLLs are using it or if your system-clock is using it directly, then it will not turn itself off, when you tell it to.

    Note: If you're flash-programming the device via SWD (for instance STLink), then the flash-programming software will be able to turn on the HSI via the SWD interface. OpenOCD can do this for instance.

Children