Creating a variable Phase Shifted PWM on STM32L4 w/ STM32IDE&HAL
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
Labels:
- Labels:
-
STM32 Motor Control
-
STM32L4 series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
