I want to use USB conection to read files from pendrive using LPCXpresso54018

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

I want to use USB conection to read files from pendrive using LPCXpresso54018

跳至解决方案
3,044 次查看
oscarniño
Contributor III

Hi

Somebody know how use USB connection on LPCXpresso54018 board to read files from pendrive? Could anybody help me?

Best Regards

Oscar Niño

标签 (1)
标记 (2)
1 解答
2,908 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Oscar Niño,Fig 1 illustrates the run result, and Fig 2 represents the hardware attaching.
On my site, the usb_host_msd_fatfs demo works well.
In the attachment, it guides the developer how to get started with the demo.

2018-11-26_11-08-18.jpgFig 1

WeChat Image_20181126111558.jpg

Fig 2


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

4 回复数
2,908 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Oscar Niño,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd like to suggest you refer to the usb_host_msd_fatfs in SDK library and you can download the SDK library via the following link.

MCUXpresso SDK|NXP
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,908 次查看
oscarniño
Contributor III

Hi Jeremyzhou

Thanks for reply. What it supposse to happen? I mean; I saw a message "host init done" but when I connect the USB device, nothing happened. What it should happen when I connect the USB pendrive? I had tried with almost all examples but nothing happened, maybe I'm doing something wrong. I attach a picture about how I'm connecting the device.

Best regards

0 项奖励
回复
2,909 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Oscar Niño,Fig 1 illustrates the run result, and Fig 2 represents the hardware attaching.
On my site, the usb_host_msd_fatfs demo works well.
In the attachment, it guides the developer how to get started with the demo.

2018-11-26_11-08-18.jpgFig 1

WeChat Image_20181126111558.jpg

Fig 2


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,908 次查看
oscarniño
Contributor III

Hi Jeremyzhou

Thank you so much, it is so clear.

Best regards

0 项奖励
回复