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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
947 次查看
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 项奖励
回复
1 解答
781 次查看
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

在原帖中查看解决方案

2 回复数
781 次查看
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 项奖励
回复
782 次查看
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