hello expert,
in the past i used K64 on KDS+processor expert. i can set PTC2 as output PWM wave.
now i use K64 on KDS+KSDK processor expert, using fsl_ftm component, (because no PWM component supportd in KSDK processor expert. ) . but i found PTC2 is not avaiable for PWM output in fsl_ftm.
please instruct me how to use KDS3.0+KSDK processor expert to output pwm on PTC2.
thanks.
解決済! 解決策の投稿を見る。
hi,
I think Earl is correct.
In addition, I made a demo code use FRDM-K64 + KSDK processor expert. see attached.
PWM output PTC2, FTM0_CH1, frequency is 10Khz. duty cycle is 50%.
this is the wave output from PC2 pin from scope:
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi,
I think Earl is correct.
In addition, I made a demo code use FRDM-K64 + KSDK processor expert. see attached.
PWM output PTC2, FTM0_CH1, frequency is 10Khz. duty cycle is 50%.
this is the wave output from PC2 pin from scope:
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Hotas,
Please try with the FTM0_CH1 instead of the FTM0_CH0, is the PTC2 pin available?
Best regards,
Earl.