For example, we need to generate 2 PWM signals which are phase shifted betweeh each other with 180 degrees, both with the same frequency and duty cycle.
We have the RL78/F13 Pin Configuration for 30-pin Products variant RL78/F13, R5F10BAG
Is it possible to generate them, for example by using the timer array unit and to operate as Pwm function?
Maybe with the configurations of master/slave channels:
* as master channel timer - "P41/TI10/TO10"
* as slave channel timer => The first PWM signal to be on "P12/TI11/TO11" on uC Pin 22
* as slave channel timer => The first PWM signal to be on "P10/TI13/TO13" on uC Pin 24
If you already tried something similar and its working just let me know.
Also some sample code would be helpful about the regs configurations.
Thanks in advance.
Good day Luci! How are things going for you? I hope you could wait for responses from people who have enough knowledge regarding your inquiry. For the mean time, you might want to refer to this app note regarding complementary PWM mode. All the best, Sai RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ en-us.knowledgebase.renesas.com/