Skip to main content
Visitor II
September 19, 2023
Question

Can MSI be changed on the fly when used as system clock source?

  • September 19, 2023
  • 1 reply
  • 781 views

Hi,

I am using B-L475E-IOT01A. I am wondering that MSI can be changed on the fly when it used as system clock source.

In `HAL_RCC_OscConfig` from STM32L4Cube drivers code, it looks like ok. But I didn't find any relative information from l47xxx manual. The manual only specifies that MSIRGSEL can be modified when MSION is 0 or when MSIRDY is 1. Not allow changing it when MSION is 1 and MSIRDY is 0.

This topic has been closed for replies.

1 reply

TDK
Super User
September 19, 2023

Yes, it can be changed on the fly.

Restrictions would be listed in the reference manual.

"If you feel a post has answered your question, please click ""Accept as Solution""."