Set GPIO for FTM PWM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Set GPIO for FTM PWM

715 次查看
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.

标签 (1)
0 项奖励
回复
1 回复

661 次查看
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 项奖励
回复