2018-01-23 12:51 PM
Is there a quick and clever way of inverting a PWM signal in software (I am using timer 2 of the Discovery Kit board/STM32L100)? Was looking for the complementary feature but I don't want a pair of PWMs, just the inverted of the original signal (top).
Thanks in advance!
Solved! Go to Solution.
2018-01-24 02:00 PM
The load on this signal is about 100 mW.
Do you mean milliwatts?
Can you please express it in terms of load resistance, and compare it to the datasheet pullup value? In other words, if the pullup can pull the load up, it's enough to switch it on even if you still use CCxE=0 for PWM on.
JW
2018-01-24 02:38 PM
I see what you mean now. This looks nice! Takes a little bit manipulation but it might work. Thanks!