Hi Isaac,
Thanks a lot for your reply. As per your suggestion, I downloaded the KSDK v1.3 and can see the example you have mentioned. However, as far as I know about the Kinetis tower kits, the USB OTG is implemented with external MAX3353 IC which supports only a few milli-amperes of current on the its VBUS output, and probably the HID device does not need much current. But if I want to implement OTG such that I can connect devices such as pen-drives, dongles, etc. to the OTG host, I need more current on VBUS to support these devices. In this case, do you know about any other solution/possibility (hardware+software) provided by Freescale/NXP?
I tried to search for other ICs but it seems like MAX3353 is designed especially for interfacing with Kinetis USB OTG controller. I am not able to find any IC similar to MAX3353 giving higher current on VBUS output. In fact, I contacted Maxim and they also said that there is no other part that supports higher current on VBUS. I do have other option to implement OTG in my mind, but it is complicated. And if I want to use the Kinetis MCU USB that has USB OTG controller + on-chip USB PHY, I do not see any other solution except using MAX3353 IC, which is rather limited to devices consuming only a few milli-amperes of current.
I hope you understand my situation. Your reply would be much appreciable.
Thanks,
Kaitav