AnsweredAssumed Answered

STM32F205 USB core reset for close port

Question asked by strauss.bar on Jan 5, 2015
Latest reply on Jan 8, 2015 by Chinzei.Tsuneo
Hello.
I am using stm32_vcp_1.3.1 stack for USB OTG. 
I have a problem when the USB connection to the PC is ended because App kill (no interrupt to tell me about it). I found that I stay in a loop of OTG_FS_IRQHandler, and couldn't get to the main because of it. But I can add a check in that IRQ and know if the APP was kill. My question if I can use the function USB_OTG_STSUSB_OTG_CoreReset to break the IRQ loop but at the some time keep the USB active so it can be connect again when the PC turn to the device? 

Outcomes