View Single Post
BruceL's Avatar
Posts: 305 | Thanked: 154 times | Joined on Aug 2006 @ Colorado
#275
Originally Posted by andree View Post
if you read pg 88 of this:
http://focus.ti.com/general/docs/lit...umber=sprufd4b

you'll find the TESTMODE register mentioned before..
This looks hopeful. Who knows how to set a USB register like this?

Code:
The test modes are entered by writing to the TestMode register (offset address 0x40F).
Code:
The Force Host test mode enables the user to instruct the core to operate in Host mode, regardless of
whether it is actually connected to any peripheral i.e. the state of the CID input and the LINESTATE and
HOSTDISCON signals are ignored. (While in this mode, the state of the HOSTDISCON signal can be read
from bit 7 of the DevCtl register.)
This mode, which is selected by setting bit 7 within the Testmode register, allows implementation of the
USB TEST_FORCE_ENABLE (7.1.20). It can also be used for debugging PHY problems in hardware.
While the FORCE_HOST bit remains set, the core will enter Host mode when the Session bit is set and
remain in Host mode until the Session bit is cleared even if a connected device is disconnected during the
session. The operating speed while in this mode is determined for the setting of the FORCE_HS and
FORCE_FS bits of the Testmode register in Section 1.1.4.11.
__________________
Give me immortality or give me death!
 

The Following 4 Users Say Thank You to BruceL For This Useful Post: