The solution for the USB test

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

The solution for the USB test

ソリューションへジャンプ
5,476件の閲覧回数
george
Senior Contributor II

Dear all,

I want to verify USB-I/F for the i.MX6 original board.

Isn't the utility for a USB compliance test in somewhere?

* I use USB as a host on linux.

If there are some good ideas, please let me know.

Best Regards,

George

タグ(2)
0 件の賞賛
返信
1 解決策
2,836件の閲覧回数
Yuri
NXP Employee
NXP Employee

  Please note that there is no special software needed to generate the

test pattern. The USB controller is compliant with the EHCI specification.

The test modes are set by the PTC bits in the PORTSC register (bits 19-16).

PTC = 0x4 will force the controller to send the test packet.

  Prior to setting the test mode, the controller must be initialized in the same

way as for normal operation. If the controller is running, the driver must first

stop the asynchronous and synchronous schedules and stop the controller

(USBCMS.RS = 0).

Then the PTC bits can be set for the desired test mode.


Have a great day,
Yuri

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,836件の閲覧回数
PeterChan
NXP Employee
NXP Employee

If you are referring to the PC software tool for the USB hub/device framework testing, please refer to the page USB.org - Tools.

2,836件の閲覧回数
george
Senior Contributor II

Dear Peter,

Thank you for your infomation.

BR

George

0 件の賞賛
返信
2,837件の閲覧回数
Yuri
NXP Employee
NXP Employee

  Please note that there is no special software needed to generate the

test pattern. The USB controller is compliant with the EHCI specification.

The test modes are set by the PTC bits in the PORTSC register (bits 19-16).

PTC = 0x4 will force the controller to send the test packet.

  Prior to setting the test mode, the controller must be initialized in the same

way as for normal operation. If the controller is running, the driver must first

stop the asynchronous and synchronous schedules and stop the controller

(USBCMS.RS = 0).

Then the PTC bits can be set for the desired test mode.


Have a great day,
Yuri

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

0 件の賞賛
返信
2,836件の閲覧回数
george
Senior Contributor II

Dear Yuri,

Thanks

0 件の賞賛
返信