KV42 FTM Fault input error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KV42 FTM Fault input error

600 次查看
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

标签 (1)
0 项奖励
1 回复

476 次查看
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 项奖励