2023-10-18 1:01 AM - edited 2023-10-23 2:03 AM
Hi ST community,
For a project I would like to generate two interdependent PWM signals (Sa and Sw in the attached figure) with the STM32G0. The constraints/tasks are as follows:
The times for tSa,off and tSa,on are thus adjusted every 300us. The time tSw,on is limited cycle by cycle by the active break.
Following limitations I had to mention:
I will not present my previous approaches now, in order not to influence your ideas.
I look forward to your feedback.
Br, Stefan
Solved! Go to Solution.
2023-10-25 1:33 AM
But if I understand you correctly, your idea was to run the Sa with the combined PWM function and the Sw with the PWM2 mode. I have tried this and it works as well. Why do you prefer this approach? Because with this approach one register less has to be written?
Yes.
JW
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.