Hi,
This even has not been removed from the USB driver, the USB on OTG driver does not support it.
Which STM32 model are you using?
Another way to detect a disconnect is to monitor the periodic callback.
Giovanni
Serial over USB driver on STM32, cable unplug detecting
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times