2023-05-02 11:38 PM
I can easily create 3 PWM signals with 120 degrees of phase shift by creating a Master/Slave Trigger configuration. However, for the FOC algorithm, I need to shift all the signals together during operation. How can I achieve this?
Both STM32CubeIDE and Simulink Embedded Coder answers are welcome.
2023-05-02 11:43 PM
> 120 degrees of phase shift by creating a Master/Slave Trigger configuration
Try Reset in TIMx_SMCR.SMS instead.
JW