Texas Instruments OMAP5912 Reference Manual page 1448

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

Advertisement

USB Device Controller
Figure 21.
Prepare for Control Read Status Stage Routine
Prepare for control
read status stage
routine
Application-
specific actions
to determine
control read
action and
status result
Want to respond
with ACK?
No
Want to respond
with stall?
No
Enable NAK interrupt by
setting SYSCON1.NAK_EN
to 1 if not already enabled.
156
Universal Serial Bus (USB)
Write EP_NUM register:
− EP_NUM.EP_NUM = 0
Yes
− EP_NUM.EP_DIR = 0
− EP_NUM.EP_SEL = 1
− EP_NUM.SETUP_SEL = 0
Yes
Set SYSCON2.
STALL_CMD to 1.
Set CTRL.CIR_EP to
1, then set
CTRL.SET_FIFO_EN
to 1.
Write EP_NUM register:
− EP_NUM.EP_NUM = 0
− EP_NUM.EP_DIR = 0
− EP_NUM.EP_SEL = 0
− EP_NUM.SETUP_SEL = 0
End of prepare for
control read status
stage routine
SPRU761A

Advertisement

Table of Contents
loading

Table of Contents