Skip to main content
TVan .8
Associate III
April 4, 2024
Solved

CMSIS-RTOS2 freezes on external interrupt

  • April 4, 2024
  • 1 reply
  • 1539 views

Hi,

I'm trying to use an interrupt with CMSIS_RTOS2. The user button is configured to use as an interrupt source:

001027.png

When I push the button, the system freezes. I suspect the interrupt flag doesn't get cleared but I have no idea why.

001029.png

There is nothing (yet) in the callback function:

001030.png

This works fine in normal working mode but it freezes when I'm working in CMSIS-RTOS2. I have no idea why this happens.

I'm working on a 32F746GDISCOVERY board.

This topic has been closed for replies.
Best answer by TVan .8

Solved it

Apparantly I forgot to link the IQR handler in the 'stm32f7xx_it.c' file

001031.png

4 hours of my life I'm never getting back :grinning_face::face_with_tears_of_joy:

1 reply

TVan .8
TVan .8AuthorBest answer
Associate III
April 4, 2024

Solved it

Apparantly I forgot to link the IQR handler in the 'stm32f7xx_it.c' file

001031.png

4 hours of my life I'm never getting back :grinning_face::face_with_tears_of_joy: