How to use a OTG as a Host mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use a OTG as a Host mode

ソリューションへジャンプ
935件の閲覧回数
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 解決策
817件の閲覧回数
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 返答(返信)
818件の閲覧回数
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 件の賞賛
817件の閲覧回数
ko-hey
Senior Contributor II

Hi Igor

1.

Where can I get unit_tests ?

2.

Okey, Thanks.

Ko-hey

0 件の賞賛
817件の閲覧回数
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

817件の閲覧回数
ko-hey
Senior Contributor II

Hi Igor

Okey, Thanks !

Ko-hey

0 件の賞賛