Sei sulla pagina 1di 30

June 12, 2002 2

USB On-The-Go
Electrical
USB On-The-Go
Electrical
Jerome
Jerome
Tjia
Tjia
Philips Semiconductors
Philips Semiconductors
June 12, 2002 3
Agenda
Agenda
!
!
V
V
BUS BUS
input and output spec
input and output spec
!
!
V
V
BUS BUS
threshold voltages and usage
threshold voltages and usage
!
!
SRP Electrical
SRP Electrical
!
!
Data Line Resistance Tolerances
Data Line Resistance Tolerances
!
!
OTG Transceiver
OTG Transceiver
!
!
Other Considerations
Other Considerations
June 12, 2002 4
Major V
BUS
Changes
Major V
BUS
Changes
!
!
A
A
-
-
device supplies > 8
device supplies > 8
mA
mA
(@ 4.4
(@ 4.4

5.25 V)
5.25 V)

Accurate
Accurate
overcurrent
overcurrent
detection
detection
!
!
OTG peripheral
OTG peripheral
-
-
only draws < 8
only draws < 8
mA
mA
before
before
being configured
being configured
June 12, 2002 5
V
BUS
Output Characteristics
V
BUS
Output Characteristics
!
!
Provides 4.4
Provides 4.4
-
-
5.25V @ > 8
5.25V @ > 8
mA
mA

4.75
4.75
-
-
5.25V if > 100
5.25V if > 100
mA
mA
!
!
Low
Low
-
-
voltage detection (over
voltage detection (over
-
-
current) at 4.4V
current) at 4.4V
!
!
Rise time < 100 ms
Rise time < 100 ms
!
!
When not driven:
When not driven:

Impedance 40k
Impedance 40k
-
-
100k ohm
100k ohm

and leakage < 0.2 V


and leakage < 0.2 V
!
!
Decoupling 1.0
Decoupling 1.0
-
-
6.5
6.5
uF
uF

vs
vs
standard host > 96
standard host > 96
uF
uF
V
BUS
Valid
V
BUS
+
40k-100k !
4.4-5.25V
>8mA
>4.4V
1-6.5 uF
<100ms
>4.4V
0V
June 12, 2002 6
V
BUS
Input Restrictions
V
BUS
Input Restrictions
!
!
OTG Dual
OTG Dual
-
-
role
role
unconfigured
unconfigured
current < 150
current < 150
uA
uA
!
!
OTG Peripheral
OTG Peripheral
-
-
only
only
unconfigured
unconfigured
current < 8
current < 8
mA
mA
!
!
Configured current not defined in the supplement
Configured current not defined in the supplement

Possibility of supporting more than 8


Possibility of supporting more than 8
mA
mA
!
!
Peak/transient current:
Peak/transient current:

Cause < 400 mV VBUS droop


Cause < 400 mV VBUS droop

Current edge rate < 100


Current edge rate < 100
mA
mA
/us
/us

Average current (over 1 ms) < 8


Average current (over 1 ms) < 8
mA
mA
June 12, 2002 7
Agenda
Agenda
!
!
V
V
BUS BUS
input and output spec
input and output spec
!
!
V
V
BUS BUS
threshold voltages and usage
threshold voltages and usage
!
!
SRP Electrical
SRP Electrical
!
!
Data Line Resistance Tolerances
Data Line Resistance Tolerances
!
!
OTG Transceiver
OTG Transceiver
!
!
Other Considerations
Other Considerations
June 12, 2002 8
V
BUS
Threshold Voltages
V
BUS
Threshold Voltages
!
!
Spec defines 4 V
Spec defines 4 V
BUS BUS
threshold voltages
threshold voltages

V
V
A_VBUS_VLD A_VBUS_VLD
(A VBUS Valid)
(A VBUS Valid)

V
V
A_SESS_VLD A_SESS_VLD
(A Session Valid)
(A Session Valid)

V
V
B_SESS_VLD B_SESS_VLD
(B Session Valid)
(B Session Valid)

V
V
B_SESS_END B_SESS_END
(B Session End)
(B Session End)
June 12, 2002 9
A-Device V
BUS
Thresholds
A-Device V
BUS
Thresholds
!
!
A
A
-
-
device V
device V
BUS BUS
thresholds:
thresholds:

V
V
A_VBUS_VLD A_VBUS_VLD
" "
Session
Session
-
-
in
in
-
-
progress (as detected by A
progress (as detected by A
-
-
device)
device)
" "
Acts as over
Acts as over
-
-
current condition
current condition

V
V
A_SESS_VLD A_SESS_VLD
" "
V
V
BUS BUS
pulsing SRP detection
pulsing SRP detection
" "
Session end for A
Session end for A
-
-
device
device
# # Returns to idle state Returns to idle state
June 12, 2002 10
B-Device V
BUS
Thresholds
B-Device V
BUS
Thresholds
!
!
B
B
-
-
device V
device V
BUS BUS
thresholds:
thresholds:

