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

Chapter 12: HS Transfers, Transactions, & Scheduling

Bulk Transactions Errors

High-speed bulk transfers use the same error detection and retry policies as full-speed bulk transfers. (See “Bulk Transfers” on page 137.)

High-Speed Control Transfers

High-speed control transfers use the same packets, the same maximum packet sizes, the same error detection and recovery mechanisms. Also, high-speed control transfers use the same setup, data, and status stages as lowand full-speed devices. The information in this section focuses only on new bandwidth-related information associated with the higher transmission rate.

High-Speed Control Bandwidth

Figures 12-8, 12-9, and 12-10 illustrate the packets used during high-speed control transfers, and they summarize the overhead associated with a control transfer. Figure 12-8 details the setup stage of a control transfer. Figure 12-9 details the data stage overhead, which may consist of one or more IN or OUT transactions depending on the specific request. However, this example depicts a single data packet transfer. Finally, Figure 12-10 illustrates the status stage of a control transfer.

257

USB System Architecture

Figure 12-8: Control Transfer Overhead - Setup Stage

2YHUKHDG6HWXS 7RNHQ 3DFNHWE\WHV

 

 

 

7\SH )LHOG

 

 

&KHFN )LHOG

 

'HYLFH $GGUHVV

 

(QG3RLQW $GGU

 

&5&

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVE

PVE

OVE

 

 

PVE

 

OVE

PVE

 

OVE

PVE

PVE

 

OVE

 

 

 

E\WHV

 

 

 

 

 

 

 

$GGU

$GGU

 

(3

(3

&5&

&5&

 

E\WH PLQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,GOH 6\QF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2YHUKHDG

 

E\WHV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

' WD 3DFNHW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

&5&

 

 

 

 

 

 

7\SH )LHOG

 

 

&KHFN )LHOG

 

'DWD )LHOG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVE

PVE

OVE

 

PVE

 

OVE

PVE

PVE

OVE

 

 

 

 

E\WHV

 

 

 

 

 

 

%\WHV

 

&5& &5&

 

E\WH PLQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,GOH

6\QF

 

 

 

 

 

 

 

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2YHUKHDG$FN 3 D F N HE\WHVW

 

 

 

7\SH )LHOG

 

 

&KHFN )LHOG

 

 

 

 

 

 

 

 

 

 

OVE

PVE

OVE

 

PVE

 

 

E\WHV

 

 

 

 

 

 

E\WH PLQ

,GOH 6\QF

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6HWXS 6WDJH RYHUKHDG

E\WHV

Figure 12-9: Control Transfer Overhead - Data Stage

 

 

 

 

 

 

Overhead = 8 bytes

 

 

N

H

 

 

W

 

 

 

 

 

 

 

,1 7RNHQ 3D

F

 

 

 

 

 

 

 

7\SH )LHOG

 

 

 

&KHFN )LHOG

 

'HYLFH $GGUHVV

 

(QG3RLQW $GGU

 

&5&

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVE

PVE

OVE

PVE

 

OVE

PVE

 

OVE

PVE

PVE

 

OVE

 

 

 

E\WHV

 

 

 

 

 

 

 

$GGU

$GGU

 

(3

(3

&

&

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WH PLQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

,GOH 6\QF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Overhead = 8 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'DWD 3D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7\SH )LHOG

 

 

 

 

&KHFN )LHOG

 

'DWD )LHOG

 

 

&5&

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVE

PVE

 

 

OVE

 

PVE

OVE

%\WH

PVE

 

PVE

OVE

 

V

 

E\WHV

 

 

 

 

 

 

 

 

 

 

&5&

&5&

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WH PLQ

,GOH 6\QF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Overhead$FN 3DFNHW= 6 bytes

 

 

 

 

7\SH )LHOG

 

 

&KHFN )LHOG

 

 

Data Stage overhead

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\W

OVE

H

PVE

OVE

 

PVE

 

 

22 bytes

 

 

 

 

V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WH PLQ

 

 

 

 

 

 

 

 

 

 

 

 

,GOH

6\QF

 

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

258

Chapter 12: HS Transfers, Transactions, & Scheduling

Figure 12-10: Control Transfer Overhead - Status Stage

 

 

 

 

 

2YHUKHDG E\WH

 

V

 

 

 

 

 

 

 

 

 

 

287 7RNHQ 3DFNHW

 

 

 

 

 

 

 

 

 

 

7\SH )LHOG

 

 

&KHFN )LHOG

'HYLFH $GGUHVV

(QG3RLQW $GGU

 

&5&

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVE

PVE

OVE

PVE

OVE

PVE

OVE

PVE

PVE

OVE

 

 

 

E\W

 

 

 

 

 

$GGU

$GGU (3

(3 &5& &5&

 

H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WH PL

,GOH 6\QF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(23

2YHUKHDG

E\WH

 

V

'DWD 3 FNHW ]HUR E\

V

 

 

 

 

7\SH )LHOG

 

&KHFN )LHOG

 

&5&

 

 

OVE

PVE

OVE

PVE

PVE

OVE

E\W H V

 

 

 

 

 

&5& &5&

,GOH 6\QF

 

 

 

2YHUKHDG$FN 3DFNH W E\WH

 

V

 

 

 

 

7\SH )LHOG

 

&KHFN )LHOG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OVE

 

 

 

PVE

OVE

PVE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\W

 

 

H

 

 

V

 

E\WH PL

,GOH

6\QF

 

 

 

 

 

 

 

(23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E\WH PL Q (23

6WDWXV 6WDJH RYHUKHDG

E\WHV

&RQWURO 7UDQVIHU 2YHUKHDG

 

3DFNHW RYHUKHDG

E\WHV

 

,QWHUSDFNHW GH

 

7RWDO RYHUKHDG

E\WHV

Table 12-6 summarizes the possible bandwidth available for control transfers.

Table 12-6: High-Speed Control Bandwidth

 

Percentage of

Max

 

Data

Frame

Maximum

Xfers/

Payload

Bandwidth/

Bandwidth

Frame

 

Transfer

 

 

 

 

 

 

 

 

 

 

 

 

1

2%

43

43KB/s

 

 

 

 

2

2%

42

672KB/s

 

 

 

 

4

2%

42

1.34MB/s

 

 

 

 

8

2%

41

2.62MB/s

 

 

 

 

16

3%

39

4.99MB/s

 

 

 

 

32

3%

36

9.22MB/s

 

 

 

 

64

3%

31

15.87MB/s

 

 

 

 

259

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