3.2.1.4INStatusPhase(followingSETUPPhaseorOUTDataPhase)
IN token sent
?
received
STALL
No
Yes
Yes
No
RxStall set
ReqPkt cleared
Error Count cleared
Interrupt generated
Yes
?
Data1
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
ReqPkt cleared
Error Count cleared
Interrupt generated
Yes
Implies problem
at peripheral end
of connection.
Transaction deemed
complete
Completion of either SETUP
phase or OUT data phase
No
ACK sent
RxPktRdy
set
ReqPkt cleared
Error Count cleared
Interrupt generated
ReqPkt
and StatusPkt
both set
?
Command could
not be completed
www.ti.com
USBControllerHostandPeripheralModesOperation
FortheINStatusPhaseofaControlTransaction(Figure12),thesoftwaredrivingtheUSBHostdevice
needsto:
1.SettheSTATUSPKTandREQPKTbitsofHOST_CSR0(bit6andbit5,respectively).
2.WaitwhilethecontrollersendsanINtokenandreceivesaresponsefromtheUSBperipheraldevice.
Figure12.CompletionofSETUPorOUTDataPhaseFlowChart
SPRUGH3–November2008UniversalSerialBus(USB)Controller49
SubmitDocumentationFeedback