We want to generate PWM square wave ( Freq: 8 ~ 12MHz, 50% duty) from PWM/GPIO pin.
We have FRDM-K22F (MCU: MK22FN512VLH12) boards with MQX4.1, BSP, PSP and other components configured in IAR ARM IDE.
It seems that BSP doesn't have drivers for FPM/PWM module.
We are unable to generate PWM output.
Please help.
I managed to access and write FTM/PWM registers to generate PWM signal. Issue is resolved now.
Hi,
I am glad your issue is solved. In addition you can use the following document
How to generate PWM signal using MQX
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you.