Same FTM module used for Input capture and PWM output

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Same FTM module used for Input capture and PWM output

1,669件の閲覧回数
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,134件の閲覧回数
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 件の賞賛
返信