The solution for the USB test

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The solution for the USB test

Jump to solution
4,898 Views
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

Tags (2)
0 Kudos
1 Solution
2,258 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
2,258 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.

2,258 Views
george
Senior Contributor II

Dear Peter,

Thank you for your infomation.

BR

George

0 Kudos
2,259 Views
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 Kudos
2,258 Views
george
Senior Contributor II

Dear Yuri,

Thanks

0 Kudos