cancel
Showing results for 
Search instead for 
Did you mean: 

CMSIS-RTOS2 freezes on external interrupt

TVan .8
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TVan .8
Associate III

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:

View solution in original post

1 REPLY 1
TVan .8
Associate III

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: