AnsweredAssumed Answered

[MQX4.1]: Can USB Device Stack Sense a USB Soft-detach

Question asked by Hui Shao on Jan 19, 2016
Latest reply on Jan 21, 2016 by isaacavila



My device is a self-powered CDC device and I want it to have capability of sensing a soft-detach. It is required to have USB interface physically connected. Due to power constraints, the USB host can only start enumerating or detaching device by closing/opening switch on D+/D- periodically. The host has full control over attachment and detachment by receiving attach event and detach event from USB host stack. I want to have similar notification from USB device side. Now my question is, is there similar attach event and detach event sent out from USB device stack due to opening/closing of D+/D-?


Thanks and regards