MIKROPROCESORY PRO VÝKONOVÉ SYSTÉMY. Serial Data Transmission (Stručný přehled) České vysoké učení technické Fakulta elektrotechnická

Size: px
Start display at page:

Download "MIKROPROCESORY PRO VÝKONOVÉ SYSTÉMY. Serial Data Transmission (Stručný přehled) České vysoké učení technické Fakulta elektrotechnická"

Transcription

1 MIKROPROCESORY PRO VÝKONOVÉ SYSTÉMY Serial Data Transmission (Stručný přehled) České vysoké učení technické Fakulta elektrotechnická Ver.1.10 J. Zděnek, 2017

2 Serial data transfer - principle Serial data transfer means transmission of one bite in particular time. Clock signal have to be synchronized between Transmitter and Receiver. Advantages of serial data transfer: Lower number of wires required. Immunity against EMI. Disadvantages of serial data transfer : Slower that parallel data transfer. Advantages of parallel data transfer : Faster than serial data transfer. Disadvantages of parallel data transfer : Greater number of wires required for data. EMI vulnerability on longer distances. A1B14MIS Mikroprocesory pro výkonové systémy 12 2

3 Serial data transfer - principle A1B14MIS Mikroprocesory pro výkonové systémy 12 3

4 Serial data transfer - principle Device 1 Device 2 Serialization Data line Paralelization A1B14MIS Mikroprocesory pro výkonové systémy 12 4

5 Serial data transfer - synchronization Various types of serial data transfer methods. There have to be clock signal between transmitter and reciever. Basic principles of serial data transfer: Asynchronous, synchronization of the transfer by Start bitu. Synchronnous, separate line for Clock signal. Synchronous, clock signal mixed with data clock signal is derived from data signal (from signal edges). A1B14MIS Mikroprocesory pro výkonové systémy 12 5

6 Serial data transfer - asynchronous Start bit Asynchronous data A1B14MIS Mikroprocesory pro výkonové systémy 12 6

7 Serial data transfer - synchronous Synchronous, separated Clk A1B14MIS Mikroprocesory pro výkonové systémy 12 7

8 Sériový přenos synchronní (hodiny v datech) Data coding have to have enough edges to code Clk Synchronous, mixed Clk A1B14MIS Mikroprocesory pro výkonové systémy 12 8

9 Serial data transfer speed Transmission speed is important for serial data transfer. Speed is derived from bit period T - time, to transmit 1 bit information. Transmission speed v is calculated in (bps bits per second) Baud [Bd] where bps = Bd * počet přenesených bitů za vteřinu A1B14MIS Mikroprocesory pro výkonové systémy 12 9

10 Serial data transfer speed Serial data T = bit period Speed v= 1/T [bps] Bits per second A1B14MIS Mikroprocesory pro výkonové systémy 12 10

11 Bit coding - NRZ A serially transmitted bit can be coded in a different way. Different coding has different immunity to interference, different sync properties (number of edges in the signal) and different complexity of implementation on both the transmiting and the receiving side. NRZ (Non Return to Zero) bit encoding It is level coding (1 = higher level, 0 = lower level) When transmitting bits of the same level, there are no edges in the signal and synchronization on the receiving side (with a larger number of the same bits) is difficult. NRZ encoding is used, for example, in a UART transmitter (see below), where each character (i.e., a short set of bits) is synchronized again with the so-called "Start bit". A1B14MIS Mikroprocesory pro výkonové systémy 12 11

12 Bit coding - NRZ A1B14MIS Mikroprocesory pro výkonové systémy 12 12

13 Bit coding - NRZI NRZI (Non Return to Zero Inverted) encodes bit level 1 edge and bit level 0 with no line state change (see next slide). This bit encoding method reduces the bandwidth transmission bandwidth requirement (compared to NRZ), but there are no edges in the signal when transmitting a sequence of zero (receiver synchronization problem). Bit stuffing / destufing is the method where the value is inverse (e.g., after 5 nulls) and at the receiver is the inverse value again taken away. This method guarantees a sufficient number of edges to synchronize the receiver even with a long sequence of transmitted data of the same level.. A1B14MIS Mikroprocesory pro výkonové systémy 12 13

14 Bit coding - NRZI A1B14MIS Mikroprocesory pro výkonové systémy 12 14

15 Bit coding Manchester Phase coding (Manchester) immune against interferrence. Rising edge is coding 1, falling edge 0. This coding produces enough edges to code clock signal. Phase coding (Manchester) has disadvantage in required higher bandwidth than NRZ. A1B14MIS Mikroprocesory pro výkonové systémy 12 15

16 Bit coding Manchester A1B14MIS Mikroprocesory pro výkonové systémy 12 16

17 Bit coding MLT3 MLT3 three level NRZI coding. Value 1 is coded as closest edge, value 0 is coded as reamining level. Used for 100Mbps Ethernet Disadvantage is more complex HW part of transmitter and reciever. A1B14MIS Mikroprocesory pro výkonové systémy 12 17

18 Bit coding MLT3 A1B14MIS Mikroprocesory pro výkonové systémy 12 18

19 Bit coding MLT3 A1B14MIS Mikroprocesory pro výkonové systémy 12 19

