4.55RegistertoEnabletheUSB2.0TestModes(TESTMODE)
Registers
www.ti.com
TheRegistertoEnabletheUSB2.0TestModes(TESTMODE)isshowninFigure70anddescribedin
Table71.
Figure70.RegistertoEnabletheUSB2.0TestModes(TESTMODE)
76543210
FORCE_HOSTFIFO_ACCESSFORCE_FSFORCE_HSTEST_PACKETTEST_KTEST_JTEST_SE0_NAK
R/W-0W-0R/W-0R/W-0R/W-0R/W-0R/W-0R/W-0
LEGEND:R/W=Read/Write;W=Writeonly;-n=valueafterreset
Table71.RegistertoEnabletheUSB2.0TestModes(TESTMODE)FieldDescriptions
BitFieldValueDescription
7FORCE_HOST0-1SetthisbittoforciblyputtheUSBcontrollerintoHostmodewhenSESSIONbitisset,
regardlessofwhetheritisconnectedtoanyperipheral.ThecontrollerremainsinHostmode
untiltheSessionbitiscleared,evenifadeviceisdisconnected.AndiftheFORCE_HOSTbut
remainsset,itwillre-enterHostmodenexttimetheSESSIONbitisset.Theoperatingspeedis
determinedusingtheFORCE_HSandFORCE_FSbits.
6FIFO_ACCESS0-1SetthisbittotransferthepacketinEP0TxFIFOtoEP0ReceiveFIFO.Itiscleared
automatically.
5FORCE_FS0-1SetthisbittoforcetheUSBcontrollerintofull-speedmodewhenitreceivesaUSBreset.
4FORCE_HS0-1SetthisbittoforcetheUSBcontrollerintohigh-speedmodewhenitreceivesaUSBreset.
3TEST_PACKET0-1SetthisbittoentertheTest_Packettestmode.Inthismode,theUSBcontrollerrepetitively
transmitsa53-bytetestpacketonthebus,theformofwhichisdefinedintheUniversalSerial
BusSpecificationRevision2.0.
Note:ThetestpackethasafixedformatandmustbeloadedintotheEndpoint0FIFObefore
thetestmodeisentered.
2TEST_K0-1SetthisbittoentertheTest_Ktestmode.Inthismode,theUSBcontrollertransmitsa
continuousKonthebus.
1TEST_J0-1SetthisbittoentertheTest_Jtestmode.Inthismode,theUSBcontrollertransmitsa
continuousJonthebus.
0TEST_SE0_NAK0-1SetthisbittoentertheTest_SE0_NAKtestmode.Inthismode,theUSBcontrollerremainsin
high-speedmode,butrespondstoanyvalidINtokenwithaNAK.
UniversalSerialBus(USB)Controller 118SPRUGH3–November2008
SubmitDocumentationFeedback