English
Language : 

K60P100M100SF2RM Datasheet, PDF (1271/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 45 Universal Serial Bus OTG Controller (USBOTG)
45.7.1 OTG Dual Role A Device Operation
A device is considered the A device because of the type of cable attached. If the USB
Type A connector or the USB Type Mini A connector is plugged into the device, he is
considered the A device.
A dual role A device operates as the following flow diagram and state description table
illustrates.
A_IDLE
B_IDLE
A_WAIT_VFALL
A_WAIT_VRISE
A_PERIPHERAL
A_WAIT_BCON
A_SUSPEND
A_HOST
Figure 45-91. Dual Role A Device Flow Diagram
Table 45-94. State Descriptions for the Dual Role A Device Flow
State
A_IDLE
A_WAIT_VRISE
Action
Response
If ID Interrupt.
Go to B_IDLE
The cable has been un-plugged or a Type B cable has been
attached. The device now acts as a Type B device.
If the A application wants to use the bus or if the B device is doing Go to A_WAIT_VRISE
an SRP as indicated by an A_SESS_VLD Interrupt or Attach or Port
Status Change Interrupt check data line for 5 –10 msec pulsing.
Turn on DRV_VBUS
If ID Interrupt or if A_VBUS_VLD is false after 100 msec
Go to A_WAIT_VFALL
The cable has been changed or the A device cannot support the
current required from the B device.
Turn off DRV_VBUS
If A_VBUS_VLD interrupt
Go to A_WAIT_BCON
Table continues on the next page...
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1271