2019-01-23 02:33 AM
I have generated complementary PWM signal on STM32L496ZGtx. I used TIM1CH1 and TIM1CH1N. I am using one pulse mode so that every 1 second, I generate complementary signal. However one channel starts at active HIGH and another starts at active LOW. How should I start and end both the channels at active low? See attached image.
2019-01-23 10:16 AM
After end of the burst, set TIM1_CCER.CC1NP, and before beginning clear it again.
JW
2019-01-23 11:29 AM
1N means negated signal with possible slight time skew for driving power mos in 3 phase motot control.
Instead, if you need more control and flexibility, why not use 2 non inverted timer channels?
2019-01-27 10:48 PM
what is CC1NP?
2019-01-27 11:15 PM
JW