AnsweredAssumed Answered

USB Enumeration using External Interrupt Pin

Question asked by malladi.sandeep.001 on Jan 5, 2018

Hello,

Question: I would like to know the status of the USB connection wither its connected or not. Using microcontroller Pin interrupt. Pin value seems to be always high rather than going low when not connected. Is there any way in which I can achieve using interrupt. I would like to use only external interrupt because when USB is disconnected then make the controller to deep sleep mode and when connected wake up from sleep. I would like to in this fashion. Any suggestions would be grateful. Thank you.

VCC USB1 = 5V(from USB when connected provides 5v and disconnected gives 0v) voltage Divider : voltage measured between the 2 resistors.

 

Thanky you.

Attachments

Outcomes