Can you produce different voltage frequencies out of different channels of the same instance of the FlexTimer module ?

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

Can you produce different voltage frequencies out of different channels of the same instance of the FlexTimer module ?

1,014 次查看
barak_avigdory
Contributor I

Greetings,

       I am trying to produce two different frequencies of square waves as a PWM output, the problem is that the two devices I work with are connected to the same FTM instance via different channels.

After studying the module registers and using the debugger to inspect them directly, it seems like there is no such option (I can use more than one source clock).

Am I correct? Is there an option I haven't considered?

thanks ,

             Barak.

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

910 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Barak Avigdory,

The FTM block diagram can be found in Reference Manual.
You can see that one FTM instance share the same FTMx_MOD(Period) and FTMx_CNT.
So you can not produce different frequencies(Period) waveform out of different channels of the same instance of the FlexTimer module.

Figure 40-1. FTM block diagram.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

910 次查看
mjbcswitzerland
Specialist V

Hi

Each FlexTimer as a single period so a different mark-space value can be generated on each channel but all channels share the same period (and thus frequency).

Regards

Mark

0 项奖励
回复