www.ti.com

USB Controller Host and Peripheral Modes Operation

3.1.1.5.1IDLE Mode

IDLE mode is the mode the endpoint 0 control must select at power-on or reset and is the mode to which the endpoint 0 control should return when the RX and TX modes are terminated. It is also the mode in which the SETUP phase of control transfer is handled (as outlined in Figure 6).

Figure 6. IDLE Mode Flow Chart

IDLE mode

RxPktRdy

set?

Yes

Unload FIFO

Decode command

Command has data phase

?

No

No

Return

Process command

Yes

Set

ServiceRxPktRdy

Set ServicedRxPktRdy

Set DataEnd

Data

phase = IN

?

No

State −> RX

Yes

Return

State −> TX

Return

Return

SPRUGH3–November 2008

Universal Serial Bus (USB) Controller

33

Submit Documentation Feedback

Page 33
Image 33
Texas Instruments TMS320DM357 manual Idle Mode Flow Chart