USB interrupt storm
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-06 4:38 AM
Posted on January 06, 2014 at 13:38
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 #usb
Labels:
- Labels:
-
STM32F4 Series
-
USB
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-06 6:19 AM
Posted on January 06, 2014 at 15:19
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?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-06 6:20 AM
Posted on January 06, 2014 at 15:20
Buggy forum software
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-06 9:16 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-07 1:52 AM
Posted on January 07, 2014 at 10:52
Hi chinzei.tsuneo
Thanks for your post!It works perfectly.Thank you :)