Question
STM32F205 USB core reset for close port
Posted on January 05, 2015 at 14:24
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? #stm32f205-usb-reset