Is it possible to set two different features in a single FTM module?

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

Is it possible to set two different features in a single FTM module?

1,743 次查看
symplesky
Contributor II

Hello,

Is it possible to set two different features in a single FTM module, like set channel 0 as PWM and set channel 1 as IC?

 

Thank you!

0 项奖励
回复
4 回复数

1,727 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @symplesky,

It has been recently discussed here:

https://community.nxp.com/t5/S32K/Use-an-FTM-IC-device-to-set-several-channels-as-output-compare/m-p...

With SDK 4.0.x, you should be able to use PWM and IC drivers on a single FTM module.

 

Regards,

Daniel

0 项奖励
回复

649 次查看
Mudkip
Contributor I

Could you provide an update on how this would be done?

0 项奖励
回复

1,717 次查看
symplesky
Contributor II

Thank you @danielmartynek ,  my SDK version is 4.0.2 and RTD is 3.4, so what should I do?

1631193582(1).png

 

Best Regard,

Sym

0 项奖励
回复

1,703 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Sym,

The configuration tool does not allow that, but as a workaround, you can change

#define INST_FLEXTIMER_IC_1

and

#define INST_FLEXTIMER_PWM_1

to the same number that represents the number of the FTM module.

in peripherals_flexTimer_pwm_1.h and peripherals_flexTimer_ic_1.h

 

Regards,

Daniel

0 项奖励
回复