Skip to main content
MHast.1
Associate II
March 31, 2022
Solved

STM32CubeWB issue (USB)

Hello

STM32CubeWB has two demo applications

BLE_Peripheral_Lite

CDC_Standalone (USB)

It seems impossible to run the BLE with USB. I added the CDC part to the BLE app and they don't work together (if you disable one, the other works fine).

What is the conflict here? The USB demo is not useful if it breaks the wireless part of a wireless MCU.

Thanks

This topic has been closed for replies.
Remy ISSALYS
Remy ISSALYSBest answer
ST Technical Moderator
April 6, 2022

Hello,

You can look BLE_TransparentModeVCP project for P-NUCLEO-WB55 USB Dongle which allows to use BLE and USB simultaneously.

To use USB, it requires a semaphore which you need to set yourself. See : Building wireless applications with STM32WB Series microcontrollers - Application note Chapter Shared peripherals (Figure 9. Algorithm to use USB on CPU1).

You can also check your clock configuration.

Best Regards

2 replies

Remy ISSALYS
Remy ISSALYSBest answer
ST Technical Moderator
April 6, 2022

Hello,

You can look BLE_TransparentModeVCP project for P-NUCLEO-WB55 USB Dongle which allows to use BLE and USB simultaneously.

To use USB, it requires a semaphore which you need to set yourself. See : Building wireless applications with STM32WB Series microcontrollers - Application note Chapter Shared peripherals (Figure 9. Algorithm to use USB on CPU1).

You can also check your clock configuration.

Best Regards

MHast.1
MHast.1Author
Associate II
April 8, 2022

Thanks.