FTM S32k144 indepentent PWM channel

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

FTM S32k144 indepentent PWM channel

Jump to solution
2,633 Views
lohrsistemas
Contributor IV

Dear Team,

How do I configure the module FMT1 channel 4 as a simple PWM, independent channel, 200 Hz, without using Processor Expert?
I'll have to update the duty amount on my main loop.

Does anyone have an example?

Tags (2)
0 Kudos
Reply
1 Solution
1,926 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please take a look at the attached simple example.

The duty cycle and period of a left-aligned PWM is being continuously updated from the main loop using software triggers.  

Regards,

Daniel

View solution in original post

3 Replies
1,927 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please take a look at the attached simple example.

The duty cycle and period of a left-aligned PWM is being continuously updated from the main loop using software triggers.  

Regards,

Daniel

1,926 Views
bjrajendra
Senior Contributor I

Hi Daniel,

 

I would like to know about the possibility of modulating on FTM2 & I'd raised few issues on using 

SIM->FTMOPT1=SIM_FTMOPT1_FTM3_OUTSEL(0x01); how does this help in modulation and what is its significance?

 

Similar thing I asked a question in FTM2 Output Modulation.

 

Kindly suggest to us in this regard.

 

Raju

0 Kudos
Reply
1,926 Views
lohrsistemas
Contributor IV

Hi Daniel,

Thank you very much.

0 Kudos
Reply