How to use different frequencies on FTM channels of same FTM instance with S32K144 MCU

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

How to use different frequencies on FTM channels of same FTM instance with S32K144 MCU

Jump to solution
670 Views
gkunalupta
Contributor III

i am using S32K144 MCU and using FTM peripheral instance 0.

I want to generate different frequencies on FTM0_CH0 and FTM0CH1.

But what i observed, if i change frequency/period of one channel by API: Ftm_Pwm_Ip_UpdatePwmPeriodAndDuty(FTM_INSTANCE_0, channel0, 35000, 12000, TRUE );

then frequency of other channel also gets changed.

 

I get it that MOD register for all channels is same. Thus changing MOD value for changing the frequency will change the period of whole FTM instance.

 

But what if i want to have different frequencies on channels of same FTM instance.

How can i achieve that?

0 Kudos
Reply
1 Solution
651 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@gkunalupta

But what if i want to have different frequencies on channels of same FTM instance.

No, this can not be done in same FTM instance.

https://community.nxp.com/t5/S32K/How-to-generate-different-frequency-on-different-channel-of-same/t...

 

View solution in original post

0 Kudos
Reply
1 Reply
652 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@gkunalupta

But what if i want to have different frequencies on channels of same FTM instance.

No, this can not be done in same FTM instance.

https://community.nxp.com/t5/S32K/How-to-generate-different-frequency-on-different-channel-of-same/t...

 

0 Kudos
Reply