USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 144

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Simultaneous IN/OUT transfers
This test sends data from Host to Device and from Device to Host at the same time. Both
transfers consist of 5 buffers X 5 packets. The data transmitted to the Device consists of
each byte in packet equal to zero based packet number. The Device returns the data from
the Host with 1 buffer (for Stand-Alone firmware) or 2 buffers (for uClinux firmware)
delay. Delayed buffers will be filled by the Device with 100 based packet number. Other
packets should contain information transmitted from the Host.
In all of tests above (1-3) all packets with Status = 0 expected. Short Packets should
be assumed as abnormal Device behavior.
The other 3 tests are provided to test how the Device process missing frames (Host does
not send IN or/and OUT tokens to isochronous pipes). Normally the Device should be
able to process such cases, and continue working in real time when tokens from Host
appear on the USB. Note that in some cases when the Host starts to send tokens, short
packets buffer (with Status = 0x9) should be expected as normal.
4. OUT transfer (with missing frames)
This test is the similar to the OUT transfer test (1) with missing OUT tokens simulation.
OUT tokens for packets #8, #9, #10, #15, #19 are missed (i.e. not sent by the Host).
5. IN transfer (with missing frames)
This test is the similar to the OUT transfer test (2), with missing IN tokens simulation. IN
tokens for packets #7, #10, #14, #15 are missed (i.e. not received by the Host).
6. Simultaneous IN/OUT (with missing frames)
This test is similar to the Simultaneous IN/OUT transfers test (3), with missing IN tokens
simulation. IN and OUT tokens for packet #6 are missed (i.e. not sent and received by the
Host)
In all of above tests (3—6) some packets (located closely to missed frame packets) with
Status = 0x9 are expected. Short Packets can be assumed as normal Device behavior.
9.6.2.
Performing Tests.
It is important not to overlook the connection of the evaluation board with the terminal
cable in order to see the Device output. Select the test from test selecting combo box.
Submit the ‘Start Test’ button, check the results in the output window, and on the
terminal (Device output). Test results can also be saved to the log file. Please note that
the Test Suite outputs only the first 30 bytes for each packet, so the results in the output
window and the log file will be somewhat truncated. However the rest of the packet
information (in the case of test success) should be the same.
NOTE: No new test should be started while the Device is printing out test information to
the terminal. If this should occur by accident, the Device firmware should be restarted in
order to restore correct working.
M
9-16
Appendix 3:Test Suite for MCF5272 USB Protocol Stack.
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE

Related parts for USB HOST DRIVER V03