Open hathach opened 3 years ago
Hi @hathach we updated our documentation about disconnection events, PTAL: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/usb_device.html#self-powered-device
thank you @tore-espressif for the update, I will check this out next time I need to work on this issue.
Hey @hathach! Any news on this issue?
Thanks :)
no, I still haven't got time for this yet. Though It is on my TODO list when I get back to work on dwc2 driver
Set up
Describe the bug ESP32-S2 currently doesn't detect disconnection event. Instead
Suspend
is detected as the side effect (since bus is idel > 3 ms). Worse, it detect suspend infinitely !!To reproduce
CFG_TUSB_DEBUG = 2
Log Log from
idf.py monitor
@dhalbert suspended and disconnected are not fully supported on all ports, may need a bit of time for overall testing later on :)