2014-01-06 04:38 AM
Hi,
I am developing an USB HID device with a STM32F4xx microcontroller, using the ST USB stack version.When there are some data to send to host (PC), the device just puts the data into the buffer endpoint. During the time between this step and until the host polls the IN endpoint, the USB ISR is permanently interrupting the MCU, and therefore is MCU stays stuck during this time!!Is this a bug in USB stack or is there any solution for this problem???Thanks :) #stm32f4xx #hid #usb2014-01-06 06:19 AM
USB triggers IRQ because of several configurable reasons. For example on receive, on transmit, on frame error, on 3 missed SOFs, on .......
Which ones did you enable? Which reason triggers so often?2014-01-06 06:20 AM
Buggy forum software
2014-01-06 09:16 AM
2014-01-07 01:52 AM
Hi chinzei.tsuneo
Thanks for your post!It works perfectly.Thank you :)