Hello, I am trying to create H-BRIDGE controller for project that I shouldnt be speaking about. I am using four n-channel mosfets. I have to develop software that will control mentioned h bridge, so I need complementary PWM signals.
I know, that LPC1125 does not natively support complementary outputs, but is there a way to somehow do it?
I thought about using two timers, where one of them will have slightly different duty cycle and polarity, so it will create deadtime. I got stuck with changing the polarity of the timer. I havent found register to do that.
Second thought was to use four match registers and their outputs, but that also failed, cause I cant tie together two match register outputs withou some logical gates.
Third thought is to use other mcu, but LPC1125 is really cheap and I am really budget tied. What would you potentionally reccomend. Thanks in advance