cancel
Showing results for 
Search instead for 
Did you mean: 

About output compare mode of STM32G071RB

Sodag.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

This is a documented behaviour of the timer.

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

JW​

View solution in original post

3 REPLIES 3

This is a documented behaviour of the timer.

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

JW​

Sodag.1
Associate II

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.

> 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