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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

428 Views
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.

Labels (1)
Tags (1)
0 Kudos
2 Replies

324 Views
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 Kudos

324 Views
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 Kudos