LPC55S69 USB host doesn't work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S69 USB host doesn't work

38,593 Views
kingchen-2024
Contributor I

LPC55S69 USB host doesn't work.

SW: SDK example(usb_host_msd_fatfs_bm).

HW: LPC55S69-EVK

HW setting USB0 FS host is as below.

Jumper J6 set to  FS.

Jumper J7 closed.

Connect P5 to power.

Connect device on P10 full speed micro AB connector

 

Then  make sure the following defines in usb_host_config.h  must be set like this

#define USB_HOST_CONFIG_KHCI (0U)

#define USB_HOST_CONFIG_EHCI (0U)

#define USB_HOST_CONFIG_OHCI (1U)

#define USB_HOST_CONFIG_IP3516HS (0U)

After running SW and inserting USB flash, there is no debug debug message output.

Just display "host init done".

Let me know if any suggestion.

Labels (1)
0 Kudos
Reply
26 Replies

974 Views
ding001
Contributor I
SDK           :  SDK_2_16_000_LPCXpresso55S69,
example  :     usb_host_hid_mouse
tool           :     KEIL
 
The Jumper settings:
J6 1-2 and J7 open for high speed mode
 
like:
ding001_1-1723774831501.png

 

 
ding001_0-1723774743854.png

 

The mouse is not work:

ding001_2-1723774954931.jpeg

 

 
 
 
0 Kudos
Reply

10,445 Views
kingchen-2024
Contributor I

I checked my demo board. It can run 150MHz.

And make sure J6 2-3, J7 shut, Full speed, P5 power inserted. And I tested USB device CDC demo full speed P10, which is no problem running at 150MHz.

any suggestion?

0 Kudos
Reply

3,060 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

If you are sure your EVK MCU is 0A version, please use it in 100MHz or lower.

0A version doesn't pass full test under 150MHz. Only 1B pass it.

I know in some condition 0A can also work under 150MHz, but we can't guarantee its performance.

0 Kudos
Reply

2,621 Views
kingchen-2024
Contributor I

But I changed BOARD_BootClockPLL150M() with BOARD_BootClockPLL100M().

It is the same result. And I took the OTG cable for test.

The chip mark date is 1850.

any suggestion?

0 Kudos
Reply

2,614 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Please make sure you have external power supply and try again.

0 Kudos
Reply

2,089 Views
kingchen-2024
Contributor I

Yes, I didn't revise anything.

I took SDK V2.7 version.

It seems that I found the issue. The default SDK example (usb_host_msd_fatfs_bm) is initial MCU 150MHZ. But my LPC55S69-EVK mcu is 0A version, which should be configured 100MHz max.

I will download the old SDK and try again.

Thanks

0 Kudos
Reply