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

USB System Architecture

Overview

High-speed transfer types are the same as those used by fulland low-speed devices and include:

isochronous

interrupt

bulk

control

Although these transfers are the same as those defined by USB 1.x, in some cases the high-speed transactions have new characteristics that are designed to improve performance. Also, note that high-speed packets differ from their fullspeed cousins in the following ways:

1.The synchronization sequence at the beginning of each packet is 4 bytes in length rather than 1 byte.

2.EOP is 1 byte rather than 2 bits.

Consequently, packet overhead associated with high-speed transaction are higher.

This chapter describes the characteristics of the high-speed transfers and transactions, and describes the mechanisms used for scheduling and executing them. Since isochronous and interrupt transfers have important characteristics in common, they will be discussed in the section entitled “Periodic Transfers,” while bulk and control transfers are discussed in the section entitled “Non-Peri- odic Transfers.”

High-Speed Transaction Scheduling

All high-speed devices share bus bandwidth when the devices are attached to ports of the same controller. High-speed transactions also use the same token, data, and handshake protocol that is used with fulland low-speed transactions. Software calculates the time required to perform transactions and schedules transactions to be completed during each microframe.

242

Chapter 12: HS Transfers, Transactions, & Scheduling

Microframes

High-speed bandwidth is allocated by software on the basis of 125 s intervals called microframes. Periodic transfers are restricted to no more than 80% of the 125 s bandwidth, and control transfers are guaranteed 20% of the bandwidth. Bulk transfers have no reserved bandwidth and will be performed after all scheduled transfers and after any control transfers that software has scheduled for the current microframe.

Theoretical HS Bandwidth

The transfer rate of 480Mbits/s yields 40 times more bandwidth than full-speed transfers at 12Mbits/s. The characteristics of high-speed transfers include the following statistics:

~2.08ns bit times

60,000 bit times/ frame (7,500 bytes)

480,000 bit times/1ms macroframe (60,000 bytes), or 60MB/s

Figure 12-1 graphically shows the bandwidth differences between the theoretical bandwidth of the full-speed and HS signaling environments. Five times more data can be transferred during a much shorter 125 s period at HS than a 1ms period at full speed.

Figure 12-1: Bandwidth Difference Between Full-Speed Frame and High-Speed Microframe

.% IUDPH

 

 

 

 

6WDUW RI )UDPH 3DFNHWV

.%

2

IUDPH

6WDUW RI )UDPH 3DFNHWV

 

 

2

 

 

 

243

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