I was trying FTM_Fault input to disable the PWM output function. Now I can output normal two channels complementary signal. FTM0_CH0 and FTM0_CH1. Then prepare to use FTM0_FLT1(MKV42F64VLF16, PTC0) to control the FTM disable the output. The Init code as shown below:
Strangely, code run into IRQHandler every time. And PWM outputs normally. I had measure the PTC0's level, it's high. Could help this?
Dear Yu Fuhua,
I will suggest to check the pwm_twochannel example that comes in the SDK.
You can download the SDK from this webpage:
I hope this helps you.