V
V
B_SESS_VLD B_SESS_VLD
" "
Session in progress (as detected by B
Session in progress (as detected by B
-
-
device)
device)

V
V
B_SESS_END B_SESS_END
" "
Session end
Session end
" "
(V
(V
BUS BUS
has dropped low enough to start another SRP)
has dropped low enough to start another SRP)
" "
Active low
Active low
June 12, 2002 11
V
BUS
Threshold Values
V
BUS
Threshold Values
!
!
The 4 threshold values
The 4 threshold values

V
V
A_VBUS_VLD A_VBUS_VLD
(A V
(A V
BUS BUS
Valid)
Valid)
> 4.4V
> 4.4V

V
V
B_SESS_VLD B_SESS_VLD
(B Session
(B Session
Valid) 0.8
Valid) 0.8
-
-
4.0V
4.0V

V
V
A_SESS_VLD A_SESS_VLD
(A Session
(A Session
Valid) 0.8
Valid) 0.8
-
-
2.0V
2.0V

V
V
B_SESS_END B_SESS_END
(B Session End)
(B Session End)
0.2
0.2
-
-
0.8V
0.8V
" " May be inferred through May be inferred through
timing timing
4V
4.4V
2V
0.8V
0.2V
0V
5.25V
B Session End
A Session Valid
B Session Valid
A Vbus Valid
June 12, 2002 12
Agenda
Agenda
!
!
V
V
BUS BUS
input and output spec
input and output spec
!
!
V
V
BUS BUS
threshold voltages and usage
threshold voltages and usage
!
!
SRP Electrical
SRP Electrical
!
!
Data Line Resistance Tolerances
Data Line Resistance Tolerances
!
!
OTG Transceiver
OTG Transceiver
!
!
Other Considerations
Other Considerations
June 12, 2002 13
Session Request Protocol
Session Request Protocol
!
!
To save power, A
To save power, A
-
-
device may turn off V
device may turn off V
BUS BUS
when
when
not in use
not in use
!
!
SRP by B
SRP by B
-
-
device to start a session
device to start a session

Can also be initiated by OTG peripheral


Can also be initiated by OTG peripheral
-
-
only device
only device
!
!
B
B
-
-
device initiates both protocols:
device initiates both protocols:

Data Line Pulsing; then


Data Line Pulsing; then

V
V
BUS BUS
Pulsing
Pulsing
!
!
A
A
-
-
device detects either Data Line or V
device detects either Data Line or V
BUS BUS
Pulsing protocols
Pulsing protocols

Look for both D+ and D


Look for both D+ and D
-
-
if detecting data line pulsing
if detecting data line pulsing
June 12, 2002 14
Initial Conditions
Initial Conditions
!
!
B
B
-
-
device initial conditions before SRP:
device initial conditions before SRP:

V
V
BUS < BUS <
V
V
B_SESS_END B_SESS_END
" "
Ensures that A
Ensures that A
-
-
device sees a session end (returns to idle)
device sees a session end (returns to idle)
" "
Ensures that A
Ensures that A
-
-
device sees a low to high V
device sees a low to high V
BUS BUS
transition
transition
" "
May discharge V
May discharge V
BUS BUS
actively for < 100 ms
actively for < 100 ms

D+/D
D+/D
-
-
at SE0 for > 2 ms
at SE0 for > 2 ms
" "
Ensures that A
Ensures that A
-
-
device has detected a disconnect and is
device has detected a disconnect and is
able to detect a low to high D+ transition
able to detect a low to high D+ transition
June 12, 2002 15
Data Line Pulsing Electrical
Data Line Pulsing Electrical
!
!
Use existing data line pull
Use existing data line pull
-
-
up circuit
up circuit

Including alternative pull


Including alternative pull
-
-
up means
up means
!
!
Pulse for 5 to 10 ms
Pulse for 5 to 10 ms
!
!
Pulse D
Pulse D
-
-
for LS, D+ for FS/HS/DRD
for LS, D+ for FS/HS/DRD
D+ or D-
+
1.5k!" $%
3.0-3.6V
Timer
5-10 ms
>2.7V
0V
5-10ms
Or alternative
termination
means
>2ms
June 12, 2002 16
V
BUS
Pulsing Electrical
V
BUS
Pulsing Electrical
!
!
Charge up A
Charge up A
-
-
device V
device V
BUS BUS
to > 2.1V
to > 2.1V

Charge up standard host V


Charge up standard host V
BUS BUS
to < 2.0V
to < 2.0V
" "
(higher decoupling cap)
(higher decoupling cap)
!
!
Charging time not specified but can be derived
Charging time not specified but can be derived

~22 ms
~22 ms
" "
Standard disclaimer applies here
Standard disclaimer applies here
!
!
Ensure V
Ensure V
BUS BUS
< 0.8V (session end) before pulsing
< 0.8V (session end) before pulsing
!
!
Current limited to 8
Current limited to 8
mA
mA
in charge/discharge cases
in charge/discharge cases
June 12, 2002 17
V
BUS
Pulsing (cont)
V
BUS
Pulsing (cont)
!
!
Recommended implementation
Recommended implementation

Discharge with > 656 ohm for <100 ms


Discharge with > 656 ohm for <100 ms

Charge with
Charge with
" "
voltage source > 3.0V
voltage source > 3.0V
" "
output impedance > 281 ohm
output impedance > 281 ohm
" "
For ~22 ms (disclaimed)
For ~22 ms (disclaimed)
V
BUS
+
>281!
>3.0V
Timer >656!
<100 ms
~22 ms*
>2.1V
0V
<100 ms
Data-line
pulsing
5-10ms
* Derived
(disclaimed)
June 12, 2002 18
Response Time
Response Time
!
!
How does B
How does B
-
-
device know if the SRP is
device know if the SRP is
successful?
successful?

After V
After V
BUS BUS
pulsing, it should wait for some time
pulsing, it should wait for some time

If A
If A
-
-
device does not respond, V
device does not respond, V
BUS BUS
will decay back
will decay back
to ground
to ground

If A
If A
-
-
device responds, V
device responds, V
BUS BUS
will be driven by A
will be driven by A
-
-
device
device
" "
And a bus reset is generated
And a bus reset is generated

Decision time: 5 seconds before informing user


Decision time: 5 seconds before informing user
of SRP failure
of SRP failure
June 12, 2002 19
Agenda
Agenda
!
!
V
V
BUS BUS
input and output spec
input and output spec
!
!
V
V
BUS BUS
threshold voltages and usage
threshold voltages and usage
!
!
SRP Electrical
SRP Electrical
!
!
Data Line Resistance Tolerances
Data Line Resistance Tolerances
!
!
OTG Transceiver
OTG Transceiver
!
!
Other Considerations
Other Considerations
June 12, 2002 20
Data Line Resistance
Tolerances
Data Line Resistance
Tolerances
!
!
Wider tolerance
Wider tolerance

Allows resistor on silicon without laser trimming


Allows resistor on silicon without laser trimming
!
!
Pull
Pull
-
-
down resistor
down resistor

14.25 to 24.8 k ohm (~ 27% tolerance)


14.25 to 24.8 k ohm (~ 27% tolerance)
" "
(was 15 k ohm +/
(was 15 k ohm +/
-
-
5%)
5%)
!
!
Pull
Pull
-
-
up resistor
up resistor

Switched resistors (~ 27% tolerance)


Switched resistors (~ 27% tolerance)
" "
(was 1.5 k ohm +/
(was 1.5 k ohm +/
-
-
5%)
5%)

Covered by separate ECN


Covered by separate ECN
June 12, 2002 21
Pull-up Resistor ECN
Pull-up Resistor ECN
!
!
Straight tolerance increase has issues
Straight tolerance increase has issues

Original 1.5 k ohm +/


Original 1.5 k ohm +/
-
-
5%
5%

Extend tolerance to lower value affect signal quality


Extend tolerance to lower value affect signal quality
" "
Jitter, rise/fall time matching, cross
Jitter, rise/fall time matching, cross
-
-
over voltage,
over voltage,
eye diagram
eye diagram

Extend tolerance to higher value lower idle voltage


Extend tolerance to higher value lower idle voltage
" "
May increase power consumption of transceivers
May increase power consumption of transceivers
!
!
Switched resistors
Switched resistors

Extend tolerance to lower value during idle


Extend tolerance to lower value during idle

Extend tolerance to higher value during activity


Extend tolerance to higher value during activity
(transmit, receive)
(transmit, receive)
June 12, 2002 22
Switched Resistors
Switched Resistors
!
!
Resistor values:
Resistor values:

During idle: 900 to 1575 ohm (around 27% tolerance)


During idle: 900 to 1575 ohm (around 27% tolerance)

During activity: 1425 to 3090 ohm


During activity: 1425 to 3090 ohm

D+ or D-
R
PU1
P
PU2


R
PU1
= 900! to 1.575 k!
R
PU2
= 525! to 1.515 k!
SW1
SW2
Bus State SW1 SW2
Idle Closed Closed
Receiving Closed Open
Transmitting X X
Vbus Off Open X
June 12, 2002 23
Alternative Termination
Alternative Termination
!
!
Not clearly specified in USB 1.1/2.0 spec
Not clearly specified in USB 1.1/2.0 spec
!
!
ECN clarifies/constraints:
ECN clarifies/constraints:

