INFORMATICA INDUSTRIALE

Size: px
Start display at page:

Download "INFORMATICA INDUSTRIALE"

Transcription

1 INFORMATICA INDUSTRIALE Lezione 5 Prof. Christian Forlani Device Structure: Peripherals» I/O» Parallel Slave Port (PSP)» Timer» Capture/Compare/PWM (CCP)» Serial Slave Port (SSP)» Master Synchronous Serial Port (MSSP)» Addressable USART»CAN» Comparator Voltage Reference» 10-bit A/D Converter Lezione 5 2 1

2 PIC-USART MODULE (Universal Synchronous Asynchronous Receiver Transmitter) Full-duplex Asynchronous Or Half-duplex Synchronous 9-bit Addressable mode Double-buffered transmit and receive buffers Separate transmit and receive interrupts Dedicated baud rate generator Lezione 5 3 RS232 (http://www.tanzilli.com) Cos'e' e a cosa serve l'rs232 Lo standard RS232 definisce una serie di specifiche per la trasmissione seriale di dati tra due dispositivi denominati DTE (Data Terminal Equipment) e DCE (Data Communication Equipment). Come si può vagamente intuire dal nome, il Data Communication Equipment e' un dispositivo che si occupa di gestire una comunicazione dati mentre il Data Terminal Equipment e' un dispositivo che si occupa di generare o ricevere dati. RS232 RS232 La comunicazione seriale asincrona Per consentire la trasmissione di dati tra il PC ed il modem, lo standard RS232 definisce una serie di specifiche elettriche e meccaniche. Una di queste riguarda il tipo di comunicazione seriale che si vuole implementare che può essere sincrona o asincrona. Nel nostro caso analizzeremo solo la comunicazione seriale asincrona. Lezione 5 4 2

3 Standard RS232 TTL Voltage levels RS232 Voltage levels 5V Logic 1 0V Logic 0 stop Codifica seriale del numero 48 = 0b a 9600 bps (RS-232 8n2) Lezione 5 5 USART Block Diagram Lezione 5 6 3

4 UART Tx Setup CSRC Clock Source Selection (synch mode only) 1 = Master mode, clock generated by internal BRG 0 = Slave mode, clock derived from external TX9 9-bit / 8-bit Mode Transmission Selection 1 = 9-bit Transmission Format 0 = 8-bit Transmission Format TXEN Transmit Enable (overridden by SREN/CREN in SYNC mode) 1 = Transmitter Enabled 0 = Transmitter Disabled SYNC Synchronous / Asynchronous Selection 1 = Synchronous Mode 0 = Asynchronous Mode BRGH High / Low Baud Rate Selection 1 = High Speed Baud Rate, FOSC / 16 0 = Low Speed Baud Rate, FOSC / 64 TRMT Transmit Shift Register Status 1 = Transmit Shift Register Empty 0 = Transmit Shift Register Full TX9D 9th Bit of Transmit Data (valid only in 9-bit mode) Written before TXREG, used for parity or address/data Lezione 5 7 UART Rx Setup SPEN Serial Port Enable 1 = Serial Port Enabled, Uses RX and TX as serial port pins 0 = Serial Pore Disabled, RX and TX general purpose I/Os RX9 9-bit / 8-bit Mode Reception Selection 1 = 9-bit Reception Format 0 = 8-bit Reception Format SREN Single Receive Enable (Synchronous Mode Only) 1 = Enable a Single Receive 0 = Disable Single Receive, cleared when reception completed CREN Continuous Receive Enable 1 = Enables Receiver; Continuous Reception in Synch mode, overriding SREN 0 = Disables Receiver in Asynchronous Mode, SREN controls Synch mode ADDEN Address Detect Enable 1 = Enables 9-bit Address Detection, Interrupt and load RCREG when bit 9 is 1 0 = Disables Address Detection, all bytes received FERR Framing Error 1 = Framing Error Occurred in this byte, clear by read RCREG + receive next byte 0 = No Framing Error OERR Overrun Error 1 = Overrun Error, cleared by clearing CREN 0 = No Overrun Error RX9D 9th Bit of Received Data (valid only in 9-bit mode) Read before TXREG, used for parity or address/data Lezione 5 8 4

5 Baud Rate Generator Lezione 5 9 Esempio Usart TX void putchar(value) { while (PIR1bits.TXIF == 0);// Wait for empty FIFO TXREG = value; } Lezione

6 MCC18 USART Lezione 5 11 PIC MSSP MODULE (MASTER SYNCHRONOUS SERIAL PORT) SPI Lezione

7 SPI Lezione 5 13 SPI Lezione

8 MCC18 SPI Lezione 5 15 PIC MSSP MODULE (MASTER SYNCHRONOUS SERIAL PORT) I 2 C BUS Cos è: sistema di comunicazione che utilizza solo 2 linee bidirezionali (SDA, SCL): BUS permette il collegamento di molti dispositivi sulla stessa linea sia master che slave a differenza del protocollo RS232 (point 2 point) l aggiunta/rimozione di dispositivi non pregiudica il funzionamento del sistema già esistente Lezione

9 I 2 C BUS Lezione 5 17 I 2 C BUS 5.0 BIT TRANSFER Due to the variety of different technology devices (CMOS, NMOS,bipolar) which can be connected to the I2C-bus, the levels of the logical 0 (LOW) and 1 (HIGH) are not fixed and depend on the associated level of VDD (see Section 15.0 for Electrical Specifications). One clock pulse is generated for each data bit transferred. 5.1 Data validity The data on the SDA line must be stable during the HIGH period of the clock. The HIGH or LOW state of the data line can only change when the clock signal on the SCL line is LOW (see Figure 5). Lezione

10 I 2 C BUS 5.2 START and STOP conditions Within the procedure of the I 2 C-bus, unique situations arise which are defined as START and STOP conditions (see Figure 6). A HIGH to LOW transition on the SDA line while SCL is HIGH is one such unique case. This situation indicates a START condition. A LOW to HIGH transition on the SDA line while SCL is HIGH defines a STOP condition. START and STOP conditions are always generated by the master. The bus is considered to be busy after the START condition. The bus is considered to be free again a certain time after the STOP condition. This bus free situation is specified in Section Detection of START and STOP conditions by devices connected to the bus is easy if they incorporate the necessary interfacing hardware. However, microcontrollers with no such interface have to sample the SDA line at least twice per clock period in order to sense the transition. Lezione Acknowledge Data transfer with acknowledge is obligatory. The acknowledge-related clock pulse is generated by the master. The transmitter releases the SDA line (HIGH) during the acknowledge clock pulse. I 2 C BUS The receiver must pull down the SDA line during the acknowledge clock pulse so that it remains stable LOW during the HIGH period of this clock pulse. Lezione

11 PIC I 2 C BUS Lezione 5 21 PIC I 2 C BUS Lezione

12 MCC18 I 2 C BUS I 2 C EEPROM Lezione

INFORMATICA INDUSTRIALE

INFORMATICA INDUSTRIALE INFORMATICA INDUSTRIALE Lezione 6 Prof. Christian Forlani forlani@disco.unimib.it Tutor: Stefano Brusamolino brusamolino@ira.disco.unimib.it Device Structure: Peripherals» I/O» Parallel Slave Port (PSP)»

More information

Section 18. USART HIGHLIGHTS USART. This section of the manual contains the following major topics:

Section 18. USART HIGHLIGHTS USART. This section of the manual contains the following major topics: USART M Section 18. USART HIGHLIGHTS This section of the manual contains the following major topics: 18.1 Introduction...18-2 18.2 Control Registers...18-3 18.3 USART Baud Rate Generator (BRG)...18-5 18.4

More information

Parallel IO. Serial IO. Parallel vs. Serial IO. simplex vs half-duplex vs full-duplex. Wires: Full Duplex. Wires: Simplex, Half-duplex.

Parallel IO. Serial IO. Parallel vs. Serial IO. simplex vs half-duplex vs full-duplex. Wires: Full Duplex. Wires: Simplex, Half-duplex. Parallel IO Parallel IO data sent over a group of parallel wires. Typically, a clock is used for synchronization. D[15:0] clk Serial IO Serial IO data sent one bit at a time, over a single wire. A clock

More information

Using Xbee 802.15.4 in Serial Communication

Using Xbee 802.15.4 in Serial Communication Using Xbee 802.15.4 in Serial Communication Jason Grimes April 2, 2010 Abstract Instances where wireless serial communication is required to connect devices, Xbee RF modules are effective in linking Universal

More information

SPI, SCI, SI and SDIO Port/devices for Serial Data Communication

SPI, SCI, SI and SDIO Port/devices for Serial Data Communication DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-5: SPI, SCI, SI and SDIO Port/devices for Serial Data Communication 1 Microcontroller internal devices for SPI or SCI or SI Synchronous Peripheral

More information

Microcontrollers. Bus types

Microcontrollers. Bus types Digital it Integrated t Circuits it & Microcontrollers Chapter 7. Serial communication bus 1 Bus types USART RS232 RS485 I2C (I 2 C) = Inter-Integrated Circuit SPI = Serial Peripheral Interface One-wire

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 05 Peripherals and Ports Synchronous Serial Port 10-bit ADC USART Internal Peripherals 8-bit Timer TMR0 16-bit Timer TMR1 8-bit Timer TMR2 CCP1, CCP2 8 13 13

More information

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example

More information

8051 Serial Communications. ECE473/573 Microprocessor System Design, Dr. Shiue

8051 Serial Communications. ECE473/573 Microprocessor System Design, Dr. Shiue 851 Serial Communications 1 Parallel vs. Serial Parallel Communication (Printer) Fast, but distance cannot be great. Expensive One byte at a time or more Sender Receiver Serial Communication (Telephone

More information

CP316 USART, SPI, and I 2 C Communication

CP316 USART, SPI, and I 2 C Communication CP316, SPI, and I 2 C Communication Wilfrid Laurier University February 12, 2013 QwikFlash modules QwikFlash modules ramifications??? QwikFlash modules ramifications??? interrupts; transmit and receive

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

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

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring 2007-08) Serial Interfacing. By Dr.

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring 2007-08) Serial Interfacing. By Dr. CMPE328 Microprocessors (Spring 27-8) Serial Interfacing By Dr. Mehmet Bodur Objectives Upon completion of this chapter, you will be able to: List the advantages of serial communication over parallel communication

More information

Section 17. UART HIGHLIGHTS UART. This section of the manual contains the following major topics:

Section 17. UART HIGHLIGHTS UART. This section of the manual contains the following major topics: HIGHLIGHTS Section 17. UART This section of the manual contains the following major topics: 17 17.1 Introduction... 17-2 17.2 Control Registers... 17-4 17.3 UART Baud Rate Generator... 17-10 17.4 UART

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

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

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

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS SERIAL I/O COMMON PROTOCOLS RS-232 Fundamentals What is RS-232 RS-232 is a popular communications interface for connecting modems and data acquisition devices (i.e. GPS receivers, electronic balances,

More information

USART and Asynchronous Communication

USART and Asynchronous Communication The USART is used for synchronous and asynchronous serial communication. USART = Universal Synchronous/Asynchronous Receiver Transmitter Our focus will be on asynchronous serial communication. Asynchronous

More information

Digital Data Transmission

Digital Data Transmission Digital Data Transmission Serial Provides a low-cost (i.e., low wire/pin count) interface between devices Many serial bus standards RS-232 SPI I 2 C USB etc. Parallel Can be a faster interface between

More information

Chapter 5 Serial Port Operation

Chapter 5 Serial Port Operation Chapter 5 Serial Port Operation (I. Scott MacKenzie) 1 Introduction 8051 includes an on-chip serial port that can operate in four modes over a wide range of frequencies. Essential function of serial port

More information

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals 8051 Serial Port The 8051 contains a UART Universal Asynchronous Receiver Transmitter The serial port is full-duplex It can transmit and receive simultaneously 2 Port 3 pins are used to provide the serial

More information

Sending Data using RF Module. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Sending Data using RF Module. Version 1.2. Aug Cytron Technologies Sdn. Bhd. Sending Data using RF Module PR16 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion

More information

ELEG3924 Microprocessor Ch.10 Serial Port Programming

ELEG3924 Microprocessor Ch.10 Serial Port Programming Department of Electrical Engineering University of Arkansas ELEG3924 Microprocessor Ch.10 Serial Port Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Basics of Serial Communication Serial port programming

More information

Communications. Wired Communications Protocols

Communications. Wired Communications Protocols Communications Wired Communications Protocols Wired Communications Goal: Allow discrete devices (processors, controllers, sensors, etc ) to communicate with each other Data transfer or synchronization

More information

How to use the decoding function of SDS2000 series. oscilloscopes?

How to use the decoding function of SDS2000 series. oscilloscopes? How to use the decoding function of SDS2000 series oscilloscopes? The decoding function: Recently, Siglent launched the SDS2000 series Super phosphor oscilloscopes. With the innovative SPO (Super Phosphor

More information

CBC (EUROPE) Srl NOTA APPLICATIVA

CBC (EUROPE) Srl NOTA APPLICATIVA Connessioni tra VideoJet10, VIP10, ZN-T8000 e dispositivi supportati da CBCController, ZNController, DEVController Cabling between VideoJet10,VIP10, ZN-T8000 and devices allowed by CBCController, ZN-Controller,

More information

Operation speed: 0-1.5M Baud (Baud is # of bits transmitted/sec, including start, stop, data and parity).

Operation speed: 0-1.5M Baud (Baud is # of bits transmitted/sec, including start, stop, data and parity). Programmable Communications Interface: 16550 A universal asynchronous receiver/transmitter (UART). Operation speed: 0-1.5M Baud (Baud is # of bits transmitted/sec, including start, stop, data and parity).

More information

Hardware Reference Manual: Reference Design Application Note

Hardware Reference Manual: Reference Design Application Note Hardware Reference Manual: Reference Design Application Note AN002 Introduction The Reference Design hardware board demonstrates the hardware s ability to interface between the computer, an 8051 microcontroller,

More information

Systemy RT i embedded Wykład 9 Interfejsy mikrokontrolerów, cz. I

Systemy RT i embedded Wykład 9 Interfejsy mikrokontrolerów, cz. I Systemy RT i embedded Wykład 9 Interfejsy mikrokontrolerów, cz. I Wrocław 2013 Plan Microncontrollers interfaces SCI SPI I 2 C OneWire I 2 S Microcontrollers interfaces Types of interfaces Interface: a.

More information

DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-1: IO port types- Serial and parallel IO ports

DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-1: IO port types- Serial and parallel IO ports DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-1: IO port types- Serial and parallel IO ports 1 1. IO Port 2 A port is a device Port to receive the bytes from external peripheral(s) [or device(s)

More information

Serial Peripheral Interface (SPI)

Serial Peripheral Interface (SPI) Microprocessors and Microcontrollers Serial Peripheral Interface (SPI) EE3954 by Maarten Uijt de Haag, Tim Bambeck SPI.1 Serial I/O: I/O - Communications I/O Pin 1 1 0 1 1 1 0 1 Microcontroller Parallel

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to

More information

USB TO SERIAL ADAPTER

USB TO SERIAL ADAPTER USB TO SERIAL ADAPTER (Model: U232-P9V2) SPECIFICATIONS CONTENTS 1. GENERAL SPECIFICATIONS... 1 1.1 PRODUCT SURFACE... 1 1.2 PRODUCT DIMENSION... 2 1.3 PRODUCT FEATURES... 3 1.4 PRODUCT SPECIFICATIONS...

More information

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

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you

More information

URQ-1120 series power line carrier data transceiver module

URQ-1120 series power line carrier data transceiver module URQ-1120 series power line carrier data transceiver module URQ-1120F + is a 9-pin single row of small volume high-performance the zero carrier data transceiver module. Is designed for 220V AC, strong interference,

More information

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)

More information

Wireless Security Camera

Wireless Security Camera Wireless Security Camera Technical Manual 12/14/2001 Table of Contents Page 1.Overview 3 2. Camera Side 4 1.Camera 5 2. Motion Sensor 5 3. PIC 5 4. Transmitter 5 5. Power 6 3. Computer Side 7 1.Receiver

More information

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev Abstract: The paper discusses the issues of microcomputer protocol implementation at local interconnect network for automobile

More information

USART - Synchronous mode (SPI)

USART - Synchronous mode (SPI) ...the world's most energy friendly microcontrollers USART - Synchronous mode (SPI) AN0008 - Application Note This application note describes how to use the EFM32 USART in synchronous (SPI) mode. This

More information

Microcontrollers in Practice

Microcontrollers in Practice M. Mitescu I. Susnea Microcontrollers in Practice With 117 Figures, 34 Tables and CD-Rom 4y Springer Contents Resources of Microcontrollers, 1 1.1 In this Chapter 1 1.2 Microcontroller Architectures 1

More information

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

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1 The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used

More information

Software User Guide UG-461

Software User Guide UG-461 Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment

More information

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

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

AN UART to Bluetooth interfacing. Document information

AN UART to Bluetooth interfacing. Document information Rev. 02 11 August 2004 Application note Document information Info Keywords Abstract Content UART, Bluetooth, wireless This application note shows how a Bluetooth wireless solution can be integrated into

More information

a8251 Features General Description Programmable Communications Interface

a8251 Features General Description Programmable Communications Interface a8251 Programmable Communications Interface June 1997, ver. 2 Data Sheet Features a8251 MegaCore function that provides an interface between a microprocessor and a serial communication channel Optimized

More information

CONTENTS I LEARNING MICROCONTROLLERS. Preface

CONTENTS I LEARNING MICROCONTROLLERS. Preface CONTENTS Foreword Preface xiii xv I LEARNING MICROCONTROLLERS 1. Introduction to Microcontrollers 3 1.1 Introduction 3 1.2 Microcontrollers and Microprocessors 5 1.3 History of Microcontrollers and Microprocessors

More information

Wireless Home Security System

Wireless Home Security System Wireless Home Security System Group: D14 Members: Vaibhav Singh (05D07026) Abhishek Tiwari (05D07028) Sauvik Chowdhury (05D07029) 1. Abstract The project is aimed at designing a low cost and reliable wireless

More information

Low Energy UART. AN Application Note. Introduction

Low Energy UART. AN Application Note. Introduction ...the world's most energy friendly microcontrollers Low Energy UART AN0017 - Application Note Introduction This application note demonstrates how to use the Low Energy UART (LEUART ) module on the EFM32

More information

Introduction. Transmission Modes. Transmission Modes. Parallel Transmission. Parallel Transmission - Advantages. Parallel Transmission

Introduction. Transmission Modes. Transmission Modes. Parallel Transmission. Parallel Transmission - Advantages. Parallel Transmission Introduction Transmission Modes Gail Hopkins More fundamental concepts underlying data communications! Ways data are transmitted Parallelism Synchronous and asynchronous communication RS-232-C Transmission

More information

RS-232 COMMUNICATIONS

RS-232 COMMUNICATIONS Technical Note D64 0815 RS-232 COMMUNICATIONS RS-232 is an Electronics Industries Association (EIA) standard designed to aid in connecting equipment together for serial communications. The standard specifies

More information

Lecture #8: Communication Protocols and Interface

Lecture #8: Communication Protocols and Interface Lecture #8: Communication Protocols and Interface Communication Protocols (1) PARALLEL DATA TRANSMISSION IEEE-488 Parallel (HPIB or GPIB ) Centronics Parallel Protocol (Printer ) SCSI IDE ISA (Industrial

More information

Implementing MOD bus and CAN bus Protocol Conversion Interface

Implementing MOD bus and CAN bus Protocol Conversion Interface Implementing MOD bus and CAN bus Protocol Conversion Interface Umesh Goyal, Gaurav Khurana M.E., Electronics & Electrical Communications Department, PEC University of Technology, India M.E., Electronics

More information

RS-232. 16.1 Introduction. 16.2 Electrical characteristics

RS-232. 16.1 Introduction. 16.2 Electrical characteristics 16 RS- 16.1 Introduction RS- is one of the most widely used techniques used to interface external equipment to computers. It uses serial communications where one bit is sent along a line, at a time. This

More information

Using Oscilloscopes in Serial Bus Decoding and Analysis

Using Oscilloscopes in Serial Bus Decoding and Analysis Using Oscilloscopes in Serial Bus Decoding and Analysis 1 / 9 Preface The communication quality of low cost, high speed transmission and high reliability is always demanded in the industrial control applications.

More information

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

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface

More information

Manual Serial PCI Cards

Manual Serial PCI Cards Manual Serial PCI Cards W&T Models 13011, 13410 13411, 13610 13611, 13812 Version 1.4 Subject to error and alteration 37 01/2005 by Wiesemann & Theis GmbH Subject to errors and changes: Since we can make

More information

Señal RS232. d. codevilla v1.0

Señal RS232. d. codevilla v1.0 Señal RS232 SCI Señal desde y hacia el µc BREAK: Caracter con todos 0 lógicos IDLE: caracter con todos 1 lógicos SCI estructura simplificada Se terminó de transferir un caracter al shift register TDRE

More information

Intro to Microprocessors and Microcomputers

Intro to Microprocessors and Microcomputers Intro to Microprocessors and Microcomputers Content Microprocessor, microcontrollers and microcomputers Communication within microcomputers Registers Process architecture CPU Data and program storage Negative

More information

T3 Series. General Purpose IO for Integrators

T3 Series. General Purpose IO for Integrators General Purpose IO for Integrators -1- TABLE OF CONTENTS Table of Contents Technical Data 3 Standard Operation 4 Inputs 4 Outputs 4 Analog Output Calibration 4 Bandrate 4 Master Timer Clock Function for

More information

Microprocessor Interfacing

Microprocessor Interfacing I 2 C Inter-Integrated Circuit Communication Microprocessor Interfacing Overview Specification Software Bit Banging Hardware Peripherals Typical System PIC SDA SCL INT 0 to 3.4 Mbps EEPROM Address Select

More information

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz What is Easy-Radio? Easy-Radio modules combine low power radio transmitters, receivers or transceivers with on-board microcontrollers to produce intelligent RF modules that provide simple to use wireless

More information

PIC MICROCONTROLLERS FOR DIGITAL FILTER IMPLEMENTATION

PIC MICROCONTROLLERS FOR DIGITAL FILTER IMPLEMENTATION PIC MICROCONTROLLERS FOR DIGITAL FILTER IMPLEMENTATION There are many devices using which we can implement the digital filter hardware. Gone are the days where we still use discrete components to implement

More information

GMB HR84 GMM F346 TECHNICL MANUAL. grifo ITALIAN TECHNOLOGY. grifo Mini BLOCK Housing, 8 Opto Input, 4 Relay Outputs

GMB HR84 GMM F346 TECHNICL MANUAL. grifo ITALIAN TECHNOLOGY. grifo Mini BLOCK Housing, 8 Opto Input, 4 Relay Outputs grifo Mini BLOCK Housing, 8 Opto Input, 4 Relay Outputs grifo Mini Module Silicon Lab. C8051 TECHNICL MANUAL Via dell' Artigiano, 8/6 40016 San Giorgio di Piano (Bologna) ITALY E-mail: grifo@grifo.it http://www.grifo.it

More information

Serial Communication.2. Digital Communication Interface Basics

Serial Communication.2. Digital Communication Interface Basics Serial Communication (Ch. 10) How do digital components exchange information?? Standard digital communication cat on interfaces establish sh the function and protocol of signals used to exchange data between

More information

USB to RS-232/422/485 Isolated Converter. Quatech Model SSU2-400I Operation Manual

USB to RS-232/422/485 Isolated Converter. Quatech Model SSU2-400I Operation Manual USB to RS-232/422/485 Isolated Converter Quatech Model SSU2-400I Operation Manual First Edition, Jun 2008 1 Table of Contents 1. Introduction 2 2. Package checklist 3 3. Product Specification 4 4. Product

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

Technical Note TN_111. What is a UART?

Technical Note TN_111. What is a UART? Future Technology Devices International Ltd. Technical Note TN_111 What is a UART? Document Reference No.: DocNo FT_000157 Version 1.0 Issue Date: 2009-08-07 The purpose of this technical note is to clarify

More information

DECT Module UM-9802 Datasheet

DECT Module UM-9802 Datasheet UWIN TECHNOLOGIES CO., LTD. DECT Module UM-9802 Datasheet V2.1 1 UWIN TECHNOLOGIES CO., LTD. Contents 1. Introduction... 3 2. Features... 3 3. DECT Module Application... 3 4. DECT Module function block...

More information

Display Message on Notice Board using GSM

Display Message on Notice Board using GSM Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 7 (2013), pp. 827-832 Research India Publications http://www.ripublication.com/aeee.htm Display Message on Notice Board

More information

Application Note 83 Fundamentals of RS 232 Serial Communications

Application Note 83 Fundamentals of RS 232 Serial Communications Application Note 83 Fundamentals of Serial Communications Due to it s relative simplicity and low hardware overhead (as compared to parallel interfacing), serial communications is used extensively within

More information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial for MPLAB Starter Kit for PIC18F Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is

More information

Serial port interface for microcontroller embedded into integrated power meter

Serial port interface for microcontroller embedded into integrated power meter Serial port interface for microcontroller embedded into integrated power meter Mr. Borisav Jovanović, Prof. dr. Predrag Petković, Prof. dr. Milunka Damnjanović, Faculty of Electronic Engineering Nis, Serbia

More information

CENTRONICS interface and Parallel Printer Port LPT

CENTRONICS interface and Parallel Printer Port LPT Course on BASCOM 8051 - (37) Theoretic/Practical course on BASCOM 8051 Programming. Author: DAMINO Salvatore. CENTRONICS interface and Parallel Printer Port LPT The Parallel Port, well known as LPT from

More information

International Journal of Research in Advent Technology Available Online at: http://www.ijrat.org

International Journal of Research in Advent Technology Available Online at: http://www.ijrat.org DESIGN AND IMPLEMENTATION OF A GPS RECEIVER USING 8051 MICROCONTROLLER Garima Jain 1, Nasreen Noorani 2, Vishal Badole 3 1 2 3 Electronics & Communication Department 1 2 3 Acropolis Technical Campus, Indore,

More information

EMBEDDED SYSTEMS DESIGN DECEMBER 2012

EMBEDDED SYSTEMS DESIGN DECEMBER 2012 Q.2a. List and define the three main characteristics of embedded systems that distinguish such systems from other computing systems. Draw and explain the simplified revenue model for computing revenue

More information

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

COMPUTER HARDWARE. Input- Output and Communication Memory Systems COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)

More information

Data Transactions from UART to SPI Slave Devices through UART-SPI Controller for an SOC

Data Transactions from UART to SPI Slave Devices through UART-SPI Controller for an SOC Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 4 (2013), pp. 413-420 Research India Publications http://www.ripublication.com/aeee.htm Data Transactions from UART to SPI

More information

The Secrets of RS-485 Half-duplex Communication

The Secrets of RS-485 Half-duplex Communication Communication Casper Yang, Senior Product Manager support@moxa.com RS-485 is a good choice for long distance serial communication since using differential transmission cancels out the vast majority of

More information

Syscone Robotics. USB-AD43 High Speed USB Adapter to 4 Serial COM (TTL), JTAG, SPI, I2C, Dynamix. Pony Programmer

Syscone Robotics. USB-AD43 High Speed USB Adapter to 4 Serial COM (TTL), JTAG, SPI, I2C, Dynamix. Pony Programmer Syscone Robotics USB-AD43 High Speed USB Adapter to 4 Serial COM (TTL), JTAG, SPI, I2C, Dynamix. Pony Programmer Based on the FTDI s 5th generation of USB devices (FT4232H), the USB-AD43 adapter allows

More information

DS1307ZN. 64 x 8 Serial Real-Time Clock

DS1307ZN. 64 x 8 Serial Real-Time Clock DS137 64 x 8 Serial Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid

More information

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate

More information

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

Eliminate Risk of Contention and Data Corruption in RS-485 Communications I. Background and Objective Eliminate Risk of Contention and Data Corruption in RS-485 Communications Earle Foster, Jeff Hunter Sealevel Systems The RS-485 communications standard was introduced in 1983

More information

RS-232 to RS-422/485 Converters User Guide

RS-232 to RS-422/485 Converters User Guide RS-232 to RS-422/485 Converters User Guide Models : SER-COMi-M SER-COMi-SI-M Web: www.titan.tw Support: info@titan.tw Document Part Number TN-068 Version 1.00 Issue Date: 2011-09-11 The computer programs

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent

More information

App. Note Number: 1003. Terminology and basic concepts of RS-232 communications, along with basic cable configurations.

App. Note Number: 1003. Terminology and basic concepts of RS-232 communications, along with basic cable configurations. Application Note App. Note Number: 1003 Title: RS-232 Communications. Description: Terminology and basic concepts of RS-232 communications, along with basic cable configurations. Product: General Author:

More information

Figure 1: Typical Setups. RS-232 RS-422 or RS-485 Device or System TX FOSTC. RS-232 RS-422 or RS-485 Device or System FOSTC

Figure 1: Typical Setups. RS-232 RS-422 or RS-485 Device or System TX FOSTC. RS-232 RS-422 or RS-485 Device or System FOSTC SW1: = ON SW1: = ON SW1: = ON -01-1/ 00 by B&B Electronics. All rights reserved. Model RS-, or Signals Up To. Miles with Fiber Optic Modem Description Fiber optic cabling has inherent resistance to EMI/RFI

More information

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16) PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware

More information

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication D/N: HA0150E Introduction This application explains how to use two I/O lines on the HT46R46 to implement half-duplex SPI communication.

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat www.maxim-ic.com FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is -67 F to 257 F in 0.9 F increments

More information

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction RS-232 Introduction Rs-232 is a method used for transferring programs to and from the CNC machine controller using a serial cable. BobCAD-CAM includes software for both sending and receiving and running

More information

DTR-DSR and RTS-CTS lines difference document Document Version: 1.0

DTR-DSR and RTS-CTS lines difference document Document Version: 1.0 - and - lines difference document Document Version: 1.0 Contents 1 Introduction... 3 2 RS232 Interface... 3 2.1 Pin-out... 3 2.2 Signals... 3 3 Setup... 4 3.1 Handshaking No Hardware flow control... 4

More information

DS1721 2-Wire Digital Thermometer and Thermostat

DS1721 2-Wire Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components with ±1 C accuracy Measures temperatures from -55 C to +125 C; Fahrenheit equivalent is -67 F to +257 F Temperature resolution

More information

This paper describes the use of the PmodCLS Serial LCD Display Module and serial interfaces like SPI and RS232 for peripheral communication.

This paper describes the use of the PmodCLS Serial LCD Display Module and serial interfaces like SPI and RS232 for peripheral communication. Lab Project 7: Displaying Text on the LCD Module For more info: support@digilent.ro Revision: September 2, 2009 Overview This paper describes the use of the PmodCLS Serial LCD Display Module and serial

More information

SC16IS740/750/760. Single UART with I 2 C-bus/SPI interface, 64 bytes of transmit and receive FIFOs, IrDA SIR built-in support

SC16IS740/750/760. Single UART with I 2 C-bus/SPI interface, 64 bytes of transmit and receive FIFOs, IrDA SIR built-in support Single UART with I 2 C-bus/SPI interface, 64 bytes of transmit and receive FIFOs, IrDA SIR built-in support Rev. 7 9 June 2011 Product data sheet 1. General description The is a slave I 2 C-bus/SPI interface

More information

Future Technology Devices International Ltd. VDrive2. Vinculum VNC1L Module.

Future Technology Devices International Ltd. VDrive2. Vinculum VNC1L Module. Future Technology Devices International Ltd. VDrive2 Vinculum VNC1L Module http://www.vinculum.com Copyright Future Technology Devices International Ltd. 2007 1. Introduction and Features Page 1.1 Introduction

More information

SBC44B. Single board computer for 44 pin PLCC PICs

SBC44B. Single board computer for 44 pin PLCC PICs Single board computer for 44 pin PLCC PICs Table of Contents 1 Introduction...2 2 Features...3 3 Expansion Connectors...4 3.1 Compact Daughter Board and Daughter Board Connectors...4 3.2 Custom Daughter

More information

SBC44B. Single board computer for 44 pin PLCC PICs

SBC44B. Single board computer for 44 pin PLCC PICs Single board computer for 44 pin PLCC PICs Table of Contents 1 Introduction...2 2 Features...3 3 Expansion Connectors...4 3.1 Compact Daughter Board and Daughter Board Connectors...4 3.2 Custom Daughter

More information

I 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM

I 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM I 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM v 0.40 Welcome to the Microchip Technology Presentation on using the MSSP module in Master I 2 C mode. In this

More information

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows

More information