Skip to main content
JBond.1
Senior
Sep 21, 2022 4:26 PM UTC
Solved

Does TIM1 has global interrupt?

Hi, I was wondering does TIM1 has "global interrupt" like TIM2, TIM3... have?

I dont see such in STM32CubeMX app, is it called differently or does not have such interrupt?

Should I avoid using TIM1 if I need such interrupt?

0693W00000SvvNNQAZ.jpg

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Sep 21, 2022 4:46 PM UTC

It's an Advanced Timer, as such it might have multiple IRQHandlers for different aspects. IRQHandlers might also be shared. Look at the Vectors in startup.s, or the Manuals

You could make ONE Handler, and point all the related Vector Table entries at it. Would likely want same priority / preemption.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Sep 21, 2022 4:46 PM UTC

It's an Advanced Timer, as such it might have multiple IRQHandlers for different aspects. IRQHandlers might also be shared. Look at the Vectors in startup.s, or the Manuals

You could make ONE Handler, and point all the related Vector Table entries at it. Would likely want same priority / preemption.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..