English
Language : 

K60P100M100SF2RM Datasheet, PDF (1273/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 45 Universal Serial Bus OTG Controller (USBOTG)
B_IDLE
A_IDLE
B_HOST
B_SRP_INIT
B_WAIT_ACON
B_PERIPHERAL
Figure 45-92. Dual Role B Device Flow Diagram
Table 45-95. State Descriptions for the Dual Role B Device Flow
State
B_IDLE
B_SRP_INIT
B_PERIPHERAL
B_WAIT_ACON
B_HOST
Action
Response
If ID\ Interrupt.
Go to A_IDLE
A Type A cable has been plugged in and the device should now
respond as a Type A device.
If B_SESS_VLD Interrupt.
Go to B_PERIPHERAL
The A device has turned on VBUS and begins a session.
Turn on DP_HIGH
If B application wants the bus and Bus is Idle for 2 ms and the
B_SESS_END bit is set, the B device can perform an SRP.
Go to B_SRP_INIT
Pulse CHRG_VBUS
Pulse DP_HIGH 5-10
ms
If ID\ Interrupt or SRP Done (SRP must be done in less than 100
msecs.)
Go to B_IDLE
If HNP enabled and the bus is suspended and B wants the bus, the Go to B_WAIT_ACON
B device can become the host.
Turn off DP_HIGH
If A connects, an attach interrupt is received
Go to B_HOST
Turn on Host Mode
If ID\ Interrupt or B_SESS_VLD/ Interrupt
Go to B_IDLE
If the cable changes or if VBUS goes away, the host doesn't
support us.
Go to B_IDLE
If 3.125 ms expires or if a Resume occurs
Go to B_PERIPHERAL
If ID\ Interrupt or B_SESS_VLD\ Interrupt
Go to B_IDLE
If the cable changes or if VBUS goes away, the host doesn't
support us.
If B application is done or A disconnects
Go to B_PERIPHERAL
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1273