2023-05-30 08:44 AM - edited 2023-11-20 04:20 AM
Hello All,
I want to generate a different type of PWM along with its phase shift PWM as well. Below is the diagram for the output waveform. I am using the NUCLEO-F030R8 board as of now.
(Sorry for the bad drawing)
Where Fhz and Th are the same for all instances as shown on the image, they also need to be changed on run time.
Waiting for assistance.
Thanks
2023-06-05 10:52 AM - edited 2023-11-20 04:21 AM
Also, I have one question related to this to know more about timers and PWM. Which is, how to generate the below kind of waveform without using combined PWM and with only one timer since the combined PWM option is not available with this board.?
2023-06-06 02:35 AM
Hi Bhavik, sorry i didn't understand what you mean!, can you ask your question clear?
as i understood i worked and now you have the signals what you need, right?
2023-06-07 04:58 AM - edited 2023-11-20 04:21 AM
Hey @HA.5 what we discussed till now is okay and proper.
My next question is what if i want to generate the waves shown in below image using a single timer.
Just for reference we don't have combined PWM option in any of the timer.
2023-06-07 06:20 AM
if you want to generate the code using just one timer, and your timer has no option (like PWM1 and PWM2 that CUBE_IDE gives you this option) to do that, then you can use bit pattern and interrupt to have what you want, but if there are other ways possible to do it, i have no information about that.