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

USB System Architecture

The interrupt transaction started on port 2 consists of an OUT, DATA, ACK sequence. The hub delivers the OUT token followed by the 8-byte data packet, and the target device returns an acknowledge handshake to the hub that is stored in the Complete-Split Buffer as the second entry.

Figure 17-11: Example Split Transaction Sequence — Step 4

+RVW &RQWUROOH U

+XE SHUIRUPV )6 ,QWU

 

 

 

 

 

 

 

 

 

 

 

 

 

62

 

 

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+XE VWDUWV ,VRFK ,1

7UDQVDFWLRQ

 

 

 

 

 

 

+X

 

 

 

WUDQVDFWLRQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1

 

 

'$7$

 

287

 

'$7$ $&.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,QWU 287 (3

/6 '

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

)6 '

H

,VRF ,1 (3

E\WHV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WHV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6

/6

)6

Host Issues Complete-Split to Fetch Isochronous IN Data

Host software knows that the hub will have started the isochronous IN transaction during microframe one and that a portion of the 1023 byte packet will have been returned to the hub’s Complete-Split Buffer. Refer to Figure 17-12.

The host performs a complete-split transaction to the hub to fetch the data from the Complete-Split Buffer. The complete-split transaction consists of the split packet and IN token packet issued from the host and the data packet returned by the hub. The IN token is used by the hub to match the appropriate entry

304

Chapter 17: 2.0 Hubs During LS/FS Transactions

within the Complete-Split Buffer. The data packet in this example contains the 162 bytes of data that were read from the isochronous endpoint during microframe one. Note that the high-speed handler must generate CRC16 for the 162 bytes of data being transferred to the host.

Figure 17-12: Example Split Transaction Sequence — Step 5

+RVW &RQWUROOHU

&6SOLW )6 ,1

'$7$

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+XE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1

 

 

'$7$

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,QWU 287 (3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,VRF ,1 (3

 

/6 '

 

 

 

 

 

 

 

 

 

)6 '

H

E\WHV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WHV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6

E\WHV /6

<

)6

Host Fetches Interrupt OUT Completion Status

Host software knows that the hub will have completed the interrupt OUT transaction during microframe one and that a handshake packet will have been returned to the hub’s Complete-Split Buffer. The host performs a complete-split transaction to the hub to obtain completion status as illustrated in Figure 17-13. In this example, the transaction has completed normally and an ACK packet is transferred to the host as the last packet of the complete-split transaction.

305

USB System Architecture

Figure 17-13: Example Split Transaction Sequence — Step 6

+RVW &RQWUROOHU

&6SOLW /6 28

$&.

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,QWHUUXSW 287 WUDQVDFWLR

 

 

+XE

 

 

 

 

 

 

 

 

LV UHWLUHG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,1

 

'$7$

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,QWU 287 (

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,VRF ,1 (3

 

E\W H V

 

 

/6 'HY

 

 

 

 

 

 

 

 

 

 

 

 

 

)6 'HY

E\WH V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6

$&. /6

)6

Host Continues to Fetch Isochronous IN Data

The maximum amount of full-speed data that can be transferred during a 125 s interval is 187.5 bytes. During each successive microframe the host issues another complete-split transaction to fetch the next 187 bytes of data from the hub until all of the data is transferred. Six microframes are required to deliver the 1023 bytes of data to the host. Figure 17-14 depicts the transfer of 187 bytes of data via the complete-split transaction during microframe three. Another 187 bytes of data can be transferred during microframes four, five, and six, leaving a smaller amount to be transferred during microframe seven.

306

Chapter 17: 2.0 Hubs During LS/FS Transactions

Figure 17-14: Example Split Transaction Sequence — Step 7

 

 

 

+RVW &RQWUROOHU

 

&6SOLW

)6 ,1

'$7$

1

 

 

 

 

 

 

 

 

 

 

+XE

 

 

 

 

 

 

2

3

,1 '$7$

,QWU 287 (3

/6 'HY

 

)6 'HY

,VRF ,1 (3

E\WHV

 

 

 

 

E\WHV

1

 

 

 

 

 

+6

2

 

 

E\WHV

 

 

/6

 

 

<

 

 

 

3

 

 

 

 

 

)6

Transaction End

The isochronous IN transaction completes on the full-speed bus during microframe six. Note that CRC is checked by the full-speed handler and in this example no error is detected. See “Isochronous IN Split Transaction Sequence” on page 316 for information regarding errors during split isochronous IN transactions.

The host schedules the final complete-split transaction to obtain the last block of data. Figure 17-15 illustrates the final complete-split transaction, with the hub returning the final 113 bytes of data.

307

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