Datasheet
Highly Integrated Full Featured Hi-Speed USB 2.0 ULPI Transceiver
Datasheet
Revision 1.0 (07-14-09) 34 SMSC USB3320
DATASHEET
5.6.1.1 USB OTG Operation
The USB3320 can detect ID grounded and ID floating to determine if an A or B cable has been
inserted. The A plug will ground the ID pin while the B plug will float the ID pin. These are the only
two valid states allowed in the OTG Protocol.
To monitor the status of the ID pin, the Link activates the IdPullup bit in the OTG Control register, waits
50mS and then reads the status of the IdGnd bit in the USB Interrupt Status register. If an A cable has
been inserted the IdGnd bit will read 0. If a B cable is inserted, the ID pin is floating and the IdGnd bit
will read 1.
The USB3320 provides an integrated weak pull-up resistor on the ID pin, R
IDW
. This resistor is present
to keep the ID pin in a known state when the IdPullup bit is disabled and the ID pin is floated. In
addition to keeping the ID pin in a known state, it enables the USB3320 to generate an interrupt to
inform the link when a cable with a resistor to ground has been attached to the ID pin. The weak pull-
up is small enough that the largest valid Rid resistor pulls the ID pin low and causes the IdGnd
comparator to go low.
After the link has detected an ID pin state change, the RID converter can be used to determine the
resistor value as described in Section 5.6.1.2.
5.6.1.2 Measuring ID Resistance to Ground
The Link can used the integrated resistance measurement capabilities to determine the value of an ID
resistance to ground. Table 5.4 lists the valid values of resistance, to ground, that the USB3320 can
detect.
Figure 5.10 USB3320 ID Resistor Detection Circuitry
IdPullup
IdGnd
V
ref
IdGnd
R
ID
=100K
R
IDW
>1M
IdFloat
ID
~
~
~
~
OTG Module
VDD33
To USB Con.
RidValue
V
ref
IdFloat
IdGnd Rise or
IdGnd Fall
IdFloatRise or
IdFloatFall
Rid ADC
IdGndDrv
en
en