Skip to main content
Sodag.1
Associate III
June 8, 2022
Solved

About output compare mode of STM32G071RB

  • June 8, 2022
  • 2 replies
  • 1621 views

I want to perform a timer interrupt using the output comparison mode.

When the frequency is set to 2000Hz, ARR : 20, CCR1 : 25, I think that interrupt does not occur because ARR <CCR1, but interrupt occurs. Why do interrupts occur?

0693W00000NrN36QAF.png

This topic has been closed for replies.
Best answer by waclawek.jan

This is a documented behaviour of the timer.

http://www.efton.sk/STM32/gotcha/g31.html

JW​

2 replies

waclawek.jan
waclawek.janBest answer
Super User
June 8, 2022

This is a documented behaviour of the timer.

http://www.efton.sk/STM32/gotcha/g31.html

JW​

Sodag.1
Sodag.1Author
Associate III
June 8, 2022

I confirmed that it is described in the reference manual.

I overlooked it because it was not mentioned in the Japanese version of the manual.

Thank you for your cooperation.

waclawek.jan
Super User
June 8, 2022

> I overlooked it because it was not mentioned in the Japanese version of the manual.

Maybe this should be fixed, then. I am not sure where should this be reported, maybe through your FAE?

@Imen DAHMEN​ , what is the proper way here?

Thanks,

JW