Texas Instruments TMS320DM357 Benutzerhandbuch
Completion of
IN data phase
OUT token sent
?
received
Stall
No
Yes
Yes
No
RxStall set
TxPktRdy cleared
Error Count cleared
interrupt generated
Command could
not be completed
not be completed
TxPktRdy cleared
Error Count cleared
Interrupt generated
Yes
?
No
ACK
received
Transaction
complete
No
NAK
received
?
Yes
?
NAK limit
reached
No
Yes
Error count
cleared
incremented
Error count
NAK Timeout set
Endpoint halted
Interrupt generated
?
Error
count=3
No
Error bit set
TxPktRdy cleared
Error Count cleared
interrupt generated
Yes
Implies problem
at peripheral end
of connection.
at peripheral end
of connection.
Transaction deemed
complete
TxPktRdy
and StatusPkt
both set
?
Zero−length
DATA1 packet sent
www.ti.com
USB Controller Host and Peripheral Modes Operation
Figure 13. Completion of IN Data Phase Flow Chart
SPRUGH3 – November 2008
Universal Serial Bus (USB) Controller
51