13.07.2015 Views

Data Acquisition

Data Acquisition

Data Acquisition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

un the hub. It is not possible to connect two bus-powered hubs together unless thedevices connected to the last hub were self-powered. If the external hub is self powered,that is mains powered, it should be able to supply 500 mA to each of the ports.10.4 <strong>Data</strong> link layerThe data link layer within the USB specification defines the USB as a master/slave, halfduplex, timed communication bus system, designed to connect close peripherals andexternal hubs. The hardware and software devices such as the host hub controllerhardware and driver, USB software driver and device drivers all contribute to the datalink layer of the USB.All these devices working together accomplish the following:• Collects data off the PCI bus via the device drivers• Processes the information or data• Verifies, determines and processes the different transfer types• Calculates and checks for errors in the packets and frames• Puts the different packets into a 1 ms frame• Checks for start of frame delimiters• Sends the packets to the physical layer• Receives packets from the physical layer Table 10.1USB data link layer block diagramA good place to start when looking at the data link layer of the USB is at the fourdifferent transfer types. The wide range of devices that the USB has to deal with requirethat there be multiple transfer types.These are:• Interrupt transfer• Isochronous transfer• Control transfers• Bulk transfersAs stated before, there are two speeds that can be used in the USB system. For the mostpart the data link layer is the same, but there are some differences. The low speed devicesdo not support bulk and isochronous transfers. The reason for this will become apparentin the following transfer descriptions.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!