Page 1. Introduction to Serial I/O. Definitions. A Serial Channel CS/ECE 6780/5780. Al Davis. Today s topics: Serial I/O

Similar documents
Introduction to Serial I/O

Miniature Synchronous/Asynchronous Fiber Optic Modems

Low-speed serial buses are used in wide variety of electronics products. Various low-speed buses exist in different

DXI SAC Software: Configuring a CCTV Switcher. Table of Contents

Fiber Optic Extender User Manual. Model: CV-F01-TX

Contents Specifications Functions Used Operations Software. Functions Used. Serial Data Transmission in Asynchronous Mode

SY-HDBT-100 Extender Set

Functional Diagram: Figure 1 PCIe4-SIO8BX-SYNC Block Diagram. Chan 1-4. Multi-protocol Transceiver. 32kb. Receiver FIFO. 32kb.

High Speed Async to Sync Interface Converter

Point System (for instructor and TA use only)

RF4432 wireless transceiver module

CPCI-SIO4ARHM Quad Channel High Performance Serial I/O CPCI CARD With up to 256Kbytes of FIFO buffering and Multiple Serial Protocols

SignalTap Plus System Analyzer

SY-HDBT-SLIM-100S Extender Set

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

F M2SDI 2 Ch Tx & Rx. HD SDI Fiber Optic Link with RS 485 & Aux. User Manual

Computer - Digital Output - Modem - Analog - RJ 11 Output Jack

STA2051E VESPUCCI 32-BIT SINGLE CHIP BASEBAND CONTROLLER FOR GPS AND TELEMATIC APPLICATIONS 1 FEATURES. Figure 1. Packages

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

Stevens SatComm FAQs For use with SatCommSet or Terminal Setup programs

Viewing Serial Data on the Keysight Oscilloscopes

FOM-1090 FOM-1090 FOM FOM-1090 w/ DB-25 Female FOM-1091 w/ DB-25 Male

Serial Peripheral Interface

Fibre Optic Modem ODW-611

TECHNICAL SPECIFICATION ERC 1340

PMC-SIO4 Quad Channel High Performance Serial I/O PMC CARD With up to 256Kbytes of FIFO buffering and Multiple Serial Protocols

INSTALLATION MANUAL FT-FOTR-1VDE-ST-S

Amplification. Most common signal conditioning

RF4432F27 wireless transceiver module

RS-232 to Multi-Mode Fiber Optic Media Converter

1 Watt, MHz, SMT Tunable Band Pass Filter (MINI-ERF ) 1.75 x 2.40 x 0.387

Fibre Optic Modem ODW-622

HDMI Extender via 4 Single-mode fibers 4 x LC Connector Extends HDMI + RS232 full-duplex up to 1500 meters

User Manual Entry Line Industrial Fast Ethernet Switch 4x 10/100Base-TX, 1x 100Base-X Fiber Port 4x PoE+ up to 30W

Industrial 10/100 Base-TX to 100 Base-FX Media Converter NS-200AFC-T/NS-200AFCS-T/NS-200AFCS-60T +12 ~ +48

MBUS 10 RS232 TO MBUS LEVEL CONVERTER

CATALOG NUMBER: HK-MX-VGA-X-Y Product Name

Modular Matrix Solution. Complete A/V Signal Control in One Expandable System.

medlab One Channel ECG OEM Module EG 01000

Logic Devices for Interfacing, The 8085 MPU Lecture 4

MMB Networks EM357 ZigBee Module

