Skip to main content
GPomp.1
Associate III
July 14, 2021
Question

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

  • July 14, 2021
  • 1 reply
  • 682 views

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

This topic has been closed for replies.

1 reply

Walid ZRELLI
Visitor II
July 15, 2021

Hello @Community member​ ,

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

This may help you.

Best regards,

walid