20 Connection topologies Point-to-Point Point to Point connection of two devices. Half Duplex only one wire for data. One device can receive and second transmit in particular time Full-Duplex separated lines for transmitting and receiving data. A1B14MIS Mikroprocesory pro výkonové systémy 12 20

21 Connection topologies Point-to-Point Half-Duplex Full-Duplex A1B14MIS Mikroprocesory pro výkonové systémy 12 21

22 Connection topologies Bus Common Bus (Bus) several devices connected to one bus. Half-Duplex only one device can transmit and others have to recive. Time sharing of bus necessary (Half-Duplex). (Bus Access) can be controlled in several ways (Master-Slave, Multi-Master). A1B14MIS Mikroprocesory pro výkonové systémy 12 22

23 Connection topologies Bus Vždy Half-Duplex..... A1B14MIS Mikroprocesory pro výkonové systémy 12 23

24 Connection topologies Star Star more devices connected to Hub or Router or Switch Hub transmits data to connected devices Connection to Hub is both Half-Duplex and Full-Duplex. Star topology uses USB or Ethernet. Star connection can be done by optical fibres. A1B14MIS Mikroprocesory pro výkonové systémy 12 24

25 Connection topologies Star Full Duplex or (Half Duplex) Hub (Router, Switch) A1B14MIS Mikroprocesory pro výkonové systémy 12 25

26 Connection topologies Loop Loop (Kruh) otuput of one device is connected to input of next device. Each device should have own receiver and own transmitter. Each device can subtract data from transmitted signal or pass them or add own data. Loop topology is used by EtherCat. A1B14MIS Mikroprocesory pro výkonové systémy 12 26

27 Connection topologies Loop A1B14MIS Mikroprocesory pro výkonové systémy 12 27

28 Common bus access Master-Slave Common Bus (Bus) - This connection method can only be used in Half- Duplex mode, when one of the devices is transmitting others can only receive. Master-Slave delegates Bus Time Sharing on Master devices. The master controls access to the bus, inviting a Slave device to transmit or transmit itself. The advantage of this organization is the good use of bus throughput (with the correct schedule of Masters). The disadvantage is the possibility of a malfunction of the master device, then no one organizes bus access and the whole system pauses. Adding of so called Weak-Master device, where this block monitors bus traffic, and when bus stops (for Master malfunction), it takes bus control (typically with limited functions). A1B14MIS Mikroprocesory pro výkonové systémy 12 28

29 Common bus access Master-Slave Master - Slave..... Master Slave 1 Slave n Weak Master A1B14MIS Mikroprocesory pro výkonové systémy 12 29

30 Common bus access Multi Master Common Bus (Bus) Half Duplex communication. Bus Access type Multi-Master takes all devices connected to bus as equal. CSMA/CD (Carrier Sense Multi Access/Collision Detection) all devices monitor bus communication, when there is no traffic they start to transmit. In case of collision all transmitting devices stops transmitting and generate random timeout. Used in CAN A1B14MIS Mikroprocesory pro výkonové systémy 12 30

31 Common bus access Multi Master Multi Master (CSMA/CD, CSMA/CR)..... Master 1 Master 2 Master n A1B14MIS Mikroprocesory pro výkonové systémy 12 31

32 Communication protocols The protocols (data formats) used for serial communication are very numerous. The individual protocols differ: Transfer rate. Structure of the transmitted data unit (Frame). Possible maximum distance between communicating devices. The way of encoding bits. Bus access method (if used by the bus). Type of transmission medium (wire, optical fiber). Resistance to interference (transmission errors). Other parameters. A1B14MIS Mikroprocesory pro výkonové systémy 12 32

33 UART Universal Asynchronous Receiver Transmitter UART (Universal Asynchronous Receiver Transmitter) - is present in almost every microcontroller that transmits and receives short data messages (typically 8 bits). These messages are called "Characters". Each character is given by Start Bit (0) and ends with a Stop Bit (1). The character may be supplemented by a parity bit sometimes with another bit distinguishing the meaning of the character (data, address). After sending a character, you can send another character or leave the line iddle. Each character is therefore synchronized to the receiving side by the Start bit. This type of transfer is called asynchronous. Between the communicating units, the baud rate is agreed by the programmer. UART uses bit encoding of the NRZ type. UART has a separate transmitter and receiver. No protocol for longer data is defined, user has to define itself. A1B14MIS Mikroprocesory pro výkonové systémy 12 33

34 UART Universal Asynchronous Receiver Transmitter UART works with voltage levels (0-5V or 0-3,3V) that are not suitable for long distance transmission. Therefore, level converters (Transmitter / Receiver) are used : RS232 - ground voltage. Transmission speed up to 250kbps, cable tens of meters for lower transmission speeds. RS422 - differential (twisted pair with termination impedances for transmission). The drive is not disconnectable (only Full-Duplex). Transmission speed up to 100Mbps, twisted impedance-terminated double-link, hundreds of meters high. RS485 - differential (twisted pair with terminating impedances for transmission). The driver is disconnectable and a common bus (Half- Duplex) can be organized. Transmission speed up to 100Mbps, twisted impedance-terminated double-link, hundreds of meters high. Current loop 4 / 20mA (ie 0/1) - very resistant to interference. Transmission rate up to 20kbps, cable hundred meters. A1B14MIS Mikroprocesory pro výkonové systémy 12 34

