Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: USB disconnect problem on stm32f205

$
0
0
hello i am working on a project with stm32f205 and keil uvision5. i am using the cmsis rtos. when i plug the usb to my board the usb tasks are created quickly. the problem is when i unplug the usb , for removing the usb task i use this functions : Usb_Status = USBD_Disconnect(0); Usb_Status = USBD_Uninitialize(0); but it takes too much time to remove the usb tasks (about 6 to 8 seconds). i have verified and it seems that the program is bloking in this part :

Viewing all articles
Browse latest Browse all 3049

Trending Articles