Pull
Pull
-
-
up voltage up to V
up voltage up to V
BUS BUS

Meet idle voltage 2.7


Meet idle voltage 2.7
-
-
3.6V when terminated with
3.6V when terminated with
original 15 k ohm +/
original 15 k ohm +/
-
-
5%
5%

Pull
Pull
-
-
up resistor can be derived:
up resistor can be derived:
" "
7.2 k to 8.7 k ohm
7.2 k to 8.7 k ohm
# # Standard disclaimer Standard disclaimer
June 12, 2002 24
V
IHZ
(Idle Voltage)
V
IHZ
(Idle Voltage)
14.25k-15.75k
1.5k+/-5%
V
TERM
=3.3+/-0.3V
V
IHZ
=2.7-3.3V (derived)
V
IHZ
=2.7-3.6V (spec)
7.2k-8.7k *
V
BUS
=4.35-5.25V
V
IHZ
=2.7-3.6V (spec)
14.25k-24.8k (ECN)
7.2k-8.7k *
V
BUS
=4.35-5.25V
V
IHZ
=2.7-4.1V
Original
Termination
Alternative
Termination
Alternative Termination
with ECN resistor
14.25k-15.75k
* derived
(disclaimed)
June 12, 2002 25
Pull-Down ECN Implication
Pull-Down ECN Implication
!
!
Higher pull
Higher pull
-
-
down resistance:
down resistance:

Increase in idle voltage level


Increase in idle voltage level
" "
Up to 4.1V with alternate termination means
Up to 4.1V with alternate termination means
!
!
Transceiver design:
Transceiver design:

To withstand 4.1V
To withstand 4.1V

No back
No back
-
-
charging through ESD/parasitic diode
charging through ESD/parasitic diode
June 12, 2002 26
Agenda
Agenda
!
!
V
V
BUS BUS
input and output spec
input and output spec
!
!
V
V
BUS BUS
threshold voltages and usage
threshold voltages and usage
!
!
SRP Electrical
SRP Electrical
!
!
Data Line Resistance Tolerances
Data Line Resistance Tolerances
!
!
OTG Transceiver
OTG Transceiver
!
!
Other Considerations
Other Considerations
June 12, 2002 27
OTG Transceiver
OTG Transceiver
!
!
Not part of the supplement
Not part of the supplement
!
!
Integrates OTG analog requirements:
Integrates OTG analog requirements:

FS/LS transceiver (HS possible too)


FS/LS transceiver (HS possible too)

Integrated pull
Integrated pull
-
-
up/down resistors and switches
up/down resistors and switches

Charge pump regulator to generate V


Charge pump regulator to generate V
BUS BUS
5V voltage
5V voltage

V
V
BUS BUS
pulsing and discharge SRP circuit
pulsing and discharge SRP circuit

V
V
BUS BUS
threshold comparators
threshold comparators

Serial Interface (minimize pin connection)


Serial Interface (minimize pin connection)

HNP status/command registers


HNP status/command registers
June 12, 2002 28
OTG Transceiver
Block Diagram
OTG Transceiver
Block Diagram
V
BUS
ID
D+
D-
USB FS/LS
Transceiver
Charge Pump
Regulator
V
BUS
Pulsing &
Detector
V
CC
Integrated
Resistors
3.3V
3.3V
USB FS/LS
Transceiver
Interfacing
Signals
HNP
Registers
Serial
Interface
June 12, 2002 29
Agenda
Agenda
!
!
V
V
BUS BUS
input and output spec
input and output spec
!
!
V
V
BUS BUS
threshold voltages and usage
threshold voltages and usage
!
!
SRP Electrical
SRP Electrical
!
!
Data Line Resistance Tolerances
Data Line Resistance Tolerances
!
!
OTG Transceiver
OTG Transceiver
!
!
Other Considerations
Other Considerations
June 12, 2002 30
Frequency Accuracy
Frequency Accuracy
!
!
Peripherals
Peripherals

FS: 12
FS: 12
Mbit
Mbit
/s +/
/s +/
-
-
2,500
2,500
ppm
ppm

LS: 1.5
LS: 1.5
Mbit
Mbit
/s +/
/s +/
-
-
15,000
15,000
ppm
ppm

May use low cost resonators


May use low cost resonators
!
!
Dual
Dual
-
-
role devices
role devices

Host (FS/HS): +/
Host (FS/HS): +/
-
-
500
500
ppm
ppm
" "
(see section 7.1.11 of USB 1.1/2.0 spec)
(see section 7.1.11 of USB 1.1/2.0 spec)

Must use crystals


Must use crystals

Potrebbero piacerti anche