Skip to main content
Associate II
October 10, 2023
Question

TIM1 break interrupt not firing

  • October 10, 2023
  • 5 replies
  • 1984 views

Hi,

I am configuring TIM1 to generate interrupt via MX and I can see that the ISR for TIM1 break is added to the code.
But the interrupt never triggers. I know that break from comparator does happen, but no interrupt!

Does anyone know what could be wrong?

5 replies

Billy OWEN
ST Employee
October 13, 2023

Hi @bolurian 

 

The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.

 

Regards,

Billy

Karl Yamashita
Principal
October 14, 2023

Did you set the NVIC?

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
Associate II
January 29, 2024

Hello, did you eventually manage to get Break interrupts?

I see the same problem in STM32G431 TIM8.

I can generate all other events interrupts, but cant see neither BREAK nor BREAK2.

I get both breaks flags raised, but no pending interrupts from TIM8.

 

Something is missing.

waclawek.jan
Super User
January 29, 2024

> I get both breaks flags raised, but no pending interrupts from TIM8.

Read out and check/show content of TIM8 registers.

Generic "interrupt does not fire" checklist here.

JW

Associate II
February 2, 2024

What can I say!? RTFM!!!!

Timer has more than 1 interrupt lines.

And!!! Lines are often muxed with it's own or other IPs interrupt lines, when connected to NVIC.

It is different for each timer (T1/T8/T20).

Pay attention to NVIC settings when expect to use certain interrupts!!!

Confusing design, though ... 

Eh ...