Question
Endless interrupts in VCP USB STM32L
Posted on February 12, 2015 at 13:23
Hi,
I use the USB VCP (based on VirtualComport_Loopback) in STM32L152VE. I disabled suspend (''__IO bool fSuspendEnabled = FALSE;'' in usb_pwr.c). If the USB cable is disconnected I get endless suspend interrups (ISTR_SUSP) and the function ''Resume(RESUME_LATER);'' in usb_istr.c is constantly executed. how do I solve this? also bDeviceState value is always ''CONFIGURED'' even after USB cable disconnection. Ideas? #suspend #stm32-usb-vcp