Hi Bheema Rao,
There is LPC based project for your requirement, but so far no FRDM-K64 based project yet, you might have to port the code. Please kindly refer to http://www.nxp.com/documents/software/SW3647.zip for details.
Hope that helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------