Associate
April 6, 2020
Question
Capture compare interrupts flags always high with 32-bit timer (TIM5) on STM32F427
- April 6, 2020
- 3 replies
- 1702 views
I need to use all four Capture-Compare interrupts to use multiple timeouts for TIM5 on STM32F427. It is a 32-bit timer.
The problem I am running into is that the interrupt flags are constantly high (e.g. CC4IF,CC3IF,etc.) . As long as only one CC-interrupt is enabled I can "fix" it by checking which interrupt is enabled. However, using the 32-bit mode or enabling multiple CC-interrupts at the same time would imply a huge overhead in the ISR...
Could anybody tell me why the flags (CC4IF, CC3IF, CC2IF, CC1IF, UIF) are constantly high and even cannot be cleared?
Thanks.
Best,
Rolf
