Preview

Uart

Good Essays
Open Document
Open Document
1427 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Uart
PART II

I/O MODULES

CHAPTER 7

UART

7.1

INTRODUCTION

Universal asynchronous receiver and transmitter (UART) is a circuit that sends parallel data through a serial line. UARTs are frequently used in conjunction with the EIA (Electronic Industries Alliance) RS-232 standard, which specifies the electrical, mechanical, functional, and procedural characteristics of two data communication equipment. Because the voltage level defined in RS-232 is different from that of FPGA I/O, a voltage converter chip is needed between a serial port and an FF’GA’s IiO pins. The S3 board has a RS-232 port with the standard nine-pin connector. The board contains the necessary voltage converter chip and configures the various RS-232’s control signals to automatically generate acknowledgment for the PC’s serial port. A standard straightthrough serial cable can be used to connect the S3 board and PC’s serial port. The S3 board basically handles the RS-232 standard and we only need to concentrate on the design of the UART circuit. A UART includes a transmitter and a receiver. The transmitter is essentially a special shift register that loads data in parallel and then shifts it out bit by bit at a specific rate. The receiver, on the other hand, shifts in data bit by bit and then reassembles the data. The serial line is ’ 1’ when it is idle. The transmission starts with a start bit, which is ’O’, followed by data bits and an optional parity bit, and ends with stop bits, which are ’1’. The number of data bits can be 6,7, or 8. The optional parity bit is used for error detection. For odd parity, it is set to ’0’ when the data bits have an odd number of 1’s. For even parity, it is set to ’0’ when the data bits have an even number of 1’s. The number of stop bits can be 1, 1.5, or 2.
FPGA Prototyping by VHDL Examples. By Pong P. Chu Copyright @ 2008 John Wiley & Sons, Inc.

163

164

UART

4 G:i*:x x idle d2

d3

x

d4

d5

d6

1d7 y

stop bit

Figure 7 1

