Texas Instruments OMAP5912 Reference Manual page 1480

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

USB Device Controller
Figure 44.
Non-ISO TX DMA Done Interrupt Handler
Non-ISO TX DMA
done handler
Read the endpoint number
n in DMAN_STAT.
DMAn_TX_IT_SRC
register.
Set
IRQ_SRC.TXn_DONE = 1
to clear the interrupt.
EOTn = 1?
No
XSWLn = 0?
Yes
FBTn = 0?
Yes
Initiate new DMA transfer:
TXDMAn.TXn_TSC = EOTBn,
TXDMAn.TXn_EOT = 1,
TXDMAn.TXn_START = 1.
188
Universal Serial Bus (USB)
Inform the
application that
Yes
the TX DMA
transfer is
completed.
Needed for next pass
No
XSWLn = XSWLn − 1
Start new DMA transfer
of FBTn EP buffer size.
Initiate new DMA transfer:
No
TXDMAn.TXn_TSC = FBTn,
TXDMAn.TXn_EOT = 0,
TXDMAn.TXn_START = 1.
Start new DMA transfer
of EOTBn bytes
(could be null packet).
Start new DMA transfer
of 1024 EP buffer size.
Initiate new DMA transfer:
TXDMAn.TXn_TSC = 0,
TXDMAn.TXn_EOT = 0,
TXDMAn.TXn_Start = 1
Needed for next pass
FBTn = 0
End of non-ISO
TX DMA handler
SPRU761A

Advertisement

Table of Contents
loading

Table of Contents