cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55: Problem with the USB-VCP after wake up from STOP 1 Mode

GPomp.1
Associate III

Hi,

I'm using the STM32WB5M Discovery kit and I'm integrating the USB-VCP library with th power control. After the wake-up from the STOP 1 Mode the USB-VCP doesn't work (I don't receive the characters send using the function CDC_Transmit_FS), after some tests I resolve adding MX_USB_DEVICE_Stop() before to go into stop mode and adding MX_USB_DEVICE_Start() after the wake-up. Is it correct? Does it Exist some other procedure to manage the USB-VCP with the STOP 1 Mode?

With this configuration I can't wake-up the MCU sending character throught the VCP, how can I resolve?

Regards,

Giampietro

1 REPLY 1

Hello @Community member​ ,

To switch to USB low power mode I recommend you to watch this video.

This may help you.

Best regards,

walid