diff --git a/drivers/clock_control/clock_stm32g4.c b/drivers/clock_control/clock_stm32g4.c index 635c264a5b..498b74c6aa 100644 --- a/drivers/clock_control/clock_stm32g4.c +++ b/drivers/clock_control/clock_stm32g4.c @@ -29,6 +29,11 @@ void config_pll_init(LL_UTILS_PLLInitTypeDef *pllinit) pllinit->PLLM = pllm(CONFIG_CLOCK_STM32_PLL_M_DIVISOR); pllinit->PLLN = CONFIG_CLOCK_STM32_PLL_N_MULTIPLIER; pllinit->PLLR = pllr(CONFIG_CLOCK_STM32_PLL_R_DIVISOR); + + /* set power boost mode for sys clock greater than 150MHz */ + if (sys_clock_hw_cycles_per_sec() >= MHZ(150)) { + LL_PWR_EnableRange1BoostMode(); + } } #endif /* CONFIG_CLOCK_STM32_SYSCLK_SRC_PLL */