2021-07-14 06:29 AM
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
2021-07-15 06:31 AM
Hello @Community member ,
To switch to USB low power mode I recommend you to watch this video.
This may help you.
Best regards,
walid