Hi
1. Disable comparator interrupt, PWM wave is fine.
2. Once enable comparator interrupt, as above picture, PWM is pulled down from 3.3V to 2.6V at the moment when rising and falling edge trigger comparator to interrupt.
Add key code as attached. How to resolve the abnormal voltage level? Thanks a lot.