Restoring usb connection after sleep.

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
nesergen
Posts: 23
Joined: Mon Oct 26, 2020 9:17 pm

Restoring usb connection after sleep.

Post by nesergen » Thu Jul 01, 2021 8:17 am

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?

Post Reply