Complementary PWM issue
Hi there,
I am generating 250khz PWM signal using STM32f401ccu6 (Blackpill) to drive high side and low side mosfets. I am using Timer 1 channel 1 along with its complementary PWM feature to utilize dead time feature. Currently I have generated the PWM signals at 250khz, but the CHN PWM is not opposite to the CH PWM. Both are starting from HIGH and transitioning to LOW. That means both are interfering by getting HIGH or LOW at same time. I tried to change the CHN polarity to HIGH to LOW in pinout configuration, but it is only inverting the duty cycle. The CHN PWM transition is not happening from LOW to HIGH. Also I tried by changing both CH and CHN polarity, idle state. Please let me know how to approach this. I have attached the images.
This is the output with CHN polarity as HIGH.
output with CHN polarity as HIGH.
TImer setup 



This this the PWM I'm expecting with dead time.
Thanks in advance.