cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeWB issue (USB)

MHast.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Remy ISSALYS
ST Employee

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

View solution in original post

2 REPLIES 2
Remy ISSALYS
ST Employee

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

Thanks.