Hi KARTHIK A S,
1. How can I extract this code and create my own project.
Please refer to the USBUG.pdf in folder: C:\Freescale\Freescale USB Stack v4.1.1\Documentation
chapter 5.3 Developing an Application
2.Can I use this same stack for Mk66 MCU.
Actually, if you want to use the USB stack in the MK66 MCU, you can refer to the KSDK2.0 for TWR-K65f180M, please download the KSDK2.0 from this link:
http://kex.nxp.com/en/welcome
Then build an sdk, choose board as TWR-L65F150M, then build the sdk and download it.
You can find the USB sample code in folder : SDK_2.0_TWR-K65F180M\boards\twrk65f180m\usb_examples
Please use KSDK2.0 USB stack, usb stack v4.1.1doesn't support K66.
3.Also please send me the link to download stack for Ethernet of Mk66 MCU
You also can find it in the KSDK2.0, and the folder is :SDK_2.0_TWR-K65F180M\boards\twrk65f180m\demo_apps\lwip
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------