Hi Vishal,,
Communication Device Class can make the USB emulates the UART interface well, and you can learn detail inforamtion about the Communication Device class at the www.usb.org.
KINETIS-SDK contains CDC demo for K22 and please go for download through the link as below.
Software Development Kit for Kinetis MCUs|Freescale
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------