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

Chapter 17: 2.0 Hubs During LS/FS Transactions

Figure 17-3: Example Isochronous IN Split Transaction

 

 

)6 ,VRFKURQRXV ,1

 

 

 

 

 

+LJK 6SHHG %XV

 

 

 

uSOF

uSOF

uSOF

uSOF uSOF

uSOF

uSOF

uSOF

uSOF

 

 

$$

$

$

$

$

 

125 us

 

 

 

 

 

 

 

 

 

 

 

 

 

SS = Start Split

 

 

 

 

 

 

&6

&RPSOHWH 6SOLW

SOF

 

 

 

 

 

 

SOF

 

 

 

 

 

 

 

 

 

 

28

 

 

 

 

 

 

 

)XOO 6SHHG%XV

 

 

 

 

Example Split Transactions with Data Verification

The following examples are designed to provide additional details regarding the split transactions and add verification of data delivery. These example transactions could be targeting control, bulk, or interrupt endpoints. Because the maximum packet size for these transfers is limited to 64 bytes in the full-speed environment and 8 bytes in the low-speed environment, the data transfer can complete in 125 microseconds (64 bytes @ 12Mb/s = ~42.6 s).

293

USB System Architecture

Split OUT Sequence

Figure 17-4 on page 294 illustrates a split OUT sequence. The transaction begins with the host delivering the start split transaction at high speed. This transaction consists of three packets issued in the following sequence:

1.Start split packet

2.OUT token packet

3.DATA0 packet

The OUT token and DATA packets will be sent ultimately to the target device. The transaction translator decodes the start split packet to determine if the target device attaches to one of its ports. If so, the transaction translator stores the OUT token and data and starts the transaction to the target device. This sequence is performed in typical order: OUT token, DataX (x=0 or 1) and acknowledge handshake.

The host issues a complete split transaction to obtain completion status from the target device. The complete split packet is followed by the OUT token packet so the hub can match the buffer that contains the results of the transaction.

Figure 17-4: Example OUT Split Transaction With Data Delivery Verification

+6 +RVW

 

663/,7

287 7RNHQ

'DWD;

 

 

&63/,7

287 7RNHQ

 

$&.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6 +XE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

287 7RNHQ

'DWD;

 

 

 

 

 

 

 

 

 

$&.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

)6 /6 'HYLFH

294

Chapter 17: 2.0 Hubs During LS/FS Transactions

Split IN Sequence

Figure 17-5 on page 295 illustrates a split IN sequence. The transaction begins with the host delivering the start split transaction at high speed. This transaction consists of two packets issued in the following sequence:

1.Start split packet

2.IN token packet

The IN token packet will be sent ultimately to the target device. The transaction translator decodes the start split packet to determine if the target device attaches to one of its ports. If so, the transaction translator stores the IN token and starts the transaction to the target device. This sequence is performed in typical order: IN token, DataX (x=0 or 1), and acknowledge handshake.

The host then issues a complete split transaction to the hub to obtain the data from the target device. A single complete split is capable of transferring all of the data because the maximum packet size is 64 bytes.

Figure 17-5: Example IN Split Transaction With Data Delivery Verification

+6 +RVW

 

663/,7

,1 7RNHQ

 

&63/,7

,1 7RNHQ

 

'DWD;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6 +XE

,1 7RNHQ 'DWD; $&.

)6 /6 '

295

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