AnsweredAssumed Answered

STM32 check if usb is still enumerated and active

Question asked by yazdani.saeid on Jun 5, 2015
Hi all,

I have made a simple USB HID gamepad with STM32F103. It works well, but the problem is when I restart the PC, if the usb cable is still atached, it takes the PC much much longer to pass bios screen. I guess this might be because in my application I send packets in the while loop. I think there should be a way to check if the operating system still reacts or polls the usb device. 

Any ideas?