How to enable both BLE and USB (DFU mode) in STM32WB5MMG using STMCubeIDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-19 11:36 PM
We made a custom PCB board using STM32WB5MMG. We tried connecting BLE and USB (DFU mode) together using STMCubeIDE, but if we enable BLE USB is not working. But without both are working well independently. We are new to this controller. So we didn't know how to enable both.
Solved! Go to Solution.
- Labels:
-
BLE
-
STM32WB series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-22 10:03 PM
Hello @Sarra.S
Thank you for your reply,
Now both are working. We enable both in .ioc and resolve the clock as per IDE's suggestion. and we add the below couple of lines in the "PeriphCommonClock_Config(void)" function
LL_HSEM_1StepLock( HSEM, 5 );
LL_RCC_HSI48_Enable();
Thanks,
Ananthakumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-20 2:05 AM
Hello @Anandbalu
Take a look at these two documents :
Hope that helps!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-22 10:03 PM
Hello @Sarra.S
Thank you for your reply,
Now both are working. We enable both in .ioc and resolve the clock as per IDE's suggestion. and we add the below couple of lines in the "PeriphCommonClock_Config(void)" function
LL_HSEM_1StepLock( HSEM, 5 );
LL_RCC_HSI48_Enable();
Thanks,
Ananthakumar
