PWM generation using any other FTM than FTM0 ON S32K144

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

PWM generation using any other FTM than FTM0 ON S32K144

964 Views
sayali_ayarkar
Contributor I

Hi,

I have used SDK example for PWM generation. In that they have used FTM 0 , channel 0 which is working perfectly fine. I have tried changing channels and pins also. Every time I am able to see PWM generation. 

But if I change FTM 0 to any other FTM(1/2/3) and define pins accordingly. It is not working after generating the code.

Is there restrictions that only FTM0 is only used for PWM generation for s32k144?

Or is there any more settings we are supposed to do for PWM generation for flex timers other than FTM0?

Please help me out here. 

Thanks.

0 Kudos
2 Replies

785 Views
razva_tilimpea
NXP Employee
NXP Employee

Hi Could you provide some details? What type of error do you have?

0 Kudos

785 Views
bjrajendra
Senior Contributor I

Dear Razvan,

We would like to know about the possibility of modulating on FTM2 & also would like to know about the significance of using SIM->FTMOPT1=SIM_FTMOPT1_FTM3_OUTSEL(0x01); & how does this help in modulation.

 

Kindly suggest to us in this regard.

Raju

0 Kudos