When using Renesas's RX26T chip, you need to use a PWM with a complementary dead zone, currently using GPT's SAW WAVE ONESHOT mode, but only one side has a dead zone, and the other side has no dead zone. The following is the compressed package of the program, please help to check.26tiger setup.rar
Did you help check out the problem
Hello,
Can you clarify what exactly is your issue (waveform screenshots would be helpful)?
From your project, I can see that you try to use GPT0, GPT7 on oneshot mode with dead time enabled for the pins GTIOC0A, GTIOC0B, GTIOC7A, GTIOC7B. Do you have any specific issue with the complementary outputs on the two channels?
Regards,
AL_Renesas
One side has dead time, and the other side is aligned.
Hello Iarry,
Please, study carefully Chapter 4.3 Sawtooth-Wave One-Shot Pulse with dead time on the application note below:
r01an5995ej0110-rx-mtu3-gptw-pwm.pdf
Οn pages 180-182, the necessary Smart Configurator settings are depicted. After following the steps, I managed to have correct dead time on both of the two sides, the attached project has been tested with MCB-RX26T:
RX26T_Complementary.zip
Τhe main issue is how you try to configure GTCCRA, GTCCRB registers of the GPT timers. The correct configuration to have the complementary mode that you wish is the below:
Thank you very much for your answer. There is no problem with my configuration. The key is the reassignment of registers in R_Config_GPT0_Create_UserInit.