cancel
Showing results for 
Search instead for 
Did you mean: 

SysTick with custom HID problem

gurnett2
Associate II
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
gurnett2
Associate II
Posted on April 03, 2013 at 14:09

My mistake

forgot to clear DMA1_FLAG_TC1 properly, which caused the problem