Preliminary
Registers
www.ti.com
20.9.2.2.22 USB1 Mode Register (USB1MODE)
The USB1 mode register (USB1MODE) supports operating the PHY in a non-OTG mode. This requires
the user to set the MGC UTMI input signal iddig. OTG interfaces have an id external pin which control
UTMI signal iddig. Since this external pin is not available, the user should set iddig to either a 0 (A-type)
or 1 (B-type). This value will be the initial setting for the Mentor controller. But, the controller will
determine whether it is operating as a host or device via its protocols. To determine the function of the
controller this information can be found by reading the Mentor Controller DEVCTL register (0x80) bit 2.
The loopback bit enables the loopback test. This test allows MGC1 to be connected to MGC0. It is
important to set both loopback bits in both USB0/1 Mode registers. The USB0 MGC UTMI Loopback
Register contains the various UTMI signals to be controlled and observed during loopback test.
The phy_test bit enables the phy_test mode. This test mode is intended to allow additional control of
the UTMI inputs to the PHY. Currently, these inputs are drvvbus, dppulldown, dmpulldown, and
idpullup. When phy_test is high, then the pin inputs for these signals control the inputs to the PHY
instead of the Mentor controller outputs. The phy_test mode is not active with loopback mode is active.
When phy_test is active than the PHY inputs datainh is equal to datain. And txvalidh is equal to txvalid.
The USB1 mode register is shown in
and described in
Figure 20-108. USB1 Mode Register (USB1MODE)
31
16
Reserved
R-0h
15
9
8
7
2
1
0
Reserved
iddig
Reserved
phy_test
loopback
R-0h
R/W-1h
R-0h
R/W-0h
R/W-0h
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 20-120. USB1 Mode Register (USB1MODE) Field Descriptions
Bits
Field
Value
Description
31-9
Reserved
0
Always read as 0. Writes have no effect.
8
iddig
MGC input value for iddig
0
A type
1
B type
7-2
Reserved
0
Always read as 0. Writes have no effect.
1
phy_test
PHY test
0
Normal mode
1
PHY test mode
0
loopback
Loopback test mode
0
Normal mode
1
Loopback test mode
20.9.2.2.23 USB1 Mentor Core Registers
A description of the mentor core registers is available in
. Two instantiations of the USB
core exists, USB0 and USB1. These registers reside back to back within USB0 space. The core
registers that are used by USB0 subsystem are defined within offsets 1400h-159Ch, while the core
registers that are used by USB1 subsystem are defined within offsets 1C00h–1D9Ch.
1918
Universal Serial Bus (USB)
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...