Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
USB System Architecture (USB 2.0).pdf
Скачиваний:
197
Добавлен:
03.05.2015
Размер:
7.03 Mб
Скачать

USB System Architecture

Figure 11-11: Example Eye Diagram for Receiver Sensitivity Test

/HYHO

P9 'LIIHUHQWLDO

9ROWV 'LIIHUHQWLDO

P9 'LIIHUHQWLDO

/HYHO

 

8QLW ,Q

W

High-Speed Start of Packet & Synchronization Sequence

A clock is transmitted at the beginning of each packet so that the input receiver can synchronize to the incoming packet. This synchronization sequence consists of a series of K to J transitions. The duration of this sequence is 32 bit times when originated by the host or responding device. See Figure 11-12 on page 235.

234

Chapter 11: The High-Speed Signaling Environment

Figure 11-12: High-Speed Synchronization Sequence and SOP

 

+6

 

6\QF± ELWV

 

 

6( .

- .

-

. - . - .

- . .

'DWD

The synchronization sequence may be shorter than 32-bits when finally received by the device or host. This can occur as packets traverse a hub. Figure 11-13 illustrates the delay associated with detecting the beginning of a packet via the transmission envelope detector and the receiver being enabled. This can cause hub to drop up to 4 bits from the synchronization pattern when repeating packets. The topology restricts the number of hubs that can be connected in-line between the host and a device downstream. Thus, a maximum of 5 hub crossings may result in a sync pattern containing only 12 bits.

Figure 11-13: Squelch Detection Can Cause Hubs to Drop up to Four Bits from Synchronization Sequence

.

- .

- .

- .

- .

- . .

'DWD

6(

 

 

 

 

 

 

7UDQVPLVVLRQ

5HFHLYHU

 

 

 

 

HQYHORSH

HQDEOHG

 

 

 

 

GHWHFWHG

 

 

 

 

 

 

235

USB System Architecture

High-Speed End of Packet (EOP)

Every packet ends with an EOP sequence as illustrated in Figure 11-14. The EOP sequence is 8 bits long except after the Start of Frame packet. In this case only, the EOP is extended to 40 bits. The 8-bit EOP consists of an NRZI encoded bit pattern of 01111111 without bit stuffing. Receivers detect the end of packet via an intentional bit stuffing error. High-speed receivers always detect EOP when a bit stuffing error occurs, even when the bit stuffing error is not during a normal EOP.

Figure 11-14: High-Speed EOP Detection

 

 

 

 

+6 (23 ± 1RUPDOO\ %\WH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'DWD

 

,QWHQWLRQDO %LW 6WXII (UURU $IWHU (23 OLQHV

 

 

 

 

 

 

 

 

 

 

 

 

UHWXUQ WR 6( DQG

 

 

 

 

 

 

 

 

 

 

 

 

UHFHLYHU LV VTXHOFKHG

.

 

 

 

 

 

 

 

 

 

6(

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1RUPDO +6 GDWD ZLWK

 

 

 

 

 

 

 

 

 

 

 

15=, HQFRGLQJ DQG

 

 

 

15=

 

%LW VWXII HUURU

ELW VWXIILQJ

 

 

 

:LWKRXW ELW VWXIILQJ

,QGLFDWHV (23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Detection of High-Speed Device Removal

The high-speed termination resistors keep both D+ and D- pulled down when no differential signaling is occurring. When a device is disconnected, no significant difference in the line states will be detected, because the 45termination will still be present at the hub interface, thereby keeping the lines in the idle state.

The method used to detect that the high-speed device has been removed takes advantage of the missing terminations at the opposite end of the D+ and D-

236

Chapter 11: The High-Speed Signaling Environment

lines. When the device is removed, the high-speed packets continue to be transmitted from the port where the device was previously attached. When the incident wave reaches the end of the trace with no termination, a large reflection will travel back toward the hub interface, causing nearly a doubling of the original signal amplitude. This has no effect of the hub interface, because its transceiver is in the transmit mode when this amplitude doubling occurs. The hub uses this phenomenon to detect that the device is no longer attached to the port.

Hubs check for high-speed device removal at the end of each microSOF packet as illustrated in Figure 11-15.

Figure 11-15: Device Removal is Checked at End of MicroSOF Packet

 

1ms

 

 

 

 

 

125 2V

 

 

 

 

<

 

 

 

 

 

 

= microSOF Pa

 

 

c 'HWDFK

 

 

 

 

 

&KHFN

 

 

0LFUR62) 3DFNHW

 

 

6\QF

3,'

)UDPH 1XPEHU

&5&

ELW (23

 

 

 

 

 

 

The downstream facing hub ports include a disconnect receiver that watches for a differential signal significantly larger than the normal 400mv. Figure 11-16 on page 238 depicts the hub interface and the disconnect envelope detector. The receiver produces an output when the differential voltage reaches 625mv. This should occur only if the termination resistors are missing at one end of the cable due to a device having been removed.

The first bit of a high-speed EOP always forces a transition in the bit stream. No additional transitions occur until the next packet starts. EOP is a convenient mechanism to detect device removal because of predictable transition at the

237

USB System Architecture

beginning and because no further activity is expected until the next packet begins. The transition causes the incident wave, whose reflection will approximately double the voltage of the incident wave, which in turn will be detected by the disconnect envelope detector.

Figure 11-16 also illustrates that the device may be disconnected at the peripheral. This is important because of the possible propagation delay from the transmitter across the cable and back. Since the propagation delay of the cable is 26ns maximum in both directions, plus the propagation delay within the hub and connector, the receiver may not see the amplitude increase due to the additive reflection for nearly 60ns. The microSOF has an EOP that is extended to 40 bits in duration to ensure that the disconnect envelope detector will have observed the reflection by the end of EOP.

Figure 11-16: Disconnect Envelope Detector

 

 

8SVWUHDP

&DEOH

 

 

 

 

3RUW

 

 

 

 

6HJPHQW

 

 

 

 

+XE

 

'LIIHUHQWLDO 5HFHLYHU

<

 

 

'

 

 

 

 

+6 )6 /6

 

 

'

 

 

)6 /6 'UY 6HO

6HULHV $

6HULHV %

 

;PW 'DWD

 

&RQQHFWRU

&RQQHFWRU

'LIIHUHQWLDO 'ULYHU

 

 

6(2

 

 

/6 )6

 

 

2(

 

 

 

'

 

 

 

 

6LQJOH (QGHG

 

 

 

 

 

5HFHLYHUV

'

 

 

 

 

 

 

 

 

 

 

+6 ;PW 'DWD

 

 

&XUUHQW 'ULYHU

+6 &XUU (Q

 

 

+6

+6 'UY (Q

An output is produce

 

 

 

 

 

7UDQVPLVVLRQ (QYHORSH

when the differentia

voltage >625mv

'HWHFWRU

 

 

 

 

 

 

'LVFRQQHFW (QYHORSH

 

 

'HWHFWRU

 

 

 

 

 

 

 

 

15ΚΩ

 

238

 

 

 

 

 

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]