drivers: clock control stm32wb has MSI clock range to set
When the MSI clock is selected as source on the stm32wbx device, the MSI has a range to choose the MSI input frequency. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
c5eeb0f4eb
commit
5199e1bfa9
1 changed files with 0 additions and 2 deletions
|
@ -636,13 +636,11 @@ int stm32_clock_control_init(const struct device *dev)
|
|||
LL_SetFlashLatency(new_flash_freq);
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32WBX)
|
||||
/* Set MSI Range */
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32WBX)
|
||||
LL_RCC_MSI_EnableRangeSelection();
|
||||
#endif
|
||||
LL_RCC_MSI_SetRange(STM32_MSI_RANGE << RCC_CR_MSIRANGE_Pos);
|
||||
#endif
|
||||
|
||||
#if STM32_MSI_PLL_MODE
|
||||
/* Enable MSI hardware auto calibration */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue