diff --git a/drivers/clock_control/clock_stm32_ll_common.c b/drivers/clock_control/clock_stm32_ll_common.c index da661158e8d..db02bd822a1 100644 --- a/drivers/clock_control/clock_stm32_ll_common.c +++ b/drivers/clock_control/clock_stm32_ll_common.c @@ -475,9 +475,15 @@ int stm32_clock_control_init(const struct device *dev) if (LL_RCC_HSE_IsReady() != 1) { /* Check if need to enable HSE bypass feature or not */ if (IS_ENABLED(STM32_HSE_BYPASS)) { +#ifdef CONFIG_SOC_SERIES_STM32WLX + LL_RCC_HSE_EnableTcxo(); + } else { + LL_RCC_HSE_DisableTcxo(); +#else LL_RCC_HSE_EnableBypass(); } else { LL_RCC_HSE_DisableBypass(); +#endif } /* Enable HSE */