Hello everyone,
I have a question regarding PWM in TM4C123ae6pm. Basically, I have 4 PWM signals, they are used in pairs so software writes a value in one output, other is the inverted value of his couple. with some deadband period. Now what I need to have is that signal A from a first couple and signal A from the second couple is also inverted. Thus signal A from the first couple is the same as signal B from the second couple.
Therefore when I have let's say 25% in signal A(first couple) in signal A (second couple) I will have 75% with that first part 25% is zero and other 75% is one (basically inverted, sorry for complicating ). That means signal A has 2 inverted signals, one generated by the generator itself and other is regulated by me. Signal I get at the in generator 3 is not in sync with a signal in generator 2. So signal in GEN_2 goes 25% up and when it goes down signal in GEN_3 goes down for 25% period. So signal in GEN_3 is constantly late behind signal from GEN_2 by the amount of time that signal in GEN_2 is in 1. previously did not use
PWMSyncTimeBase();
function: And searching this forum I ran into that. I tried to configure for these two generators to work simultaneously but second signal stys the same. Have you got any advises for me on how to achieve that signals, or maybe there is something else problem, not this synchronization that I am thinking of?