Real-time Operating Systems Lecture 27.1



Similar documents
Project 4: Pseudo USB Simulation Introduction to UNIVERSAL SERIAL BUS (USB) STANDARD

1500 bytes Universal Serial Bus Bandwidth Analysis

USB in a Nutshell. Making Sense of the USB Standard.

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

USB OTG and Embedded Host Microchip Technology Incorporated. All Rights Reserved. Slide 1

Computer Systems Structure Input/Output

USB Overview. This course serves as an introduction to USB.

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

USB / Data-Acquisition Module NOW LEAD-FREE

IEEE 1394 Card. Version 1.0

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

I2C PRESSURE MONITORING THROUGH USB PROTOCOL.

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Multiple clock domains

CAN bus board. EB018

DLP-USB232M USB SERIAL UART Interface Module

Contents. Connection Guide. What is Dante? Connections Network Set Up System Examples Copyright 2015 ROLAND CORPORATION

Serial Communications

Ways to Use USB in Embedded Systems


TTL-232R-3V3 USB to TTL Serial Converter Cable

CENTRONICS interface and Parallel Printer Port LPT

Useful USB Gadgets on Linux

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

How PCI Express Works (by Tracy V. Wilson)

Why you need to monitor serial communication?

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Creating a PCI Express Interconnect AJAY V. BHATT, TECHNOLOGY AND RESEARCH LABS, INTEL CORPORATION

