How to use a OTG as a Host mode

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

How to use a OTG as a Host mode

跳至解决方案
1,258 次查看
ko-hey
Senior Contributor II

Hi all,

I want to use OTG as a USB host I/F with i.MX6SL and have some question about it.

1.

According to P9 of the EVK schematic, USB_TYPE_A connector (J10) is using as a Host mode.

Can I use EVK's driver without any customize when I use USB_OTG2 port as a Host mode ?

2

In my understanding, I need to set a ID pin to LOW when I use a OTG port as a Host mode.

However, EVK doesn't do anything.

Do I need any HW cutomeization when I use as a Host I/F ?

Ko-hey

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
1,140 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

1. please try units tests (imx-test) (for example 045-Device-Host-Only-Test.txt):

.../test/mxc_usb_test/,  read guidelines in /DOC folder

http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.14.28-1.0.0/

2. ID pin is absent in USB_TYPE_A connector, no need to set ID pin low

For description and usage ID pin please read usb2.0 specification on usb.org

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,141 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

1. please try units tests (imx-test) (for example 045-Device-Host-Only-Test.txt):

.../test/mxc_usb_test/,  read guidelines in /DOC folder

http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.14.28-1.0.0/

2. ID pin is absent in USB_TYPE_A connector, no need to set ID pin low

For description and usage ID pin please read usb2.0 specification on usb.org

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,140 次查看
ko-hey
Senior Contributor II

Hi Igor

1.

Where can I get unit_tests ?

2.

Okey, Thanks.

Ko-hey

0 项奖励
回复
1,140 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

I believe you can find it in Demo image, probably using find

Tips For Linux - How to find files in Linux using 'find'

Best regards

igor

1,140 次查看
ko-hey
Senior Contributor II

Hi Igor

Okey, Thanks !

Ko-hey

0 项奖励
回复