USB On-The-Go (USB OTG) is part of the USB 2.0 specification, and allows a slave USB device (such as a mobile phone) to become the host of another USB device. You can use OTG to enable certain mobile phones to copy files from a USB mass storage device, or other devices such as cameras. USB On-The-Go includes three protocols--Session Request Protocol (SRP), Attach Detection Protocol (ADP) and Host Negotiation Protocol (HNP).
Session Request Protocol (SRP)
- Session Request Protocol (SRP) allows the USB link to remain unpowered until a device requests power. Controlling the power activity is important for devices such as a mobile phone that use a battery, because it prolongs battery life.
Attach Detection Protocol (ADP)
- Attach Detection Protocol (ADP) allows a device to check and display attachment status. When a device is detected, an A-device will look for connection and give power to the USB bus. A B-device will use Session Request Protocol (SRP).
Host Negotiation Protocol (HNP)
- Host Negotiation Protocol (HNP) allows switching of host/peripheral roles between two OTG dual-role devices. This lets a USB OTG device control data transfer scheduling, so any OTG device is able to initiate data transfer. With HNP, it doesn't matter if you connect two devices incorrectly--the proper device will switch to the slave role.
No comments:
Post a Comment