Disconnecting and reconnecting using DISCON bit in USBCS register of FX1/FX2/FX2LP
Anonymous
Not applicable
Apr 03, 2011
02:47 PM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Apr 03, 2011
02:47 PM
Question: Can a Bus Powered device be disconnected and reconnected using DISCON bit in USBCS register?
Answer:
Yes, a Bus Powered device can be disconnected and reconnected using the DISCON bit in the USBCS register. Setting this bit will disconnect the device and the device loses control over D+ and D- lines but as VBUS and Gnd lines are still connected, code will keep on executing. As soon as we reset the DISCON bit in the USBFS register our device will re-enumerate again.
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous