SysTick with custom HID problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-04-03 3:32 AM
Posted on April 03, 2013 at 12:32
Hello
I have a problem with a SysTick working together with a custom HID (STM32_USB-FS-Device_Lib_V4.0.0). I am running at 72 Mhz, and if I don't init the USB my SysTick irq is firing every ms as I expect. However, if the usb is initialised, the SysTick firing rate drop by about a factor 8-9. I'm pretty sure this is a trivial mistake, but I can't seem to find it. Thanks Michael
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-04-03 5:09 AM
Posted on April 03, 2013 at 14:09
My mistake
forgot to clear DMA1_FLAG_TC1 properly, which caused the problem