Prepare for control
read status stage
routine
End of prepare for
control read status
stage routine
Application-
specific actions
to determine
control read
action and
status result
Set CTRL.CIR_EP to
1, then set
CTRL.SET_FIFO_EN
to 1.
Want to respond
with ACK?
No
Want to respond
with stall?
Set SYSCON2.
STALL_CMD to 1.
Yes
Enable NAK interrupt by
setting SYSCON1.NAK_EN
to 1 if not already enabled.
No
Write EP_NUM register:
- EP_NUM.EP_NUM = 0
- EP_NUM.EP_DIR = 0
- EP_NUM.EP_SEL = 1
- EP_NUM.SETUP_SEL = 0
Yes
Write EP_NUM register:
- EP_NUM.EP_NUM = 0
- EP_NUM.EP_DIR = 0
- EP_NUM.EP_SEL = 0
- EP_NUM.SETUP_SEL = 0
USB Device Controller
1620
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Universal Serial Bus (USB)
Figure 29-64. Parse Command Routine (Setup Stage Control Transfer Request)