Texas Instruments OMAP5912 Reference Manual page 1518

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

Advertisement

USB OTG Controller
Figure 48.
OTG Controller Initialization When Implementing an OTG Dual-Role Device
226
Universal Serial Bus (USB)
OTG controller initialization for
On-The-Go dual-role device
Set OTG_SYSCON_1 fields:
OTG_IDLE_EN=0
DEV_IDLE_EN=0
SOFT_RST=0
USB2_TRXMODE = user choice
USB1_TRXMODE = user choice
USB0_TRXMODE = user choice
Set OTG_SYSCON_2 fields:
OTG_EN = 1
USBx_SYNCHRO = 1
OTG_MST16 = 0
SRP_GPDATA = user choice
SRP_GPDVBUS = user choice
SRP_GPUVBUS = usr choice
A_WAIT_VRISE = user choice
B_ASE0_BRST = 4
SRP_DPW = user choice
SRP_DATA = user choice
SRP_VBUS = user choice
OTG_PADEN = 0
HMC_PADEN = 0
UHOST_EN = 1
HMC_TLLSPEED = 0
HMC_TLLATTACH = 0
HMC_MODE = user choice
Set OTG_CTRL fields:
Update OTG_CTRL[20−16] from
current OTG transceiver status.
Set OTG_IRQ_EN fields as required
Set OTG_EN = 1
End of OTG Controller Initialization for
On-The-Go dual-role device
SPRU761A

Advertisement

Table of Contents
loading

Table of Contents