Hello,
I am new to the NXP Family. I am trying to interface a pen-drive with the LCP54628 USB0-FS.
I went through the example project, host_msd_fatfs_bm, in which the pen-drive interface is demonstrated for USB HS.
I seek help in:
1) The changes required with the example project host_msd_fatfs_bm, to make it work with USB0-FS.
2) Guidance with MCUXpresso Configuration for a new project for USB0-FS-Host mode - to interface with the pen drive.
Thanks,
解決済! 解決策の投稿を見る。
Hi
To work with USB FS host, please make sure JP10 installed to provide vbus to USB0
We don't have guide of configurate pen drive.
I ever wrote article of Using ConfigTool to create USB Project From Start. You can refer it to play your own application.
Jun Zhang
Hello ZhangJennie,
Thanks for your reply. I tried the steps mentioned by Soledad but as observed by the user, I also see "host init done" with Pen drive connected to J3 (USB0 FS) and JP9 connected towards USB FS.
However, on doing the following changes:
1) Pen Drive Connected to USB HS
2) JP 9 connected towards USB HS
3) in usb_host_config.h, make
a) #define USB_HOST_CONFIG_OHCI (0U)
b) #define USB_HOST_CONFIG_IP3516HS (1U)
I observe that the pen drive is detected and test runs successfully.
I request you to try it out on your end.
I need:
1) host_msd_fatfs_bm or host_msd_fatfs_freertos working in USB0-FS Mode
2) Tutorial / steps to configure pen drive interface through MCUXpresso Configurator.
Please suggest.
Thanks.
Hi
To work with USB FS host, please make sure JP10 installed to provide vbus to USB0
We don't have guide of configurate pen drive.
I ever wrote article of Using ConfigTool to create USB Project From Start. You can refer it to play your own application.
Jun Zhang
Thanks for the article ZhangJennie,
Any luck with running the example code in USB-FS mode?
Thanks,
Pawan
Which sample code?
Hi ZhangJennie,
host_msd_fatfs_bm or host_msd_fatfs_freertos working in USB0-FS Mode.
I had tried the above examples in usb hs mode. But need to make it work in fs mode. See the thread above..
Hi,
I have double checked. on flashing the default demo code, the control is stuck at host init done.
Can you please check at your end?
Pawan
I alreay tested.
With a correct demo board setting (as I showed in previous photo), I can see the same output as readme.pdf file shows.
If the jumper setting is not correct, it's possiable only see host init.
The demo code has no issue, please check your board jumper setting, or test it with another demo board.
Thanks
Jun Zhang
Thanks ZhangJennie,
I was missing the JP10 connection. As you said, the NXP example works perfectly, as it is.
I overlooked your suggestion, which was provided long back. Appreciate your support!
Thanks,
Pawan
Hi PawanNXP
please check soledad answer of this thread. It includes photos of board setting. Please make sure your board settings are the same.
If the problem persists, please let me know. I can get a board and test it tomorrow.
Thanks,
Jun Zhang