cancel
Showing results for 
Search instead for 
Did you mean: 

USB Enumeration using External Interrupt Pin

srm
Associate II
Posted on January 05, 2018 at 15:37

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.

#stm32l073v8t #stm32 #mbed #stm32l0-exti
0 REPLIES 0