2021-01-08 04:14 AM
I am building a wireless application (BLE) with STM32WB55CG. For that, I am planning to use HSI and LSE (LSE as RF wake up clock and HSI as CPU1 and CPU2 clock). For that, I disabled HSE in the RCC part of CubeMX. After I did that, RF becomes inactive and unselectable. How can I solve this issue to make wireless application without using HSE? (I am using STM32Cube_FW version 1.8.0)
2021-01-08 05:23 PM
The RF front end requires a 32 MHz HSE as a clock source. Probably the HSI does not meet the high speed timing requirements for Bluetooth.
If you hover over something in CubeMX that is disabled, it will usually tell you why. In this case, it does exactly that.
2021-01-08 09:27 PM
Yes. I understand it. But, I have another doubt regarding this. When I set the HSE as external ceramic/crystal oscillator, RF gets activated, but in the clock configuration window in Cube MX I set system clocks such that, HSE is not used anywhere in the clock configuration (HSI as CPU clock and LSE as RTC wake up clock and the system works in the P-Nucleo-WB55 development board. How does this happen when I set HSE as enabled, but not used in Cube MX clock configuration?
2021-01-08 09:27 PM
Yes. I understand it. But, I have another doubt regarding this. When I set the HSE as external ceramic/crystal oscillator, RF gets activated, but in the clock configuration window in Cube MX I set system clocks such that, HSE is not used anywhere in the clock configuration (HSI as CPU clock and LSE as RTC wake up clock and the system works in the P-Nucleo-WB55 development board. How does this happen when I set HSE as enabled, but not used in Cube MX clock configuration?
2021-01-09 05:55 AM
Is HSE activated?
Are CPU2 and HSE frequencies set to 32 MHz?
If not, show your clock configuration screen.
2021-01-09 06:14 AM
2021-01-09 06:16 AM
I have activated it,but not using it to clock any CPU. I am not using it anywhere in clock configuration.
2021-01-09 06:18 AM
Looks like you've satisfied the requirements. I don't see any issues here. It doesn't say CPU2 should be clocked from HSE. Although perhaps this is a bug, no idea.
2021-01-11 05:58 AM
Hello @ASiva.1
Are you still facing an issue with CubeMX interface? If yes, please share your ioc file to check it.
Thanks, Khouloud
2021-01-11 08:49 AM