English
Language : 

K60P100M100SF2RM Datasheet, PDF (1272/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
On-The-Go Operation
Table 45-94. State Descriptions for the Dual Role A Device Flow (continued)
State
A_WAIT_BCON
A_HOST
A_SUSPEND
A_PERIPHERAL
A_WAIT_VFALL
Action
After 200 msec without Attach or ID Interrupt. (This could wait
forever if desired.)
A_VBUS_VLD Interrupt and B device attaches
Enumerate Device determine OTG Support.
If A_VBUS_VLD/ Interrupt or A device is done and doesn't think he
wants to do something soon or the B device disconnects
If the A device is finished with session or if the A device wants to
allow the B device to take bus.
ID Interrupt or the B device disconnects
If ID Interrupt, or if 150 msec B disconnect timeout (This timeout
value could be longer) or if A_VBUS_VLD\ Interrupt
If HNP enabled, and B disconnects in 150 msec then B device is
becoming the host.
If A wants to start another session
If ID Interrupt or if A_VBUS_VLD interrupt
If 3 –200 msec of Bus Idle
If ID Interrupt or (A_SESS_VLD/ & b_conn/)
Response
Go to A_WAIT_FALL
Turn off DRV_VBUS
Go to A_HOST
Turn on Host Mode
Go to A_WAIT_VFALL
Turn off Host Mode
Turn off DRV_VBUS
Go to A_SUSPEND
Go to A_WAIT_BCON
Go to A_WAIT_VFALL
Turn off DRV_VBUS
Go to A_PERIPHERAL
Turn off Host Mode
Go to A_HOST
Go to A_WAIT_VFALL
Turn off DRV_VBUS.
Go to A_WAIT_BCON
Turn on Host Mode
Go to A_IDLE
45.7.2 OTG Dual Role B Device Operation
A device is considered a B device if it connected to the bus with a USB Type B cable or a
USB Type Mini B cable.
A dual role B device operates as the following flow diagram and state description table
illustrates.
1272
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.