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