LPC55s69 : USB1 as host ?

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

LPC55s69 : USB1 as host ?

跳至解决方案
992 次查看
trescurieux
Contributor III

Hello again

According to the user manual, both usb0 and usb1 can be usb host.

Usb0 works fine, but i'd like to try usb1 as host (the "HS" port near the debug port)

Is there an example project using USB1 as host ? They all seem to use USB 0 (?)

On the MCUXPresso LPC55s69 board  :

* From a hw point of view , is just switching the J6 jumper to HS enough (?) Are there limitation to use USB0/1 as host/device or can i use any roles on any ports ?

* From a sw point of view, what is the correct device driver to use USB1 as host ? IP3516HS ? KHCI ?

something else ?

Thank you

Tres

0 项奖励
1 解答
968 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @trescurieux,

Is there an example project using USB1 as host? They all seem to use USB 0 (?)

If you change in the usb_host_config.h, the USB_HOST_CONFIG_OHCI to 0 and USB_HOST_CONFIG_IP3516HS to 1, you should be able to use the HS USB.

From a hw point of view , is just switching the J6 jumper to HS enough (?) Are there limitations to use USB0/1 as host/device or can i use any roles on any ports?

There isn't a limitation about the rol but additional to the J6 you need to short J11 for USB1 or J12 for USB0 to enable the host power.

From a sw point of view, what is the correct device driver to use USB1 as host? IP3516HS ? KHCI ?

I will suggest to use the IP3516HS.

Best Regards,

Alexis Andalon

在原帖中查看解决方案

0 项奖励
2 回复数
962 次查看
trescurieux
Contributor III

Thank you!

0 项奖励
969 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @trescurieux,

Is there an example project using USB1 as host? They all seem to use USB 0 (?)

If you change in the usb_host_config.h, the USB_HOST_CONFIG_OHCI to 0 and USB_HOST_CONFIG_IP3516HS to 1, you should be able to use the HS USB.

From a hw point of view , is just switching the J6 jumper to HS enough (?) Are there limitations to use USB0/1 as host/device or can i use any roles on any ports?

There isn't a limitation about the rol but additional to the J6 you need to short J11 for USB1 or J12 for USB0 to enable the host power.

From a sw point of view, what is the correct device driver to use USB1 as host? IP3516HS ? KHCI ?

I will suggest to use the IP3516HS.

Best Regards,

Alexis Andalon

0 项奖励