Set GPIO for FTM PWM

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

Set GPIO for FTM PWM

489 Views
aminesedki_as
Contributor I

Hi ?

I used the simple exemple in my twr-k60d100m proposed by MCUxpresso sdk to generate a PWM with the FLM but i want to use a GPIO as a Pinout not the defaut FTM pinout, can someone help me to do this.

Thank u.

Labels (1)
0 Kudos
Reply
1 Reply

435 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

The ftm_simple_pwm example in MCUxpresso KSDK_2.2.0_TWR-K60D100M select PTA10 for FTM2_CH0.(...\KSDK_2.2.0_TWR-K60D100M\boards\twrk60d100m\driver_examples\ftm\simple_pwm)

FTM2_CH0.png
PTB18 can also be used as FTM2_CH0 function.
Here you can refer:

ftm_simple_pwm.png

Best Regards,

Robin

 

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

0 Kudos
Reply