Hi,
Which timer are you using?
Please check the AN11538 application note, this application note is a collection of examples and usage notes for the
SCTimer/PWM block used in NXP microcontrollers.
http://www.nxp.com/documents/application_note/AN11538.zip
I hope this helps,
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------