User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 324
www.energymicro.com
15.4.6 OTG Revision 2.0 Programming Model
OTG Revision 2.0 supports the new Attach Detection Protocol (ADP). This protocol enables a local
device (an OTG device or Embedded Host) to detect when a remote device is attached or detached.
Note
ADP is not supported by the core.
In addition to ADP, OTG Revision 2.0 also supports enhanced SRP and HNP, which are described in
the following sections:
• OTG Revision 2.0 Session Request Protocol (p. 324)
• OTG Revision 2.0 Host Negotiation Protocol (p. 326)
Note
VBUS pulsing is not supported in OTG Revision 2.0 mode.
15.4.6.1 OTG Revision 2.0 Session Request Protocol
When the core is behaving as an A-device, it can power off VBUS when no session is active until the
B-device initiates a SRP. The SRP detection is handled by the core.
Figure 15.32 (p. 325) illustrates the programming steps that need to be performed by A-device’s
application (core as A-device) when B-device initiates a SRP to establish a connection.