1 / 6

Communication Lines

Communication Lines. Fundamentals. Communication Lines. Generally used to connect external devices

vbachman
Download Presentation

Communication Lines

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Communication Lines Fundamentals

  2. Communication Lines • Generally used to connect external devices • USB Universal Serial Bus is an industry standard developed in the mid-1990s that defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices. It is currently developed by the USB Implementers Forum.USB was designed to standardize the connection of computer peripherals (including keyboards, pointing devices, digital cameras, printers, portable media players, disk drives and network adapters) to personal computers, both to communicate and to supply electric power. It has become commonplace on other devices, such as smartphones and video game consoles. USB has effectively replaced a variety of earlier interfaces, such as serial and parallel ports, as well as separate power chargers for portable devices. LM-18 Computer Science SSI Embedded Systems I

  3. Communication Lines (cont) • USB (cont) • For history follow this linkfor embedded systems only USB 2.0 can be interest • USB official site at this link LM-18 Computer Science SSI Embedded Systems I

  4. Communication Lines (cont) • USB (cont) • StructureUSB is asymmetrical in its topology, consisting of a host, a multitude of downstream USB ports, and multiple peripheral devices connected in a tiered-star topology. Additional USB hubs may be included in the tiers, allowing branching into a tree structure with up to five tier levels. A USB host may implement multiple host controllers and each host controller may provide one or more USB ports. Up to 127 devices, including hub devices if present, may be connected to a single host controller. USB devices are linked in series through hubs. One hub—built into the host controller—is the root hub. LM-18 Computer Science SSI Embedded Systems I

  5. Communication Lines (cont) • USB (cont) • Structure (cont)A physical USB device may consist of several logical sub-devices that are referred to as device functions. A single device may provide several functions, for example, a webcam (video device function) with a built-in microphone (audio device function). This kind of device is called a composite device. An alternative to this is compound device, in which the host assigns each logical device a distinctive address and all logical devices connect to a built-in hub that connects to the physical USB cable. USB endpoints actually reside on the connected device: the channels to the host are referred to as pipes. USB device communication is based on pipes (logical channels). A pipe is a connection from the host controller to a logical entity, found on a device, and named an endpoint. A USB device could have up to 32 endpoints (16 IN, 16 OUT). LM-18 Computer Science SSI Embedded Systems I

  6. Communication Lines (cont) • USB (cont) • Simple tutorialFollowing this link student can be found a brief easily to understand USB tutorialAt this link a bit complex tutorial • For use in embedded systems two possibility: • Interface USB via I2C or SPI chips • Use microcontrollers with integrated USB port (ATMEGA16U2-MU(R) used in Arduino Uno board for flashing interface) LM-18 Computer Science SSI Embedded Systems I

More Related