Page 1 of 1

Restoring usb connection after sleep.

Posted: Thu Jul 01, 2021 8:17 am
by nesergen
I`m using STM32f411 board. Linux Mint20.
I write a program and test it on the board, output the test data to a serial monitor. My program periodically enters the board into a sleep state (light sleep), while the USB connection is terminated. After waking up, the connection is not restored automatically, the computer does not see the board. Why? Is the computer or the board itself to blame? Can I set up automatic USB connection recovery?