S32K144 FlexTimer(FTM)Module function consultation

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

S32K144 FlexTimer(FTM)Module function consultation

567 次查看
fanshichencao
Contributor I

I'm using the FTM module of s32k144. I have a few questions. I want to give full play to the performance of s32k144 as much as possible, so the following questions are very important to me.I hope someone who knows this knowledge can help answer them.Thank you very much!

1.I want to use channel 0 of FTM0 module to collect frequency and duty cycle at the same time. Can this function be realized? There is no response sample code for reference.

2.I want to use channel 0 of FTM0 module as PWM input signal acquisition and channel 3 as PWM output. Can this be realized? Are there any engineering examples of response for reference?

0 项奖励
回复
1 回复

545 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@fanshichencao

      for the first question,the answer is yes,you can take a look at the demos in S32 DS, i remember there is a demo shows how to use FTM module to measure PWM frequence and duty cycles.

      for the second question,the answer is no,channels under an FTM module can only be set as input or output at the same time.

BR!

     Jim,

0 项奖励
回复