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

USB System Architecture

Low-Speed and Full-Speed Devices in a 2.0 System

Low-speed and full-speed devices may also be attached to 1.x hub ports or 2.0 HS hub ports. Figure 2-10 on page 38 illustrates the ways in which these devices may be attached to the bus.

Figure 2-10: Lowand Full-Speed Devices Attached to Ports of the Root, 1.x, and 2.0 Hubs

3&, %XV

+RVW &RQWUROOHU

/6 'HY

 

[ +XE

 

)6 'HY

 

+6 'HY

 

+XE

 

+6 'HY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

/6 'HY

 

)6 'HY

 

 

+6 'HY

 

/6 'HY

 

)6 'HY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3&, %XV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+RVW &RQWUROOHU

/6 'HY

 

[ +XE

 

)6 'HY

 

+6 'HY

 

+XE

 

+6 'HY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

/6 'HY

 

)6 'HY

 

 

+6 'HY

 

/6 'HY

 

)6 'HY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

38

Chapter 2: The Big Picture

When LS/FS devices are attached to FS hubs with no HS connection between the host and the FS hub, the devices operate just as they did in 1.x systems. However, when a LS/FS device is attached to a HS port (not a root port), split transactions are used to access the device. A split transaction sequence consists of three primary steps:

1.The host delivers a HS Start Split transaction to the high-speed hub. This transaction contains the LS/FS token packet and data if the transaction is an OUT to the device.

2.The hub performs the LS/FS transaction to the device and saves completion status (data for IN transactions or handshake results for OUT transactions). During this time the host can transfer information to other devices on the bus.

3.When the host knows that the LS/FS transaction has had time to complete, it delivers a HS Complete Split transaction to the hub to obtain the LS/FS transaction results. The transaction contains the same token packet as delivered in the Start Split transaction. The hub uses the token to match the correct transaction in the event that multiple split transactions are pending completion. The hub then returns either data (IN transaction) or a handshake (OUT transaction) to verify the results of the transaction.

Figure 2-11 illustrates a split IN transaction sequence that illustrates the three stages described previously. For details regarding split transactions see “The Structure of Split Transactions” on page 290.

Figure 2-11: Split INTransaction Sequence

+6 +RVW

 

SSPLIT

IN Token

 

CSPLIT

IN Token

 

DataX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+6

 

 

 

 

 

 

 

IN Token

 

DataX

 

ACK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

)6 /6 'HYLF

39

USB System Architecture

Example 2.0 Host Controller Support for LS/FS Devices

A 2.0 host controller can be implemented in a variety of ways to support LS and FS devices. The host controller must support lowand full-speed devices attached to any root hub port. Figure 2-12 illustrates a possible 2.0 host controller implementation that incorporates three 1.x controllers. Thus, any lowor full-speed device attached to a root port can be accessed via the 1.x controllers.

In this implementation the 2.0 host controller must monitor each port to detect the speed of the device connected to the root hub. If a LS or FS device is connected, the 2.0 host controller must then connect the port to one of the 1.x controllers.

An advantage of this type of solution is that each of the three controllers independently fetches and executes its own frame list. This makes it possible to have three concurrent accesses to LS/FS devices.

Figure 2-12: Example 2.0 Controller with Three 1.x Host Controllers Used for Lowand Full-Speed Support

+RVW &RQWUROOHU

 

[ FQW

[ FQWU [ FQWU

U

)6 'HY /6 'HY )6 'HY )6 'HY /6 'HY )6 'HY

7KUHH [ FRPSOLDQW KRVW FRQWUROOHUVZLWKLQD FRQWUROOHU

PDNH LW SRVVLEOH WR VXSSRUW VL[ /6 )6 GHYLFHV DW RQH WLPH 7KUHH RI WKHVH GHYLFHV PD\ EH DFFHVVHG FRQFXUUHQWO\

40

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