PWM signal Output Malfunctionment
I am trying to generate 4 channel signals using Timer 1 (due to the need of Dead Time) and am facing a problem with the output. Even after defining the timer output compare polarity and all, sometimes the signal just dephases (or in other words shifts) forward which causes the whole signal to either vanish (like in case of “a” and “b” where they cancel each other) or create a totally different signal (like in the case of “A” and “B”). N.B: in the photos below, a/A are what the signals should look like and b/B are the dephased ones that are causing the malfunctions in the final output signal.
Thank you previously for your reply,
Michael