35 UART + RS232 A1B14MIS Mikroprocesory pro výkonové systémy 12 35

36 RS422 Differential driver (Twisted Pair) Full - Duplex A1B14MIS Mikroprocesory pro výkonové systémy 12 36

37 RS485 Switchable driver Master Slave Bus (Twisted Pair) Half - Duplex A1B14MIS Mikroprocesory pro výkonové systémy 12 37

38 SPI Serial Peripheral Interface SPI (Serial Peripheral Interface) - synchronous serial transmission with separate clocks. Master-Slave method. Master sends clocks and data, Slave is transmitting his data at the same time. The master activates Slave by setting the SS (Chip Select) signal. Full-Duplex transmission. Designed for short-distance communication (within a PCB). Transmission speed is high (max. 50Mbps). Transmission takes place by exchanging data between the shift registers in Master and Slave. Data can be 8 bits wide, some microcontrollers allow even greater data width (programmable). A1B14MIS Mikroprocesory pro výkonové systémy 12 38

39 SPI Serial to Peripheral Interface A1B14MIS Mikroprocesory pro výkonové systémy 12 39

40 SPI Serial to Peripheral Interface A1B14MIS Mikroprocesory pro výkonové systémy 12 40

41 SPI Serial to Peripheral Interface A1B14MIS Mikroprocesory pro výkonové systémy 12 41

42 I2C Inter Integrated Circuits Bus I2C - the bus is intended primarily for initial programming of integrated programmable circuits within one PCB (consumer electronics equipment, industrial equipments,...) I2C is a Master-Slave two-wire synchronous bus with the option of assigning additional master devices and passing bus control. Active Master sends clock (SCL) and data sends active device (master or slave) to SDA. Bus collectors are Open Collector type with Vcc (Pull-up Resistors) resistors. The master uses a 7-byte address. 6 addresses are reserved, so 112 devices can be addressed. The I2C bus is relatively slow: Transmission rates are 100kbps or 400kbps. Later in the standard added HS (High Speed) speed of 1.7Mbps. However, this speed requires active (half) Pull-up elements. A1B14MIS Mikroprocesory pro výkonové systémy 12 42

43 I2C Inter Integrated Circuits Bus Master-Slave Open Collector Bus Microcontroller A1B14MIS Mikroprocesory pro výkonové systémy 12 43

44 I2C Communication Protocol A1B14MIS Mikroprocesory pro výkonové systémy 12 44

45 MIKROPROCESORY PRO VÝKONOVÉ SYSTÉMY Sériový přenos informace (Stručný přehled) Konec České vysoké učení technické Fakulta elektrotechnická

Growing Together Globally Serial Communication Design In Embedded System

Growing Together Globally Serial Communication Design In Embedded System Growing Together Globally Serial Communication Design In Embedded System Contents Serial communication introduction......... 01 The advantages of serial design......... 02 RS232 interface......... 04 RS422

More information

Serial Communication. Spring, 2018 Prof. Jungkeun Park

Serial Communication. Spring, 2018 Prof. Jungkeun Park Serial Communication Spring, 2018 Prof. Jungkeun Park Serial Communication Serial communication Transfer of data over a single wire for each direction (send / receive) Process of sending data one bit at

More information

Basics of UART Communication

Basics of UART Communication Basics of UART Communication From: Circuit Basics UART stands for Universal Asynchronous Receiver/Transmitter. It s not a communication protocol like SPI and I2C, but a physical circuit in a microcontroller,

More information

Introduction to I2C & SPI. Chapter 22

Introduction to I2C & SPI. Chapter 22 Introduction to I2C & SPI Chapter 22 Issues with Asynch. Communication Protocols Asynchronous Communications Devices must agree ahead of time on a data rate The two devices must also have clocks that are

More information

or between microcontrollers)

or between microcontrollers) : Communication Interfaces in Embedded Systems (e.g., to interface with sensors and actuators or between microcontrollers) Spring 2016 : Communication Interfaces in Embedded Systems Spring (e.g., 2016

More information

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses Serial Peripheral Interface What is it? Basic SPI Capabilities Protocol Serial Peripheral Interface http://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/ SPI_single_slave.svg/350px-SPI_single_slave.svg.png

More information

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this? Introduction the Serial Communications Huang Sections 9.2, 10.2, 11.2 SCI Block User Guide SPI Block User Guide IIC Block User Guide o Parallel vs Serial Communication o Synchronous and Asynchronous Serial

More information

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications o Asynchronous Serial (SCI, RS-232) o Synchronous Serial (SPI, IIC) The MC9S12

More information

Interfacing Techniques in Embedded Systems

Interfacing Techniques in Embedded Systems Interfacing Techniques in Embedded Systems Hassan M. Bayram Training & Development Department training@uruktech.com www.uruktech.com Introduction Serial and Parallel Communication Serial Vs. Parallel Asynchronous

More information

Lecture 25 March 23, 2012 Introduction to Serial Communications

Lecture 25 March 23, 2012 Introduction to Serial Communications Lecture 25 March 23, 2012 Introduction to Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications Asynchronous Serial (e.g., SCI, RS-232) Synchronous

More information

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University School of Business Review For Exam 2 Wednesday 10/6/2004) Abdou Illia, Fall 2004 School of Business Internetworking 3 1. Name the two most known Medium Access Control Protocols found in LANs. How they

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 10: Serial buses October 2, 2014 Some material from: Brehob, Le, Ramadas, Tikhonov & Mahal 1 Announcements Special

