STM32WB55 CubeMX Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 4: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)
- Labels:
-
RCC
-
STM32CubeMX
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 5: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 9: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 9: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-09 5:55 AM
Is HSE activated?
Are CPU2 and HSE frequencies set to 32 MHz?
If not, show your clock configuration screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-09 6:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-09 6:16 AM
I have activated it,but not using it to clock any CPU. I am not using it anywhere in clock configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-09 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-11 5: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-11 8:49 AM