XBee USB Adapter Board (#32400)

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.

Serial ATA technology

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

Process Control and Automation using Modbus Protocol

The Secrets of RS-485 Half-duplex Communication

Question: 3 When using Application Intelligence, Server Time may be defined as.

A network is a group of devices (Nodes) connected by media links. A node can be a computer, printer or any other device capable of sending and

An Analysis of Wireless Device Implementations on Universal Serial Bus

Basler. Line Scan Cameras

ALL-AIO-2321P ZERO CLIENT

Chapter 2 - The TCP/IP and OSI Networking Models

VSCOM USB PRO Series Industrial I/O Adapters

2. THE PCI EXPRESS BUS

Gigabit Ethernet and Pleora s iport Connectivity Solution

What is LOG Storm and what is it useful for?

Pen Drive to Pen Drive and Mobile Data Transfer Using ARM

INTRODUCTION TO 100BASE-T: FAST (AND FASTER) ETHERNET

Modbus and ION Technology

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Network Simulation Traffic, Paths and Impairment

MDM192 MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE. USER GUIDE Document reference :

Design and Verification of Nine port Network Router

Network Design. Yiannos Mylonas

Data Communication and Computer Network

Fondamenti su strumenti di sviluppo per microcontrollori PIC

ABB Drives. User s Manual HTL Encoder Interface FEN-31

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

DSX Master Communications

Ring Local Area Network. Ring LANs

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

ALL-ZC-2140P-DVI PCoIP Zero Client Overview

This topic lists the key mechanisms use to implement QoS in an IP network.

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

SCSI vs. Fibre Channel White Paper

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Token Ring and. Fiber Distributed Data Interface (FDDI) Networks: Token Ring and FDDI 1

NMEA 0183 INSTALLATION AND OPERATING GUIDELINES

Future Technology Devices International Ltd. Windows 98 Installation Guide

Vehicle data acquisition using CAN By Henning Olsson, OptimumG

Lesson 6: 6 EXAMPLES OF EMBEDDED SYSTEMS. Chapter-1L06: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Network Structure or Topology

AN295 USB AUDIO CLASS TUTORIAL. 1. Introduction. 2. USB, Isochronous Transfers, and the Audio Class Overview USB Operational Overview

CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

524 Computer Networks

Based on Computer Networking, 4 th Edition by Kurose and Ross

Cabling LANs and WANs

Distributed Real-Time Systems (TI-DRTS) Track 2. CAN-BUS Introduction. Version Ref. VECTOR application note & Motorola note

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

Chapter 13. PIC Family Microcontroller

Web Site: Forums: forums.parallax.com Sales: Technical:

An Introduction to MPLAB Integrated Development Environment

ADACSNET USB Control Module

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

RC2200DK Demonstration Kit User Manual

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

POS Integration. Prepared by: Binh Nguyen

Tutorial for MPLAB Starter Kit for PIC18F

Bluetooth HC-06 with serial port module Easy guide

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

MOST Training and Workshops

Transcription:

Real-time Operating Systems Lecture 27.1 14.7. Universal Serial Bus () General References http://www.usb.org. http://www.beyondlogic.org/usbnutshell/ References http://www.ftdichip.com/documents/programguides/d2xxpg34.pdf http://www.ftdichip.com/drivers/d2xx.htm http://www.ftdichip.com/documents/installguides/windows_xp_installation_guide.pdf http://www.dlpdesign.com/test.shtml http://www.ftdichip.com/projects/codeexamples.htm http://www.dlpdesign.com/drivers/d2xxpg21.pdf Sound v v Microphone Amp ADC ADC t f Voltage 0 to 5V 0 to 1023 your application FTD2XX.DLL ADC_In FTD2XX.sys OC ISR FifoWrite Windows stack Old Lab 4.1. Data-flow graph of the digital scope and spectrum analyzer. Specifications Short distance (typically less than 4 meters) 2.0 supports three speeds. High Speed - 480Mbits/s Full Speed - 12Mbits/s Low Speed - 1.5Mbits/s One host per bus (at a time) all transactions and scheduling bandwidth Token-based protocol Tiered star topology (Host-centered) Hub provides power Monitors power Switching off a drawing too much current Filter out high speed and full speed transactions 7-bit address, up to 127 s can be connected Host loads and unloads drives automatically UM245R PC

Real-time Operating Systems Lecture 27.2 Host Root Hub Hub2 Hub1 Hub3 Figure 14.31. network topology. 2 1 Figure 7.18. connectors. 1 2 3 4 Type A 3 4 Type B Pin Number Color Function 1 Red VBUS (5 V) 2 White D- 3 Green D+ 4 Black Ground Table 7.5. signals. The D+ and D- are twisted pair differential data Non Return to Zero Invert (NRZI) encoding 1 is represented by no change in level 0 is represented by a change in level String of zeros causes the NRZI data to toggle each bit time String of ones causes long periods with no transitions in the data Bit stuffing ensures transitions to which the receiver can synchronize 0 inserted after 6 consecutive 1 s 1 inserted after 6 consecutive 0 s 0 1 1 0 1 0 1 0 0 0 1 0 0 1 1 0 Data Idle NRZI Idle

Real-time Operating Systems Lecture 27.3 The architecture comprehends four basic types of data transfers: Control Transfers: Used to configure a Bulk Data Transfers: Large quantities and wide latitude in constraints. Interrupt Data Transfers: Used for timely but reliable delivery of data. Isochronous Data Transfers: Prenegotiated bandwidth Prenegotiated latency Streaming real time transfers Audio or video applications Stream pipe Unidirectional Host or Hub D+ D- +3.3V 1.5kΩ D+ Full Speed D- Device HostD+ or Hub D- +3.3V 1.5kΩ D+ Low Speed D- Device 15kΩ 15kΩ 15kΩ 15kΩ Figure 14.32. Pull-up resistors on s signal specify the speed. Each transaction consists of three packets Token Packet (header), Optional Data Packet, (information) and Status Packet (acknowledge) Token Packet Sync PID ADDR ENDP CRC5 EOP Data Packet Sync PID Data CRC16 EOP Handshake Packet Sync PID EOP Start of Frame Sync PID Frame Number CRC5 EOP Figure 14.33. packet types.

Real-time Operating Systems Lecture 27.4 functions provide a capability Printer, Thumb Drive, Scanner, Modem or your 9S12. Endpoints are sources or sinks of data (buffers within the ) Host can send data to an endpoint Device puts data in endpoint, but it is not transferred until host requests it Host Device Addr=2 EP0 In EP0 Out Function (Addr,Endpoint,Direction) EP1 In EP1 Out Device EP0 In EP0 Out Addr=3 EP1 In Function EP1 Out EP.. In EP.. Out Figure 14.34. data flow model. pipe is a logical connection between the host and endpoint(s). how much bandwidth what transfer type (Control, Bulk, Iso or Interrupt) direction of data flow maximum packet/buffer sizes Stream Pipes can be used send unformatted data. Data flows sequentially pre-defined direction, either in or out. bulk, isochronous and interrupt transfer types controlled by the host or Message Pipes have a defined format host-controlled Data is then transferred in the desired direction support control transfers.

Real-time Operating Systems Lecture 27.5 User Program Personal Computer COM driver driver Port -to-serial Converter SCI Port Embedded System SCI driver User Program User Program Personal Computer driver Port Parallel Interface Module Embedded System I/O Port User Program Figure 14.35. Modular approach to interfacing. 14.7.2. Modular interface -to-serial converters IOGear Inc. Wyse Technology D-Link Corporation http://www.iogear.com http://www.wyse.com http://www.dlink.com Computer Peripheral Sys, Inc. http://www.cpscom.com Jo-Dan International, Inc. http://www.jditech.com parallel interface module. send and receive data using parallel handshake protocols Include a -enabled interface and receiver/transmit FIFO buffers more flexible than the serial cable method, the microcontroller module can be tailored drivers can be tailored burn PID and VID numbers into EEPROM. data is unformatted does not implement high bandwidth bulk transfers does not negotiate for real-time bandwidth with isochronous data transfers. Companies that make these modules include Future Tech. Devices Inter. Ltd. http://www.ftdichip.com/ ActiveWire, Inc. http://www.activewireinc.com DLP Design, Inc. http://www.dlpdesign.com Elexol Pty Ltd. http://www.elexol.com

Real-time Operating Systems Lecture 27.6 14.7.3. Integrated interface LM3S5651 Microchip PIC18F2455 FTDI FT245BM Freescale 9S12UF32 STM32F103

Real-time Operating Systems Lecture 27.7 Similarities of and CAN Local wired network Serial Half-duplex Differential pair, voltage encoded Microcontroller hardware support (built-in I/O functions) Short distances (same box, same room) Bit stuffing Differences between and CAN CAN is distributed, is host-controller bandwidth is higher CAN can have more nodes is powered, CAN is not powered has negotiated speed, CAN is fixed speed is addressed by destination, CAN has data types

Real-time Operating Systems Lecture 27.8 typically used to connect microcontroller to PC/Mac