AnsweredAssumed Answered

SysTick and DMA interrupt priorities

Question asked by gezikov.roman on Nov 20, 2015
Latest reply on Nov 25, 2015 by 68516
Hello,

  I noticed that in the code generated by CubeMX SysTick interrupt is assigned the highest priority (0). And DMA interrupts (I didn't yet use any others) get assigned the same priority too. However, DMA ISR use HAL_GetTick() function to determine timeout and thus there is a possibility to lock the execution. The solution is to assign priority higher than 0 to ISRs that might use HAL_GetTick(). I'd propose firmware team take that as change request and assign all those ISRs priority 1 automatically in code generation.

Happy coding,
Roman.

Outcomes