PWM issue in FRDM-K22F board with MQX4.1 with IAR IDE - urgent

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

PWM issue in FRDM-K22F board with MQX4.1 with IAR IDE - urgent

755 Views
avijitsur
Contributor I

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.

0 Kudos
Reply
3 Replies

594 Views
avijitsur
Contributor I

I managed to access and write FTM/PWM registers to generate PWM signal. Issue is resolved now.

0 Kudos
Reply

594 Views
soledad
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

594 Views
avijitsur
Contributor I

Thank you.

0 Kudos
Reply