LCP55s69-EVK USB host

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

LCP55s69-EVK USB host

765 Views
michaelanburaj
Contributor I

Hello,

I have the LCP55s69-EVK board. I tried running the SDK APP on it:

SDK_2.6.3_LPC55S69\boards\lpcxpresso55s69\usb_examples\usb_host_hid_mouse_keyboard\bm\cm33_core0

After running this Application, I get the following display on the MCUXpresso console: "host init done"

Then I connect a USB mouse using "USB 2.0 Micro USB Male to USB Female OTG Adapter" from Amazon: https://www.amazon.com/gp/product/B01C6032G0/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1 

to P10 connector on the EVK, I have installed J12 jumper and all other jumpers are defaults (as shipped).

1. USB Mouse does not seem to receive power and nothing gets displayed on the MCUXpresso console.

2. I tried Keyboard instead of mouse, same issue.

I assume the SDK software used is for USB0 interface, is that right? Could you please let me know what is missing. If you have a APP note with details that will be very helpful.

Thanks,

-Michael.

0 Kudos
3 Replies

660 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hello, Michael.

For the  LPCXpresso55S69-EVK Revisions A1 and A2.

 To use the USB0  as a host, you will need to check the following setup.

 

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)

 

To use USB1 as a host.

Jumper J6 set to  HS.

Jumper J7 open.

Connect P5 to power.

Connect device on P9 high-speed micro AB connector.

 

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 (0U)

#define USB_HOST_CONFIG_IP3516HS (1U)

evk_usb.png

To get a further reference 

LPCXpresso55S69 Development board Manual

Have a great day,
Diego

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

660 Views
michaelanburaj
Contributor I

Thank  a lot for reply back Diego, It is working now. For some reason I had thought I need to jump (close) J12. the legend on the PCB reads "USB0 Host", so that must have lead me to believe it was needed. Now after seeing it was missing on your list, I removed it and it stated working. Many thanks Diego!

-Michael.

0 Kudos

660 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hello, Michael,  

 I´m glad to help you! Indeed the J12 is not necessary. 

Please help me marking the previous answer as correct. 

Best regards, Diego. 

0 Kudos