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

Chapter 12: HS Transfers, Transactions, & Scheduling

Table 12-2: High-Speed Interrupt Bandwidth

 

Percentage of

Max

 

Data

Frame

Maximum

Xfers/

Payload

Bandwidth/

Bandwidth

Frame

 

Transfer

 

 

 

 

 

 

 

 

 

 

 

 

1

1%

133

1.064MB/s

 

 

 

 

2

1%

131

2.096MB/s

 

 

 

 

4

1%

127

4.064MB/s

 

 

 

 

8

1%

119

7.616MB/s

 

 

 

 

16

1%

105

13.440MB/s

 

 

 

 

32

1%

86

22.016MB/s

 

 

 

 

64

2%

63

32.256MB/s

 

 

 

 

128

2%

40

40.960MB/s

 

 

 

 

256

4%

24

49.152MB/s

 

 

 

 

512

8%

13

53.248MB/s

 

 

 

 

1024

14%

6

49.152MB/s

 

 

 

 

Interrupt Transaction Errors

High-speed interrupt transactions have the same error detection and retry mechanisms that are used by lowand full-speed interrupt transactions. (See “Interrupt Transfers” on page 134.)

High-Bandwidth Transactions

Applications that require transfer rates of 8MB/s up to 24MB/s now have the opportunity to implement high-bandwidth endpoints. High-speed isochronous and interrupt endpoints both have the ability to support high-bandwidth transfers. Normal isochronous and interrupt endpoints may transfer only one data packet during a single frame, but high-bandwidth isochronous and interrupt endpoints are allowed to accept up to three transactions per frame.

249

USB System Architecture

Detecting High-Bandwidth Endpoints and Packet Size

New bit fields within the “maximum packet size” entry of the isochronous and interrupt endpoint descriptors specify whether or not the endpoint supports high bandwidth, and if so the number of additional packets that the endpoint can support during a single microframe. Table 12-3 shows the definition of the “maximum packet size” field of the endpoint descriptor. Bits 12:11 specify whether the endpoint supports high-bandwidth transfers. If these bits are zero then the device is not high-bandwidth capable. The other values (01b and 10b) define the number of additional transactions that this high-bandwidth endpoint can support during a single microframe.

Table 12-3: MaxPacketSize Entry of Endpoint Descriptor Definition

Offset

Field

Size

Value

Description

 

 

 

 

 

 

 

 

 

 

4

MaxPacket-

2

Number

Maximum packet size this endpoint is

 

Size

 

 

capable of sending or receiving when

 

 

 

 

this configuration is selected.

 

 

 

 

Definition of bits:

 

 

 

 

Bits 10:0 Maximum packet size

 

 

 

 

Bits 12:11 Add transactions/ frame:

 

 

 

 

00

None (1 transaction/ frame)

 

 

 

 

01

1 additional transaction

 

 

 

 

10

2 additional transactions

 

 

 

 

11 reserved

 

 

 

 

Bits 15:13 Reserved (must be zero)

 

 

 

 

 

 

The MaxPacketSize field provides eleven bits for specifying the maximum packet size for this endpoint. This packet size must be multiplied by the number of transactions per microframe to determine the total bandwidth requirement of the endpoint. The specification also restricts the minimum packet size that can be reported in the MaxPacketSize field of the endpoint descriptor. However, this is intended to limit the amount of data that may be transferred during a single high-bandwidth transaction.

250

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