You May Also Find These Documents Helpful

  • Good Essays

    ● Serial: 0 (RX) and 1 (TX); Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX); Serial 3: 15 (RX) and 14 (TX). TTL serial data can be transmitted and received. Pins 0 and 1 are connected to the respective pins of the ATmega8U2 USB-to-TTL Serial chip.…

    • 558 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    nt1210 lab3

    • 324 Words
    • 2 Pages

    Sends frames to and from with flow control, error control and sync; also addresses topology and medias.…

    • 324 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 3 Assignment 1

    • 383 Words
    • 2 Pages

    Universal Serial Bus (USB) – 1.1 and 2.0 (mice, keyboards, iPods, external hard drives, etc)…

    • 383 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Unit 3 P3

    • 1666 Words
    • 7 Pages

    In a complex network which uses directly connected routers to provide serial links, one serial interface of each connection must be configured with a clock rate to provide synchronisation.…

    • 1666 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Ece241 Project

    • 583 Words
    • 3 Pages

    Recommended Design Techniques for ECE241 Project Franjo Plavec Department of Electrical and Computer Engineering University of Toronto DISCLAIMER: The information contained in this document does NOT contain official grading policy. The information provided here is based on my personal experience with ECE241 course projects in the previous years. Its purpose is to warn you of some common mistakes and answer some common questions student in earlier years had. As grading policies and project requirements change from year to year, please consult course web site or your instructor for official policies. THIS DOCUMENT MAY CONTAIN SOME MISTAKES. I will do my best to point those mistakes to you if I discover any, but I cannot make any guarantees. All information in this document is MY PERSONAL PREFERRED WAY OF DOING VARIOUS TASKS RELATED TO HARDWARE DESIGN. It is by no means the only possible way to perform these tasks. Also, this document does not cover, nor does it attempt to cover all aspects of various problems discussed. Therefore, you should not make any implications on aspects of the problems not mentioned in this document. In other words, if the document states X, and you try to do Y, which is “very similar to X”, do not assume that statements this document makes for X necessarily hold for Y. CHECK YOUR ASSUMPTIONS against your textbook, course notes, your instructor’s and/or TA’s advice, compilation and simulation results from Quartus, and finally, common sense. Verilog and Quartus Issues When using Verilog for the first time in a real project, users are often tempted to use fancy features of the language to make their lives easier. Unfortunately, if one succumbs to those temptations, they usually make their lives harder. The main reason for that is that Verilog, the way it is used in ECE241 labs and the way Quartus II interprets it, is not a programming language. Verilog is a hardware description language, meaning that various blocks of code directly map into…

    • 583 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Figure 1: Overall Block Diagram The goal of this project is to provide you with a more practical hands-on approach to computer architecture design problems. The processor complex you will be designing is a 32-bit version of the MIPS processor; however, the instruction set will be a small subset of the actual MIPS ISA. You should implement the end to end operation of the complex utilizing the VHDL hardware descriptive language. You may use any constructs within the VHDL language, however, the design must be of your own. Copying of any form from any other student or any internal or external sources is illegal and will not be accepted. The processor supports the three instruction formats: R-format, I-format, and J-format as described in the text book and lectures. Table I Summarizes the core set of instructions for your ISA. The memory is assumed to be byte addressable and each word is 32 bits.…

    • 1082 Words
    • 5 Pages
    Good Essays
  • Good Essays

    ECET230 Lab1 Procedures

    • 2138 Words
    • 8 Pages

    The second method of DESIGN ENTRY is to use a specialized programming language called VHDL (Very high-speed integrated circuit Hardware Description Language). This method is used in this and future Labs.…

    • 2138 Words
    • 8 Pages
    Good Essays
  • Better Essays

    Telecommunications relies on the transmission of data through different mediums such as a telephone, radio, television, among others. These transmissions are done through two signal types, which are analog and digital. Analog is the first type of transmission type because it is the older and has been around for a lot longer than digital. On the other hand, even though digital transmission is a younger generation, it is currently use in more devices than analog. Each signal has its advantages and disadvantages, but in most scenarios, both need to work together to create an effective transmission. Technologies that convert analog into digital and vice-versa have been created for this purpose. Converting the signals allows for a more cohesive environment because each can be adjusted to work on devices or mediums not made for them originally. The next part of this paper covers the technologies use to convert these signals.…

    • 1056 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    porple

    • 274 Words
    • 2 Pages

    Resources: University of Phoenix Material: Input, Processing and Output Devices and University of Phoenix Hardware Simulator…

    • 274 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This paper is the first part of the Teaching Project assignment. I will present the main teaching objective accompanied by some specific goals, and a brief overview of the actual project.…

    • 305 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Packet Tracer

    • 764 Words
    • 4 Pages

    • The devices: Router, Switch, PC • Role of the Router • Role of the Switch • ARP (Address Resolution Protocol) – MAC address – Layer 2 (OSI Model)address – the mapping of a Layer 3 to Layer 2 address • The cables: UTP, Serial • The Interface: FastEthernet, Serial – What is an interface? – What is its purpose? – How is it identified? – DTE or DCE?…

    • 764 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Implementation Plan

    • 2273 Words
    • 10 Pages

    This section provides a brief description of system structure and the major system components essential to the implementation of the system. It should describe both hardware and software, as appropriate. Charts, diagrams, and graphics may be included as necessary.…

    • 2273 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Usb 3.0

    • 3784 Words
    • 16 Pages

    In the world of technology, Universal Serial Bus (USB) is a serial bus standard to connect devices to a host computer. USB was designed to allow many peripherals to be connected using a single standardized interface socket and to improve plug and play capabilities by allowing hot swapping; that is, by allowing devices to be connected and disconnected without rebooting the computer or turning off the device. Other convenient features include providing power to low-consumption devices, eliminating the need for an external power supply; and allowing many devices to be used without requiring manufacturer-specific device drivers to be installed.…

    • 3784 Words
    • 16 Pages
    Powerful Essays
  • Satisfactory Essays

    Gps Location Tracker

    • 275 Words
    • 2 Pages

    This is a third generationPOT (Patch Antenna on Top) GPS module. This POT GPS receiver providing a solution that high position and speed accuracy performances as well as high sensitivity and tracking capabilities in urban conditions &provides standard NMEA0183 strings in raw mode for any microcontroller. The module provides current time, date, latitude, longitude, speed, altitude and travel direction / heading among other data, and can be used in a host of applications,including navigation, tracking systems, fleet management, mapping and robotics.…

    • 275 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NuMicro Tools Installation and Practice NuMicro@nuvoton.com Agenda NuMicro Product Flow Chart Learning Board Introduction Software Installation Run Learning Board Code ICP Introduction ISP Introduction WDT_TIMER_RTC code introduction UART & LIN Code introduction NuMicro Product Flow Chart On-Line In Circuit Programming Nuvoton Customer Target Board ICP AP SWD NuMirco-SDK Keil RVMDK Off-Line In Circuit Programming Customer Target Board SWD IC Programming Customer Target Board SWD Nuvoton Gang Programmer USB IAR EWARM Code Development Third Party Writer Mass Production Learning Board Introduction (1/6) ICE Bridge Nu-Link CAN/LIN UART 5V DC Power 7-Segment LED USB Device WAU8822 Codec Line out Line in Key GPB15 GPIO…

    • 563 Words
    • 3 Pages
    Satisfactory Essays

Related Topics