AnsweredAssumed Answered

tim3 rises all interrupt flags even though it shouldn't

Question asked by martin salko on Oct 31, 2017
Latest reply on Oct 31, 2017 by Clive One

Hello, I have timer 3 setup like this:

ARR = 8400

PSC = 99

CCR1 = 4200

CCR2-4 = 0xFFFF

CR1.CEN = 1



when i run my code after one interrupt all interrupt flags get set to 1, obviously this shouldn't happen, since except for ccr1 other counters are set to value too high to be reached.

and DMAR gets set to 1, but i don't use dma on this timer, also the SR register suddenly cannot be cleared even by jlink.


I'm looking for any suggestion on what is happening and how can i potentially fix it.