cancel
Showing results for 
Search instead for 
Did you mean: 

RCC_CR_HSEBYP definition removed from CMSIS in STM32CubeWB v1.10.0

DGeor.4
Associate

In STM32CubeWB v1.10.0, the definitions of RCC_CR_HSEBYP (HSE bypass control) were removed from the CMSIS files for STM32WB5x MCUs. Also parts of the HAL that configure HSE bypass mode were removed. In the release notes it says "Remove RCC_CR_HSEBYP" but there is no further detail about this.

I could not find any mention of HSEBYP in the latest errata for the STM32WB5x.

What is the reason this definition was removed from the CMSIS and HAL, does this HSE bypass feature still work on STM32WB5x parts?

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @DGeor.4​ and welcome to the STM32 Community =)

All HSE32 BYPASS description/definition are removed from STM32WBxx reference manuals and HAL, to be replaced by HSE32 clock input mode.

Please, mark the answer as "Best Answer" by clicking on the "Select as Best" button if it fully answered your question, this can be very helpful for Community users to find this solution more quickly.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

Hello @DGeor.4​ and welcome to the STM32 Community =)

All HSE32 BYPASS description/definition are removed from STM32WBxx reference manuals and HAL, to be replaced by HSE32 clock input mode.

Please, mark the answer as "Best Answer" by clicking on the "Select as Best" button if it fully answered your question, this can be very helpful for Community users to find this solution more quickly.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
DGeor.4
Associate

Thank you for the answer.

I see in the latest version of the reference manual (RM0434 rev6), section 8.2.1, that using an external clock (previously called HSE bypass mode) has the same configuration as using a crystal. Is that correct? So all the code needs to do is enable HSEON and the MCU will automatically detect if its a crystal or an external clock?