The solution for the USB test

cancel
Showing results for 
Search instead for 
Did you mean: 

The solution for the USB test

Jump to solution
3,383 Views
george
Senior Contributor I

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

Tags (2)
0 Kudos
1 Solution
743 Views
Yuri
NXP TechSupport
NXP TechSupport

  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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
743 Views
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.

743 Views
george
Senior Contributor I

Dear Peter,

Thank you for your infomation.

BR

George

0 Kudos
744 Views
Yuri
NXP TechSupport
NXP TechSupport

  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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
743 Views
george
Senior Contributor I

Dear Yuri,

Thanks

0 Kudos