What USB driver can I use on a K64 to act as a slave device?

cancel
Showing results for 
Search instead for 
Did you mean: 

What USB driver can I use on a K64 to act as a slave device?

Jump to solution
309 Views
neilporven
Senior Contributor I

Hi everyone,

I have a K64 Kinetis MCU and I would like to use the USB features.  I would like for my custom

board to be the slave device and be able to connect it to a computer for two way communication.

Is there a driver for this and an example I can use.  I would need a baremetal example, no processor

expert, no uTasker.

Thank you,

Neil

0 Kudos
1 Solution
143 Views
mjbcswitzerland
Specialist V

Neil

In MCUXpresso you need to install the SDK for your board (drag and drop the ZIP file into the "Installed SDKs" tab).

Then click on "Import SDK examples" and chose the FRDM-K64F board.
Now select "usb_examples" and chose the example project that you want to use (eg. "usb_device_cdc_vcom")
Build and load to the board.

Regards

Mark

View solution in original post

2 Replies
143 Views
neilporven
Senior Contributor I

Quick update,

I downloaded MCUXpresso IDE and selected options for  Middleware:FatFS lwIP USB stack.  

I never used MCUXpresso IDE, so if there is an example for what I am trying to do, can

someone share?

Thanks,

Neil

0 Kudos
144 Views
mjbcswitzerland
Specialist V

Neil

In MCUXpresso you need to install the SDK for your board (drag and drop the ZIP file into the "Installed SDKs" tab).

Then click on "Import SDK examples" and chose the FRDM-K64F board.
Now select "usb_examples" and chose the example project that you want to use (eg. "usb_device_cdc_vcom")
Build and load to the board.

Regards

Mark

View solution in original post