cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_TIM_IRQHandler pending but never fired

repaint
Associate II

Hi All,

I am trying to run FreeRTOS and TouchGFX on an STM32H7S7I8T with TIM6 as the timebase source. I am running into an issue where uwTick is not incrementing, this is due to HAL_IncTick not being called. Tracing it back, HAL_TIM_IRQHandler is never called even though in the registers TIM6->SR->UIF is set. The CNT register also counts up and resets as expected. So clearly the interrupt is pending but just never fired. I figured it may be NVIC priority issue, but since uwTick just remains at 0 even before hitting osKernelInitialize() and the code should not tied up in any other interrupts, I don't think this is the issue.

To make things weirder, I have a very similar project running on the STM32H7S78-DK with all of the same configuration and that works perfectly. I have confirmed that the registers between the two are identical.

I have attached the project.

Thanks in advance!

0 REPLIES 0