cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32h750vbt6 hrtim center aligned mode

Zain
Associate II

I am using stm32h750vbt6 for pmsm foc. I want to know if there is a way to use hrtim in center aligned mode as it would be needed for svpwm.

Right now I'm updating the duty cycle with the following settings.

Set comparator value: counter value/2 - duty/2

Reset comparator value: counter value/2 + duty/2

And I'm updating on timer update event.

Is there any suggestions or I'm doing it right?

 

0 REPLIES 0