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

Chapter 4: USB Cable Power Distribution

Self-Powered Devices

A self-powered device must provide the 1.5Kon its D+ line, indicating that it’s a full-speed device. Note that a self-powered device can be a low-speed device, however, the author seriously doubts that any will be built.

Power During Configuration

A device’s bus interface may be powered from bus power or solely from its local supply. This impacts whether a device will be detected when it is attached and whether its descriptors can be read. The following sections describe each case.

Locally Powered Bus Interface

A self-powered device may power its function controller from its local supply. Consequently, if the device is not plugged into AC, the 1.5Kresistor on the D+ line may not have Vcc available and the devices, when attached, will not be detected by the system.

It is also possible that the pullup resistor be powered by the bus, but that the device controller be powered by the local supply. In this instance, device attachment is detectable, but attempts by the host to read the device descriptors will fail. Specifically, host generated accesses to the default endpoint will result in no response from the device. The host detects the error condition but has no idea what caused the failure.

The dotted line in Figure 4-6 on page 90, running between the local supply and the device controller electronics, illustrates the option of powering the bus interface using the local power supply.

Hybrid Powered Device

A self-powered device may use bus power for its function controller, but must limit current draw to 100ma. The dotted line illustrating the bus power lines in Figure 4-6 indicates that bus power use is optional. Obtaining power from the bus makes it possible to detect the hub’s attachment and read its descriptors. Power for the function, however, is obtained from the local supply. This is termed a “hybrid” powered device.

89

USB System Architecture

The advantage of a hybrid implementation is that it is possible to differentiate between an unpowered device and a disconnected device or connected but apparently broken device.

Figure 4-6: Self-Powered Device

8SVWUHDP %XV 3RZHU

8SVWUHDP 'DWD 3RUW

XQLW ORDG

 

/RFDO

 

3RZHU

 

6XSSO\

 

 

)XQFWLRQ &RQWUROOHU

5HJXODWRU

 

 

)XQFWLRQ

90

 

Part Two

Low- & Full-Speed

Device Operation

Part Two discusses lowand full-speed USB devices. The information for these devices is contained principally from the 1.1 USB specification, however, a few changes to lowand full-speed device operation has been made in the USB 2.0 specification. These changes are also included in Part Two. The chapters and topics included in Part Two are listed below:

Chapter 5: LS/FS Signaling Environment

Chapter 6: USB LS/FSTransferTypes,Transactions, & Scheduling

Chapter 7: Packet Definition and Format

Chapter 8: Error Recovery

Chapter 9: USB Power Conservation

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