Question
stm32f107 usb-otg can not produce interruption after long running
Posted on July 05, 2012 at 14:17
hi
STM32 experts, i am using stm32f107 usb-otg interface, and an function is virtual com port,i.e. receive UART data then send to PC go through usb-otg interface,i am using VCP_V1.3.1_Setup.exe driver that installed on PC, and the usg-otg lib is STM32_USB-FS-Device_Driver 3.3.0). The problem is I using USB_SIL_WRITE(EP1_IN,buff,len) funtion to send received data to PC periodically, and the OTGD_FS_Handle_InEP_ISR interruption function will be called when usb tx traffic completed. This fucntion can run very well about 10min or more longer, but it will not produce OTGD_FS_Handle_InEP_ISR interrupt anymore at some times,i.e.after USB_SIL_WRITE, usb-otg not produce any interruption about completed, or time-out,error or something else. This function work well on STM32103 not otg inteface. Brs, #stm32-usb-otg