KV42 FTM Fault input error

cancel
Showing results for 
Search instead for 
Did you mean: 

KV42 FTM Fault input error

441 Views
cyesman
Contributor II

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?

pastedImage_1.png

pastedImage_2.png

Labels (1)
0 Kudos
1 Reply

317 Views
Alexis_A
NXP TechSupport
NXP TechSupport

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:

https://mcuxpresso.nxp.com/en/welcome

I hope this helps you.

Best Regards,

Alexis Andalon

0 Kudos