Texas Instruments TMS320DM357 Switch User Manual


 
Read interrupt
status register
Resume
interrupt
?
Resume routine
Yes
No
A
device or
B device
?
SESSREQ
interrupt
?
No
Vbus
error interrupt
?
Yes
Yes
A device B device
Session req
routine
routine
Vbus error
?
Host
or peripheral
PeripheralHost
?
Connect
interrupt
Connect
routine
Yes
routine
Babble
?
Yes
Babble
interrupt
EP0
Yes
Host EP0
routine
interrupt
?
No
No
No
No
Host Rx
routine
Yes
interrupt
?
Receive
Host Tx
routine
?
No
Yes
Transmit
interrupt
interrupt
?
EP0
Yes
Peripheral
EP0 routine
No
interrupt
?
Receive
No
Rx routine
Peripheral
Yes
Transmit
interrupt
?
Tx routine
Peripheral
Yes
interrupt
?
SOF
routine
Resume
Yes
interrupt
?
Disconn
Disconnect
Yes
routine
Suspend
interrupt
?
Suspend
Yes
routine
www.ti.com
USBControllerHostandPeripheralModesOperation
Figure2.InterruptServiceRoutineFlowChart
SPRUGH3November2008UniversalSerialBus(USB)Controller25
SubmitDocumentationFeedback