![](http://datasheet.mmic.net.cn/100000/ISP1362EE-551_datasheet_3494278/ISP1362EE-551_32.png)
ISP1362_5
NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 05 — 8 May 2007
32 of 152
NXP Semiconductors
ISP1362
Single-chip USB OTG Controller
If the B-device wants to start a session, it must initiate SRP by ‘data line pulsing’ and
‘VBUS pulsing’. When the A-device detects any of these SRP events, it turns on its VBUS
(note that only the A-device is allowed to drive VBUS). The B-device assumes the role of a
peripheral, and the A-device assumes the role of a host. The A-device detects that the
B-device can support HNP by getting the OTG descriptor from the B-device. The A-device
will then enable the HNP hand-off by using SetFeature (b_hnp_enable) and then go into
the ‘suspend’ state. The B-device signals claiming the host role by de-asserting its pull-up
resistor. The A-device acknowledges by going into the peripheral state. The B-device then
assumes the role of a host and communicates with the A-device as long as it wishes.
When the B-device nishes communicating with the A-device, both the devices nally go
10.3 Session Request Protocol (SRP)
As a dual-role device, the ISP1362 can initiate and respond to SRP. The B-device initiates
SRP by data line pulsing, followed by VBUS pulsing. The A-device can detect either data
line pulsing or VBUS pulsing.
10.3.1 B-device initiating SRP
The ISP1362 can initiate SRP by performing the following steps:
1. Detect initial conditions [read ID_REG, B_SESS_END and SE0_2MS (bits 0, 2 and 9)
of the OtgStatus register].
2. Start data line pulsing [set LOC_CONN (bit 4) of the OtgControl register to logic 1].
3. Wait for 5 ms to 10 ms.
4. Stop data line pulsing [set LOC_CONN (bit 4) of the OtgControl register to logic 0].
5. Start VBUS pulsing [set CHRG_VBUS (bit 1) of the OtgControl register to logic 1].
6. Wait for 10 ms to 20 ms.
7. Stop VBUS pulsing [set CHRG_VBUS (bit 1) of the OtgControl register to logic 0].
8. Discharge VBUS for about 30 ms [by using DISCHRG_VBUS (bit 2) of the OtgControl
register], optional.
The B-device must complete both data line pulsing and VBUS pulsing within 100 ms.
10.3.2 A-device responding to SRP
The A-device must be able to respond to one of the two SRP events: data line pulsing or
VBUS pulsing. The ISP1362 allows you to choose which SRP to support and has a
mechanism to disable or enable the SRP detection. This is useful for some applications
under certain cases. For example, if the A-device battery is low, it may not want to turn on
its VBUS by detecting SRP. In this case, it may choose to disable the SRP detection
function.
When the data line SRP detection is used, the ISP1362 can detect either the DP pulsing
or the DM pulsing. This means a peripheral-only device can initiate data line pulsing SRP
through DP (full-speed) or DM (low-speed). A dual-role device will always initiate data line
pulsing SRP through DP because it is a full-speed device.
Steps to enable the SRP detection by VBUS pulsing:
– Set A_SEL_SRP (bit 9) of the OtgControl register to logic 0.