More information

McMaster University Embedded Systems. Computer Engineering 4DS4 Lecture 6 Serial Peripherals Amin Vali Feb. 2016

McMaster University Embedded Systems. Computer Engineering 4DS4 Lecture 6 Serial Peripherals Amin Vali Feb. 2016 McMaster University Embedded Systems Computer Engineering 4DS4 Lecture 6 Serial Peripherals Amin Vali Feb. 2016 Serial Peripherals I2C Inter-IC Bus X/Y Coord. RGB data LCD config controller LCD data controller

More information

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Microcontroller It is essentially a small computer on a chip Like any computer, it has memory,

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 7 Design of Microprocessor-Based Systems Matt Smith University of Michigan Serial buses, digital design Material taken from Brehob, Dutta, Le, Ramadas, Tikhonov & Mahal 1 Timer Program //Setup Timer

More information

Serial Communications

Serial Communications April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

Data and Computer Communications

Data and Computer Communications Data and Computer Communications Chapter 16 High Speed LANs Eighth Edition by William Stallings Why High Speed LANs? speed and power of PCs has risen graphics-intensive applications and GUIs see LANs as

More information

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features of this USART interface, which is widely used for serial

More information

Communication interfaces

Communication interfaces Communication interfaces Emphasis on serial interfaces Parallel link Unit 2 Unit Serial link Unit 2 Unit Skew in parallel link Risk of missreading 2 Unbalanced link One signal line Ground Balanced link

More information

Lecture 05 Chapter 16 High Speed LANs

Lecture 05 Chapter 16 High Speed LANs NET 456 High Speed Networks Lecture 05 Chapter 16 High Speed LANs Dr. Anis Koubaa Reformatted slides from textbook Data and Computer Communications, Ninth Edition by William Stallings, 1 (c) Pearson Education

More information

SERIAL BUS COMMUNICATION PROTOCOLS USB

SERIAL BUS COMMUNICATION PROTOCOLS USB DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-20: SERIAL BUS COMMUNICATION PROTOCOLS USB 1 USB Host Applications Connecting flash memory cards, pen-like memory devices, digital camera, printer,

More information

More on IO: The Universal Serial Bus (USB)

