Search found 2 matches

by hardlulz
Mon Apr 22, 2013 12:03 am
Forum: STM32 Support
Topic: [DONE] What's the fair way to stop usb driver?
Replies: 7
Views: 5677

Re: [TODO] What's the fair way to stop usb driver?

Thank you for your fast response.

I've tried the method you were suggesting but failed. After that I looked into usb.c and found no state machine transition from USB_ACTIVE (or USB_CONFIGURED) to USB_READY state other than reset event.

I tried to directly call _usb_reset() before usbStop ...
by hardlulz
Sun Apr 21, 2013 5:36 pm
Forum: STM32 Support
Topic: [DONE] What's the fair way to stop usb driver?
Replies: 7
Views: 5677

[DONE] What's the fair way to stop usb driver?

I have a custom self powered board with stm32F103rd mcu. On that board I have found that leaving usb cable attached to the board but disconnected from PC generates a lot of noise for the USB peripherial, continuously making a huge number of wakeup/reset/suspend events. These interrupts keep waking ...