cancel
Showing results for 
Search instead for 
Did you mean: 

In up-down mode, compare value limit is 3 periods or 6 periods

naga
Associate

Hi ,

I am using HRTIM of STM32G4 (up-down mode, Complementary PWM).
I am confused by what the reference manulal says.

In RM0440 Rev 7 p.874,  the compare values is limited to within 3 periods of the fHRTIM clock below the period value.
However, the compare value is limited to within 6 periods in the example.
・Prescaling ratio is 32 at CKPSC=0
・0xC0/32 = 6

Which limit is correct, 3 or 6 periods?

naga_0-1691387157725.png

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1

waclawekjan_0-1691393557835.png

JW