More on IO: The Universal Serial Bus (USB) ecture 37 Computer Science 61C Spring 2017 April 21st, 2017 More on IO: The Universal Serial Bus (USB) 1 Administrivia Project 5 is: USB Programming (read from a mouse) Optional (helps you to catch up

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

Amarjeet Singh. January 30, 2012

Amarjeet Singh. January 30, 2012 Amarjeet Singh January 30, 2012 Website updated - https://sites.google.com/a/iiitd.ac.in/emsys2012/ Lecture slides, audio from last class Assignment-2 How many of you have already finished it? Final deadline

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Timers Material taken from Dreslinski, Dutta, Le, Ramadas, Smith, Tikhonov & Mahal 1 Agenda A bit on timers Project overview

More information

Chapter 10: Local Area Networks

Chapter 10: Local Area Networks Chapter 10: Local Area Networks MULTIPLE CHOICE 1. CSMA stands for: a. Client-Server Multi-Access c. Carrier Server Master Application b. Carrier Sense Multiple Access d. none of the above 2. The CD in

More information

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN? Embedded networks Characteristics Requirements Simple embedded LANs Bit banged SPI I2C LIN Ethernet Last Time CAN Bus Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols Today

More information

Serial Communications

Serial Communications 1 Serial Interfaces 2 Embedded systems often use a serial interface to communicate with other devices. Serial Communications Serial implies that it sends or receives one bit at a time. Serial Interfaces

More information

Serial Buses in Industrial and Automotive Applications

Serial Buses in Industrial and Automotive Applications Serial Buses in Industrial and Automotive Applications Presented by Neelima Chaurasia Class: #368 1 Overview As consumer electronics, computer peripherals, vehicles and industrial applications add embedded

More information

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -4 1 UNIT 4

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -4 1 UNIT 4 IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -4 1 UNIT 4 4.1. Serial data communication basics ----------- 1 4.2. UART ------------------------------------------------ 4 4.3. Serial Peripheral

More information

Part 1 Using Serial EEPROMs

Part 1 Using Serial EEPROMs Part 1 Using Serial EEPROMs copyright 1997, 1999 by Jan Axelson If you have a project that needs a modest amount of nonvolatile, read/write memory, serial EEPROM may be the answer. These tiny and inexpensive

More information

UART TO SPI SPECIFICATION

UART TO SPI SPECIFICATION UART TO SPI SPECIFICATION Author: Dinesh Annayya dinesha@opencores.org Table of Contents Preface... 3 Scope... 3 Revision History... 3 Abbreviations... 3 Introduction... 3 Architecture... 4 Baud-rate generator

More information

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses Chapter 11: Input/Output Organisation Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses Objective Familiarize with a standard I/O interface synchronous serial buses USB

More information

10- and 100-Mbps Ethernet

10- and 100-Mbps Ethernet Ethernet Basics 10-Mbps Ethernet Three 10-Mbps Ethernet standards: 10BASE5 10BASE2 10BASE-T 10BASE2 and 10BASE5 were around more than 20 years and have been replaced by newer alternatives 10BASE-T s use

More information

Product Specification

Product Specification Product Specification Features Amp ed RF, Inc. Description 15mm x 27mm The added class 1 power, +18dBm, of the BT-11, gives this module one of the best ranges in the industry. It s completely pin compatible

More information

DESIGNING OF INTER INTEGRATED CIRCUIT USING VERILOG

DESIGNING OF INTER INTEGRATED CIRCUIT USING VERILOG DESIGNING OF INTER INTEGRATED CIRCUIT USING VERILOG DISHA MALIK Masters of Technology Scholar, Department of Electronics & Communication Engineering, Jayoti Vidyapeeth Women s University, Jaipur INDIA

More information

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Serial Interfaces Part 1 ECE 153B Sensor & Peripheral Interface Design Serial Interfaces Simple Serial Interfaces RS-232C (UART) Provides for point to point communications, primarily Among the simplest

More information

Raspberry Pi - I/O Interfaces

Raspberry Pi - I/O Interfaces ECE 1160/2160 Embedded Systems Design Raspberry Pi - I/O Interfaces Wei Gao ECE 1160/2160 Embedded Systems Design 1 I/O Interfaces Parallel I/O and Serial I/O Parallel I/O: multiple input/output simultaneously

More information

ELE492 Embedded System Design

ELE492 Embedded System Design Overview ELE9 Embedded System Design Examples of Human I/O Interfaces Types of System Interfaces Use of standards RS Serial Communication Overview of SPI, I C, L, and CAN Class //0 Eugene Chabot Examples

More information

Universität Dortmund. IO and Peripheral Interfaces

Universität Dortmund. IO and Peripheral Interfaces IO and Peripheral Interfaces Microcontroller System Architecture Each MCU (micro-controller unit) is characterized by: Microprocessor 8,16,32 bit architecture Usually simple in-order microarchitecture,

More information

Digital Storage Oscilloscope

Digital Storage Oscilloscope Digital Storage Oscilloscope GDS-3000 Series SERIAL DECODE MANUAL GW INSTEK PART NO. 82DS-SBD00U01 ISO-9001 CERTIFIED MANUFACTURER October 2010 This manual contains proprietary information, which is protected

More information

USB RS-485/422 Communication adapter virtual serial port ELO E211. Operation manual

USB RS-485/422 Communication adapter virtual serial port ELO E211. Operation manual USB RS-485/422 Communication adapter virtual serial port Virtual IDLE ECHO ON OFF COM to Fiber Optics through USB ELO E211 Operation manual 2 ELOE211ZKE001 1.0 Introduction 4 1.1 Use of the converter 4

More information

Course 10: Interfaces Agenda

Course 10: Interfaces Agenda Course 10: Interfaces 1 Agenda Introduction V.24 interface (RS232) USB 2 Introduction 3 Definition(s) (from the web) A boundary across which two independent systems meet and act on or communicate with

More information

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1 Computer Network Direct Link Networks Reliable Transmission rev 1.01 24/2/2004 1 Outline Direct link networks (Ch. 2) Encoding Framing Error detection Reliable delivery Media access control Network Adapter

More information

Serial Communication. Simplex Half-Duplex Duplex

Serial Communication. Simplex Half-Duplex Duplex 1.5. I/O 135 Serial Communication Simplex Half-Duplex Duplex 136 Serial Communication Master-Slave Master Master-Multi-Slave Master Slave Slave Slave (Multi-)Master Multi-Slave Master Slave Slave Slave

More information

Christian Brothers High School, Lewisham. Year 12 Information Processes & Technology. Assessment Task 3: Communications Systems.

Christian Brothers High School, Lewisham. Year 12 Information Processes & Technology. Assessment Task 3: Communications Systems. Name: Teacher: Christian Brothers High School, Lewisham Year 12 Information Processes & Technology Assessment Task 3: Communications Systems June 2001 Outcomes Assessed: H1.1, H1.2, H2.1, H3.1, H5.2. Weighting:

More information

Communication. Chirag Sangani

Communication. Chirag Sangani Communication Scope of Communication Telephones and cell phones. Satellite networks. Radio and DTH services. Campus LAN and wireless. Internet. Intra-galactic communication. Essentials of Communication

More information

RS485 3 click. How does it work? PID: MIKROE-2821

RS485 3 click. How does it work? PID: MIKROE-2821 RS485 3 click PID: MIKROE-2821 RS485 3 click is an RS422/485 transceiver Click board, which can be used as an interface between the TTL level UART and the RS422/485 communication bus. It features a full-duplex

More information

XS1 Link Performance and Design Guidelines

XS1 Link Performance and Design Guidelines XS1 Link Performance and Design Guidelines IN THIS DOCUMENT Inter-Symbol Delay Data Rates Link Resources Booting over XMOS links XS1 System Topologies Layout Guidelines Deployment Scenarios EMI This document

More information

EIA530, RS232, V.35 Interface For OM200 SONET-OC3 Multiplexer

EIA530, RS232, V.35 Interface For OM200 SONET-OC3 Multiplexer OM00- / (serial data) EIA0, RS, V. Interface For OM00 SONET-OC Multiplexer Chassis Chassis sizes of,,, and 1 slot. Optical data rate of 1Mbps Single or multimode fiber versions Point-to-point topology

More information

Tutorial for I 2 C Serial Protocol

Tutorial for I 2 C Serial Protocol Tutorial for I 2 C Serial Protocol (original document written by Jon Valdez, Jared Becker at Texas Instruments) The I 2 C bus is a very popular and powerful bus used for communication between a master

More information

USB RS-485/422 Communication adapter virtual serial port ELO E216. Operation manual

USB RS-485/422 Communication adapter virtual serial port ELO E216. Operation manual USB RS-485/422 Communication adapter virtual serial port Virtual IDLE ECHO ON OFF COM to Fiber Optics through USB ELO E216 Operation manual 1.0 Introduction...3 1.1 Use of the adapter...3 2.0 Operation

More information

Unit 19 - Serial Communications 19.1

Unit 19 - Serial Communications 19.1 Unit 19 - Serial Communications 19.1 19.2 Serial Interfaces Embedded systems often use a serial interface to communicate with other devices. Serial implies that it sends or receives one bit at a time.

More information

COMP/ELEC 429/556 Fall 2017 Homework #1

COMP/ELEC 429/556 Fall 2017 Homework #1 COMP/ELEC 429/556 Fall 2017 Homework #1 Assigned 9/28/2017 Due 10/12/2017 11:55pm Submit Electronically to Canvas (Hard deadline, no slip day may be used) This homework is worth 10% of your final grade

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text In this lecture, serial port communication will be discussed in

More information

CS 4453 Computer Networks Winter

CS 4453 Computer Networks Winter CS 4453 Computer Networks Chapter 2 OSI Network Model 2015 Winter OSI model defines 7 layers Figure 1: OSI model Computer Networks R. Wei 2 The seven layers are as follows: Application Presentation Session

More information

Sender Receiver Sender

Sender Receiver Sender EEE 410 Microprocessors I Spring 04/05 Lecture Notes # 19 Outline of the Lecture Interfacing the Serial Port Basics of Serial Communication Asynchronous Data Communication and Data Framing RS232 and other

More information

Data Communications & Computer Networks. Digital Data Communications Techniques

Data Communications & Computer Networks. Digital Data Communications Techniques Data Communications & Computer Networks Chapter 6 Digital Data Communications Techniques Fall 2008 Agenda Preface Asynchronous & Synchronous transmission Error Detection & Correction Line configurations

More information

Digital Circuits Part 2 - Communication

Digital Circuits Part 2 - Communication Introductory Medical Device Prototyping Digital Circuits Part 2 - Communication, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Topics Microcontrollers Memory

More information

Links. CS125 - mylinks 1 1/22/14

Links. CS125 - mylinks 1 1/22/14 Links 1 Goals of Today s Lecture Link-layer services Encoding, framing, and error detection Error correction and flow control Sharing a shared media Channel partitioning Taking turns Random access Shared

More information

Serial Communications

Serial Communications Serial Communications p. 1/2 Serial Communications CSEE W4840 Prof. Stephen A. Edwards Columbia University Early Serial Communication Serial Communications p. 2/2 Data Terminal Equipment Serial Communications

More information

HDLC-USB. Portable Protocol Converter. Rev. Dec 25, Datasheet. Website:

HDLC-USB. Portable Protocol Converter. Rev. Dec 25, Datasheet.   Website: HDLC-USB Portable Protocol Converter Rev. Dec 25, 2017 HDLC-USB Datasheet Email: yacer@yacer.cn Website: www.yacer.cn 1 Overview... 3 1.1 Introduction... 3 1.2 Features... 3 1.3 Applications... 3 1.4 Technical

More information

EASY219 / IEC CANopen Master / Slave

EASY219 / IEC CANopen Master / Slave General Description The EASY219 is an all round high performance DIP- Chip PLC based on the Infineon C164 controller. It covers the powerful PLC runtime system CoDeSys and a CANopen master or slave in

More information

Serial Communications

Serial Communications Serial Communications p. 1/2 Serial Communications Prof. Stephen A. Edwards sedwards@cs.columbia.edu Columbia University Spring 2007 Early Serial Communication Serial Communications p. 2/2 Data Terminal

More information

DIGITAL COMMUNICATION SWAPNIL UPADHYAY

DIGITAL COMMUNICATION SWAPNIL UPADHYAY DIGITAL COMMUNICATION SWAPNIL UPADHYAY SCOPE OF DIGITAL COMMUNICATION Internet Mobile Networks Wireless Networks OUR INTEREST ARDUINO SHIELDS Use SPI or UART to communicate with arduino boards JPG COLOR

More information

IEEE 802 LANs SECTION C

IEEE 802 LANs SECTION C IEEE 802 LANs SECTION C Outline of the Lecture Basic characteristics of LAN Topology Transmission Media MAC IEEE 802 LANs 802.3 - CSMA/CD based (Ethernet) 802.4 Token bus-based 802.5 Token ring-based Comparison

More information

CprE 488 Embedded Systems Design. Lecture 4 Interfacing Technologies

CprE 488 Embedded Systems Design. Lecture 4 Interfacing Technologies CprE 488 Embedded Systems Design Lecture 4 Interfacing Technologies Joseph Zambreno Electrical and Computer Engineering Iowa State University www.ece.iastate.edu/~zambreno rcl.ece.iastate.edu Never trust

More information

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols High Level View EE 122: Ethernet and 802.11 Ion Stoica September 18, 2002 Goal: share a communication medium among multiple hosts connected to it Problem: arbitrate between connected hosts Solution goals:

More information

Chapter 8 OSI Physical Layer

Chapter 8 OSI Physical Layer Chapter 8 OSI Physical Layer Upper OSI layer protocols prepare data from the human network for transmission to its destination. The Physical layer controls how data is placed on the communication media.

More information

BT 31 Data Sheet. Amp ed RF Technology Inc.

BT 31 Data Sheet. Amp ed RF Technology Inc. BT 31 Data Sheet Amp ed RF Technology Inc. Product Specification BT31 Features Bluetooth features FCC&Bluetooth licensed radio Bluetooth v3.0 Class 1 radio Range up to 100m LOS 1.5Mbps data throughput

More information

19.1. Unit 19. Serial Communications

19.1. Unit 19. Serial Communications 9. Unit 9 Serial Communications 9.2 Serial Interfaces Embedded systems often use a serial interface to communicate with other devices. Serial implies that it sends or receives one bit at a time. µc Device

More information

Lecture 8: Switched Ethernet and Collision Domains

Lecture 8: Switched Ethernet and Collision Domains Lecture 8: Switched Ethernet and Collision Domains Dr. Mohammed Hawa Electrical Engineering Department University of Jordan EE426: Communication Networks Ethernet Installations 2 1 Twisted Pair and Fiber

More information

Signals and Encoding

Signals and Encoding Signals and Encoding 18 Signals and Encoding You can design and program a USB peripheral without knowing all of the details about how the data is encoded on the bus. But understanding something about these

More information

Development and research of different architectures of I 2 C bus controller. E. Vasiliev, MIET

Development and research of different architectures of I 2 C bus controller. E. Vasiliev, MIET Development and research of different architectures of I 2 C bus controller E. Vasiliev, MIET I2C and its alternatives I²C (Inter-Integrated Circuit) is a multi-master serial computer bus invented by Philips

More information

EE 122: Ethernet and

EE 122: Ethernet and EE 122: Ethernet and 802.11 Ion Stoica September 18, 2002 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose) High Level View Goal: share a communication medium among multiple hosts

