Texas Instruments OMAP5912 Reference Manual page 1432

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

Advertisement

USB Device Controller
Figure 11.
Device Configuration Routine
configuration
Endpoint configuration
Fill IRQ_EN register with
appropriate value to enable
needed interrupt signals
SYSCON1.CFG_LOCK
Fill other SYSCON1
fields (NAK_EN,
SELF_PWR, SOFF_DIS,
PULLUP_EN)
End of device
configuration
140
Universal Serial Bus (USB)
SYSCON1.PULLUP_EN bit. The USB host cannot detect the device until this
bit is set.
Figure 11 and Figure 12 show flowcharts for the configuration phase.
Enter device
routine
No
Set
to 1
routine
Configured
endpoint values must
match values returned
in descriptors during
the enumeration
phase.
After a USB reset, all IRQ_EN
registers except DS_CHG are
cleared. They must be re-
enabled.
At this point, the LH must initialize all flags used
by ISR flowcharts, including:
− Set DS_MEM flag to 0x0000 (see device
state changed handler).
− Set control read and control write flags to 0.
− Set FIFO not full and double-buffer flag to 0.
The LH can keep
PULLUP_EN value set to
0 if not ready to
communicate with the
USB host.
SPRU761A

Advertisement

Table of Contents
loading

Table of Contents