s32k FTM Software Output Control

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

s32k FTM Software Output Control

1,816件の閲覧回数
wqiang19
Contributor I

hello,

I want to add FTM Software Output Control in the example project "ftm_combined_pwm_s32k148", I add 

FTM_DRV_MaskOutputChannels(INST_FLEXTIMER_PWM1,0xff,true);
FTM_DRV_SetAllChnSoftwareOutputControl(INST_FLEXTIMER_PWM1,0x1,0x1,true);

but channel0 doesn't go to 1 ,why?

please help me.

wang

0 件の賞賛
返信
2 返答(返信)

1,715件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello wqiang19@126.com,

The example does not use Ch0.

So, you must have added it and I don't know the configuration of the channel.

Can you share the whole modified example?

Please see the SDK documentation:

pastedImage_2.png

pastedImage_3.png

Regards,

Daniel

0 件の賞賛
返信

1,715件の閲覧回数
wqiang19
Contributor I

hello  Daniel Martynek,

thank you very much.I have solved it.

FTM_DRV_MaskOutputChannels(INST_FLEXTIMER_PWM1,0xff,true); comment out this line all is ok.

Regards,

wang qiang

0 件の賞賛
返信