[Krishna*, 4.(12): December, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

INSTRUCTION MANUAL FOR MODEL IOC534 LOW LATENCY FIBER OPTIC TRANSMIT / RECEIVE MODULE

Implementing Audio IP in SDI II on Arria V Development Board

HK-DID-MXA-VGA-X-Y. Product Name. Describe. Application. Characteristic. Product Model. Screen Matrix Switcher

Hello, and welcome to this presentation of the STM32 Serial Audio Interface. I will present the features of this interface, which is used to connect

Alice EduPad Board. User s Guide Version /11/2017

3G fiber. TL7075/76 Optical 3Gbit/s Link solution with full duplex Communication Channel. TL Features. TL Features

Arduino Hacking Village THOTCON 0x9

Specifications XTP CrossPoint 1600 and XTP CrossPoint 3200 Series

AI-1204Z-PCI. Features. 10MSPS, 12-bit Analog Input Board for PCI AI-1204Z-PCI 1. Ver.1.04

DX-10 tm Digital Interface User s Guide

F M1SDI 1 Ch Tx & Rx. HD SDI Fiber Optic Link with RS 485. User Manual

Multiplex Serial Interfaces With HOTLink

3rd Slide Set Computer Networks

Chapter 1 HDMI-FMC Development Kit Chapter 2 Introduction of the HDMI-FMC Card Chapter 3 Using the HDMI-FMC Board...

Ethernet Media Converters

Viewing Serial Data on the Keysight Oscilloscopes

MAXCOM PRODUCT SPECIFICATIONS FIBER OPTIC VIDEO / AUDIO / ASI LINK. Model MX3257HD. Description. Features. Model Selection Guide

2.13inch e-paper HAT (D) User Manual

HTE Owner s Manual. HDMI, RS-232, IR & Ethernet Extender over HDBaseT with 3D, 4K, POE Support

SDI-MP1010-GM-60P-M-RA 3G/HD-SDI Output Video Transceiver. SDI-MP1010-GM-60P-M-RA Features. Block Diagram SDI-MP1010-GM-60P-M-RA.

Max. 4K Capabilities. Chroma Sampling 4:4:4 4:2:0

Max. 4K Capabilities. Chroma Sampling 4:4:4. 4:2: bit³

SELENA GPS ATOMIC CLOCK ( Option # 725GPS )

Async/Sync Fiber Optic Multiplexor

RCV VOICE/DATA CSU VOICE/DATA CSU XMT BUSY. BUSY TxD RxD RTS CTS POWER LOOPBACK SIG SYNC USER'S MANUAL

Telesto Private Wire Modem Manual

MultiMode FOMs -ST and -SMA

Laboratory 4. Figure 1: Serdes Transceiver

Dual HD-SDI Output (MCX + BNC connector) HD- SDI Cable Driver. HDMI DVI Tx connector. Optical HD- SDI Output LC - connector. 8pin

Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations

HDMI Extender via Single SC Fiber Support 3D/4K2K Up to 200m in one Single-mode Fiber

3G fiber. TL7070 3G/HD-SDI + DVI(HDMI) Fiber plus Coax Output Video Transmitter. TL Features. Block Diagram TL7070

MULTIDYNE INNOVATIONS IN TELEVISION TESTING & DISTRIBUTION DIGITAL VIDEO, AUDIO & DATA FIBER OPTIC MULTIPLEXER TRANSPORT SYSTEM

CS609- System Programming Solved MCQS From Midterm Papers. FINALTERM EXAMINATION Spring 2012 CS609- System Programming

Aegis Electronic Group

Netzer AqBiSS Electric Encoders

Datasheet. Carrier Backhaul Radio. Model: AF-2X, AF-3X, AF-5X. Up to 687 Mbps Real Throughput, Up to 200+ km Range

CS 254 DIGITAL LOGIC DESIGN. Universal Asynchronous Receiver/Transmitter

MMB Networks EM357 ZigBee Module

HD1-LX HDMI & IR Extender

ODW-621. RS-232 Point-to-point applications

Technical Article MS-2714

SY-MS121 SY-MS121-AP

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

HDMI Extender via 2 Single-mode fibers Built-in 1*8 Splitter and 4*8 HDMI Matrix Extends HDMI + RS232 full-duplex up to 5000 meters

TL8651 3G/HD-SDI Output Video Transceiver. TL8651 Features. Block Diagram TL8651 3G/HD-SDI. 1080p p50

Hardware Guide BrightSign, LLC Version:.1 Los Gatos, CA, USA. MODELS: XD Product Line

Configuration Vestas VMP3500

Manual PVA 4307, PVA 4310, PVA 4316 Video conferencing loudspeaker

Specifications IN1608 xi

HB-30 HDBaseT Twisted Pair Extender Operation Manual V1.0 CONTENTS. 1. Introduction Overview Connector Introduction...

Outline. EECS150 - Digital Design Lecture 27 - Asynchronous Sequential Circuits. Cross-coupled NOR gates. Asynchronous State Transition Diagram

10G BiDi XFP 10km Optical Transceiver GBX-xxxx192-LRC

Physics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus. Part I

SNS-XFP-10GD-LR 10 Gbps Multi-Rate XFP Transceivers OC192/STM-64, 10GE or 10G FC 1310nm, Single-Mode 10Km, with Digital Diagnostics.

Embedded System Training Module ABLab Solutions

RS232 Decoding (Option)

CHAPTER1: Digital Logic Circuits

Transcription:

Introduction to Serial I/O CS/ECE 6780/5780 Al Davis Serial I/O Today s topics: general concepts in preparation for Lab 8 1 CS 5780 2 CS 5780 A Serial Channel Definitions 3 CS 5780 4 CS 5780 Page 1

Bandwidth More Basics Classic UART: DTE & DCE communications UART is the port» for Freescale this is SCI (serial communications interface) this is just one instance as usual signaling levels are TTL interface logic can be used to convert to RS232 levels e.g. MAX232, MC145407 chips» parity is generated by Tx side and checked by Rx side 5 CS 5780 6 CS 5780 Half Duplex Signalling Other Issues Half Duplex normal usage» fixed Tx and Rx side a.k.a. Simplex signalling expanded version» send can come from either side but only in one direction at a time» problem = collisions solution same as with Ethernet CDMA transmit & receive + compare if Tx & Rx values aren t the same then collision & retry Full Duplex more wires but 2 independent communication channels» concurrent send and receive buffers Timing send and receive baud rates must be the same Asynchronous (e.g. SCI) separate send and receive clocks» start sequence is used to synch clocks for the frame model is that drift won t be enough to cause errors intra-frame in high speed signaling (e.g. HT, QPI, etc.) this is a big problem and requires complex and energy hungry circuitry long transmission paths also require significant pre- and post-emphasis circuits Synchronous: multiple options common clock (e.g. SPI) Tx side clock source synchronous signaling 7 CS 5780 8 CS 5780 Page 2

SCI & SPI Illustrated Protocols & Specifications There are many Each one has specifications electrical» what voltage levels mean what logical value» current sink and source requirements cables» often limited to some max length mechanical» what does the connector look like & pin function 9 CS 5780 10 CS 5780 2 Common Freescale Options RS232 Output Specifications Simple SCI SCI to RS232 conversion 11 CS 5780 12 CS 5780 Page 3

RS232 DB9 Pin Assignments A Simple Serial Network 13 CS 5780 14 CS 5780 RS422/RS423/RS485 Specifications Universal Serial Bus (USB) 15 CS 5780 16 CS 5780 Page 4

Optical SCI Channel SCI Where & Why would you want to do this? 17 CS 5780 18 CS 5780 Transmitting in Asynchronous Mode Control Bits for the Transmitter NOTE: Tx Data Reg Empty (TDRE) flag signals that the SCDR register is empty, TDRE is cleared by reading it. Different from previous flag clearing methods where you had to write a 1 to the flag. Read of TC flag (transmit complete) similarly clears it Then write to the SCDR 19 CS 5780 20 CS 5780 Page 5

Transmission Illustrated Pseudo Code for Transmission Process 21 CS 5780 22 CS 5780 Receiving in Asynchronous Mode Control Bits for the Receiver 23 CS 5780 24 CS 5780 Page 6

Status Bits Generated by the Receiver Receiving Illustrated 25 CS 5780 26 CS 5780 Pseudo Code for Receive Process 9S12C32 SCI Details 27 CS 5780 28 CS 5780 Page 7

More SCI Details SCI I/O Interrupts 29 CS 5780 30 CS 5780 SCI Rx, Tx, & ISR s SCI Interface Ritual TxFifo full wait until there is space RxFifo full data was lost due to Rx buffer over run 31 CS 5780 32 CS 5780 Page 8

SCI Interface ISR SCI In/Out Character 33 CS 5780 34 CS 5780 Serial Port Printer Interfaces SCI Simplex Printer Interface (w/ DTR handshake) Note: 2 approaches DTR is a handshake saying send me another frame Xoff is a shut up signal more efficient for larger buffers but some timing complexity for on the fly & response time issues 35 CS 5780 36 CS 5780 Page 9

Serial Output w/ DTR DTR Handshake ISR 37 CS 5780 38 CS 5780 Serial Output to Printer Using XON/XOFF (busy waiting) 39 CS 5780 40 CS 5780 Page 10

Synchronous = SPI (3 options) SPI Master/Slave Example 41 CS 5780 42 CS 5780 SPI Fundamentals More SPI Fundamentals Mode fault occurs when master and slave synchronization is wrong e.g. 2 masters 43 CS 5780 44 CS 5780 Page 11

SPI Pseudo Code SPI Modes CPOL sets SCLK polarity e.g. what is IDLE CPHA sets even or odd clock edges for the receiver shift register 45 CS 5780 46 CS 5780 9S12C32 SPI Details (Port M) SPI Control Registers SPIBR register 47 CS 5780 48 CS 5780 Page 12

SPI Modes SPI Mode Selections 49 CS 5780 50 CS 5780 Concluding Remarks Serial I/O is very common USB is obviously everywhere SPI & SCI are more prevalent in embedded systems» primarily because it s low cost» most controllers support this your kits support both» difference is synch vs. asynch Too much detail already but advise that you take a look at the DAC application we ll go through the full SCI ritual next lecture» in prep for Lab 8 SPRING BREAK hope you have some fun hope I can catch up 51 CS 5780 Page 13