More information

BT-22 Product Specification

BT-22 Product Specification BT-22 Product Specification Features Amp ed RF, Inc. Description 10.4 mm x 13.5 mm Our micro-sized Bluetooth module is the smallest form factor available providing a complete RF platform. The BT-22 is

More information

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM).

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM). Lab # 6 Serial communications & EEPROM Objectives To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM). Serial Communications Serial

More information

Laboratory 5 Communication Interfaces

Laboratory 5 Communication Interfaces Laboratory 5 Communication Interfaces Embedded electronics refers to the interconnection of circuits (micro-processors or other integrated circuits) with the goal of creating a unified system. In order

More information

USB to RS-485/RS-422 Interface Converter. User Manual

USB to RS-485/RS-422 Interface Converter. User Manual USB to RS-485/RS-422 Interface Converter User Manual CONTENTS I. Summary 3 II. Functions..3 III. Hardware installment and application... 3 IV. Performance parameters........4 V. Connector and signal.......4

More information

By: Haron Abdel-Raziq

By: Haron Abdel-Raziq By: Haron Abdel-Raziq We noticed the struggle with Lab 2 Lab 2 is now due on October 5 th Milestone 2 is Due on October 12 th Next week (Monday) there is an FPGA lecture Will be given by Professor Bruce

More information

