interconnection of the USB system to the computer. The
controller could be implemented using hardware, software,
or firmware. It initiates all data transfers through the system
and communicates with the USB devices using a polled bus.
The controller, on a scheduled basis, sends out a
token packet that has the information about the USB
device address, type of data, and direction of transaction.
All USB devices on the system will receive this packet and
decode the address part of the packet. The device that is
being addressed will start the transaction; data is transferred
either from the device to the host or from the host to the
device. To be certain that the data transfer was a success,
the destination responds with a handshake packet. This is
similar to networking between two computers.
The last thing you need to set up a USB system is the
physical USB device — for example, a USB scanner. This
USB physical device includes the function or device, USB
logical device, and USB bus interface. USB physical
devices furnish additional functionality to the host. The
types of functionality provided to the host vary for each
USB device, but all USB logical devices provide the same
basic interface to the host. This is to let the host manage
all USB devices in the same manner. USB provides an
appealing solution for connecting different devices to a
computer without any difficulties. With USB, you can expand
your system’s hardware without the limits on port availability.
USB allows devices from different vendors to interoperate in
an open architecture system. The USB specifications allow
vendors or developers enough room for product versatility
without the burden of carrying obsolete interfaces.
USB’s future looks good and we are seeing many new
products with USB features. USB is here to stay — unless
something better comes along. For more information, go
to www.usb.org NV
Figure 6. USB host/device in layered form.
6XUSOXV 6DOHV RI 1HEUDVND
,QGRRU 2XWGRRU
$LU &RQGLWLRQHG 5DFN &DELQHWV
7UDQVIRUPHUV +LJK /RZ YROWDJH
FKRNHV
9DFXXP 7XEHV 2YHU LQ VWRFN
(1& &(// /2&
,QGRRU 2XWGRRU $LU &RQGLWLRQHG
5DFN &DELQHW 0DQXIDFWXUHG LQ
E\ 3URORJLF &RQWUROV
&LUFXLW %UHDNHUV )URP WR DPSV
5RFNHU 7RJJOH 3XVKEXWWRQ W\SHV
3RWHQWLRPHWHUV :LUH :RXQG DQG &DUERQ
6KDIWHG DQG 6FUHZGULYHU DGMXVW
&(!!#x87!!); ([WHUQDO 'LPHQVLRQV ´
ZLGH LQFOXGLQJ $LU &RQGLWLRQHU
(OHFWULFDO 3DQHO ´ GHHS [
´ KLJK ´ IRU IHHW ´ 7RWDO
´ IRU OLIW H\HV
.QREV RI DOO W\SHV &UDQN ´ ´ GXDO
VHWV SRLQWHU HWF
7DSH )LEHUJODVV 3RO\LPLGH 0\ODU&(!!#x8a!!);
3RO\HVWHU )LOP
1RQ 3RODUL]HG &DSDFLWRUV
&ROOLQV 5DGLR 3DUWV ³$´ DQG ³6´ /LQH
&(!!#x87!!); ,QWHUQDO (TXLSPHQW 6SDFH ´ UDFNV SLYRW
VZLQJ RXW &(!!#x83!!); ´ KLJK XS WR ´ DYDLODEOH GHSWK
&(!!#x87!!); $LU &RQGLWLRQHG ZLWK %78 0F/HDQ Y XQLW
&(!!#x87!!); +HDY\ VWHHO FRQVWUXFWLRQ ZKLWH SRZGHU FRDWHG LQ
RXW
6SOLW %HDGV ´ ´ ´ VL]HV
)LQJHUVWRFN 2YHU VW\OHV DQG VL]HV
3OHDVH YLVLW RXU ZHEVLWH ZLWK RYHU SDJHV DQG LPDJHV
ZZZ VXUSOXVVDOHV FRP
&(!!#x87!!); :HDWKHU SURRI FDELQHW LV LQVXODWHG DQG SURYLGHV
UHPRWH VHUYHU VSDFH LQ GXVW\ ZDUHKRXVHV RU RXWGRRUV
&U\VWDOV 2YHU IUHTXHQFLHV IURP
+DP 5DGLR 0DQXDOV )URP WKH ¶V WR .+] WR 0+]
WKH ¶V
&(!!#x87!!); %DUH ERQHV YHUVLRQ RQ RXU ZHEVLWH
63(&,$/ 35,&(
7HÀRQ&(!!#x8a!!); :LUH )URP JDXJH WR JDXJH
)XMLWVX 3HQ &RPSXWHUV
0RGXWHF //
6ROGHUOHVV 7HUPLQDOV
&DELQHWV 5DFNV
075 // 0$
// 6HULHV /LWH %R[ PHWHU 8VH PLGJHW ÀDQJH
ODPSV Y RU Y HDFK ´ KLJK [ ´
ZLGH ´ GLDPHWHU 0$'& ]HUR FHQWHU
HDFK
$36 1DY\ 5DGDU
2EVROHWH 3DUWV 2OG DQG ROGHU IURP WKH
GDZQ RI HOHFWURQLFV
-RQHV 6WUHHW 2PDKD 1( &(!!#x87!!); )D[ &(!!#x87!!); H PDLO JULQQHOO # VXUSOXVVDOHV FRP
9LVD 0DVWHUFDUG $PHULFDQ ([SUHVV RU 'LVFRYHU &(!!#x87!!); &DOO RU H PDLO IRU VKLSSLQJ DQG WRWDO FKDUJHV
9LVLW RXU ZHEVLWH # $OO 63(&,$/6 LQ WKLV $G RQO\ JRRG IRU GD\ DGYHUWLVLQJ F\FOH 1R H[FHSWLRQV SOHDVH ZZZ VXUSOXVVDOHV FRP &(!!#x87!!);
MAY 2004
75