Same FTM module used for Input capture and PWM output

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

Same FTM module used for Input capture and PWM output

1,670 次查看
nitinverma
Contributor III

Dear support Team,

 

I am using freescale S32K144 Evaluation board.I am trying to use PWMO and input capture on the same FTM(Channel 6 for Input capture and Channel 5 for PWM out put).I configured it successfully for the given frequency and duty cycle.When i am connecting input to the input capture channel output PWM goes off and remain off till i connected input.Please let me know if it is the limitation of SOC or there is some other way to use both PWMO and input capture simultaneously.

As far as my knowledge is concern about FTM there is single MOD register for all channels and this is the limitation to achieve simultaneous operations.

 

Thanks

Nitin verma

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

1,135 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

This should work normally, it is different channels that have own control register.

Be sure you do not set the CnSC[ICRST] bit on channel configured for capture mode, otherwise a counter will be reseted on capture event.

BR, Petr

0 项奖励
回复