Come & Join Us at VUSTUDENTS.net

Come & Join Us at VUSTUDENTS.net Come & Join Us at VUSTUDENTS.net For Assignment Solution, GDB, Online Quizzes, Helping Study material, Past Solved Papers, Solved MCQs, Current Papers, E-Books & more. Go to http://www.vustudents.net and

More information

LCM-160. Low-Power Embedded Communication Module. Rev. Dec 26, LCM-160 Datasheet. Website:

LCM-160. Low-Power Embedded Communication Module. Rev. Dec 26, LCM-160 Datasheet.   Website: LCM-160 Low-Power Embedded Communication Module Rev. Dec 26, 2017 LCM-160 Datasheet Email: yacer@yacer.cn Website: www.yacer.cn 1 Overview... 3 1.1 Introduction... 3 1.2 Features... 3 1.3 Applications...

More information

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

Pmod modules are powered by the host via the interface s power and ground pins. 1300 Henley Court Pullman, WA 99163 509.334.6306 www.store. digilent.com Digilent Pmod Interface Specification 1.2.0 Revised October 5, 2017 1 Introduction The Digilent Pmod interface is used to connect

More information

I2C a learn.sparkfun.com tutorial

I2C a learn.sparkfun.com tutorial I2C a learn.sparkfun.com tutorial Available online at: http://sfe.io/t82 Contents Introduction Why Use I2C? I2C at the Hardware Level Protocol Resources and Going Further Introduction In this tutorial,

More information

Understand the design and operation of the SCI and the I 2 C, IrDA and Smart Card interfaces

Understand the design and operation of the SCI and the I 2 C, IrDA and Smart Card interfaces Module Introduction Purpose This training module provides an overview of the serial communication interface (SCI), I 2 C interface, IrDA interface and Smart Card interface built into H8S series MCUs. Objective

More information

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved. Serial Communication Prof. James L. Frankel Harvard University Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved. Overview of the Serial Protocol Simple protocol for communicating

More information

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems PD215 Mechatronics Week 3/4 Interfacing Hardware and Communication Systems Interfacing with the physical world A compute device (microprocessor) in mechatronic system needs to accept input information

More information

Housekeeping. Fall /5 CptS/EE 555 1

Housekeeping. Fall /5 CptS/EE 555 1 Housekeeping Lab access HW turn-in Jin? Class preparation for next time: look at the section on CRCs 2.4.3. Be prepared to explain how/why the shift register implements the CRC Skip Token Rings section

More information

Different network topologies

Different network topologies Network Topology Network topology is the arrangement of the various elements of a communication network. It is the topological structure of a network and may be depicted physically or logically. Physical

More information

Doc: page 1 of 6

Doc: page 1 of 6 Nanocon Reference Manual Revision: February 9, 2009 Note: This document applies to REV A-B of the board. 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Nanocon board is

More information

Outline Description Sheets for G900x Series

Outline Description Sheets for G900x Series Outline Description Sheets for G900x Series Nippon Pulse Motor Co.,Ltd. Table of contents (1) Difference in communication methods between the G80xx (current models) and the G900x series. 1 (2) CPU emulation

More information

Faculty of Science Final Examination. Computer Science B Basics of Computer Networks

Faculty of Science Final Examination. Computer Science B Basics of Computer Networks Student Name: Student Number: Faculty of Science Final Examination Computer Science 308-435B Basics of Computer Networks Examiner: Prof. Hans Vangheluwe Friday, April 27 th, 2001 Associate Examiner: Prof.

More information

HDLC-ETH. Serial Ethernet Converter. Rev. Dec 20, Datasheet. Website:

HDLC-ETH. Serial Ethernet Converter. Rev. Dec 20, Datasheet.   Website: HDLC-ETH Serial Ethernet Converter Rev. Dec 20, 2017 HDLC-ETH Datasheet Email: yacer@yacer.cn Website: www.yacer.cn 1 Overview... 3 1.1 Introduction... 3 1.2 Features... 3 1.3 Applications... 3 1.4 Technical

More information

Serial Communication

Serial Communication Serial Communication What is serial communication? Basic Serial port operation. Classification of serial communication. (UART,SPI,I2C) Serial port module in PIC16F887 IR Remote Controller Prepared By-

More information

Revision History. Version Date Changes Error in PIN description SPI jack Initial version

Revision History. Version Date Changes Error in PIN description SPI jack Initial version MANUAL ANAGATE SPI ANALYTICA GmbH Vorholzstrasse 36 Tel. +49 721 35043-0 E-mail: info@analytica-gmbh.de D-76137 Karlsruhe Fax: +49 721 35043-20 WWW: http://www.analytica-gmbh.de 1 2004-2006, Analytica

More information

Electronics Single wire communication

Electronics Single wire communication Electronics Single wire communication Wilfrid Laurier University October 23, 2017 Single wire communication Single wire communication Parallel communication uses 4 or 8 bits plus control signals Single

More information

10G SFP + Bi-di Transceiver Hot Pluggable, single LC, 1270nm/1330nm, DFB LD, Single Mode, 20km PSFP F/PSFP F

10G SFP + Bi-di Transceiver Hot Pluggable, single LC, 1270nm/1330nm, DFB LD, Single Mode, 20km PSFP F/PSFP F DATASHEET DESCRIPTION: PeakOptical Bi-directional PSFP10-2733/PSFP10-3327 10Gb/s (SFP+) transceivers are compliant with the current SFP+ Multi- Source Agreement (MSA) Specification. They comply with 10GBASE-LR/LW

More information

Computer and Network Security

Computer and Network Security CIS 551 / TCOM 401 Computer and Network Security Spring 2009 Lecture 6 Announcements First project: Due: 6 Feb. 2009 at 11:59 p.m. http://www.cis.upenn.edu/~cis551/project1.html Plan for Today: Networks:

More information

Product Specification

Product Specification Product Specification 15mm x 27mm Description One of the most capable Bluetooth modules available, the BT-21 Bluetooth OEM Module is designed for maximum flexibility. The BT-21 module includes 14 general

More information

A Half-duplex Synchronous Serial Fieldbus S 2 CAN with Multi-host Structure

A Half-duplex Synchronous Serial Fieldbus S 2 CAN with Multi-host Structure Sensors & Transducers 2014 by IFSA Publishing, S. L. http://www.sensorsportal.com A Half-duplex Synchronous Serial Fieldbus S 2 CA with Multi-host Structure Xu-Fei SU College of Physics and Information

More information