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

  • 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
  • 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

    ECT114 Week3 Homework

    • 1022 Words
    • 15 Pages

    TP1 <= (A NAND B); TP2 <= (C OR D); Z <= (A NAND B) AND (C OR D);. Refer to the Week 1 Lecture for additional information on VHDL.…

    • 1022 Words
    • 15 Pages
    Satisfactory Essays
  • Powerful Essays

    Altera Quartus Experiment

    • 19294 Words
    • 78 Pages

    Simulation the project which holds the entered schematic is the last step before program the FPGA…

    • 19294 Words
    • 78 Pages
    Powerful 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

    In this lab was found an opportunity to design and implement a state machines in VHDL and on the Basys2 board.…

    • 415 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    model. A SATA host was also implemented in VHDL on a Virtex­5 FPGA that can execute a number of SATA…

    • 1319 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Embedded Systems

    • 3932 Words
    • 16 Pages

    The interfacing of an I/O device to an embedded system is always an important task. Generally interfacing means , both the physical connections of the hardware devices and the software routines that effect the data transfer .Due to incompatibility in speeds of the microcontroller and I/O devices ,there is always a problem in data transfer between two devices .This leads to a concept called ‘Latency’.…

    • 3932 Words
    • 16 Pages
    Good Essays
  • Powerful Essays

    Computer scientists have always been challenged in their bid to implement real time image processing on serial processors. These difficulties have always been brought up by image properties such as large data sets, and complex operations that need to be performed on the image. In real time processing, 25 frames are witnessed every second. This alone contributes to redundancy and also adds to the slowing down of processing brought about by overheads of retrieval and storing of picture ingredients. In order to counteract the limitations that come with real time image processing, the use of field programmable gate arrays was discovered. FPGA have as a result brought about better revival in this industry (Hutchings, B. and Villasenor, J. pp. 67-84, Sep 1998). FPGA is an integrated circuit if numerous logic cells that are interconnected together for mutual coordination. Before the invention of FPGA, scientists always used fixed circuit of gates but this has numerous disadvantages in line with rigidity and expense. The coming of FPGA was welcomed with great gratitude and soon, these logic cells…

    • 2061 Words
    • 59 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
  • Powerful Essays

    Universal Serial Bus (USB) is a serial bus standard to connect devices to a host computer. The USB 3.0 is the u version of the USB. The USB 3.0 is also called super speed USB because the USB 3.0 support a raw throughput of 500 MByte/s. In the new universal serialbus specification, there are many new features which are also included. The most important one is the fast speed data transfer. Thus the USB 3.0 can support more devices than the currently using specification which is using USB 2.0.…

    • 1397 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Coding of design behaviour and architecture is one of the most important steps in the whole chip design project. It has major impact on logic synthesis and routing results, timing robustness, verifiability, testability and even product support. The VHDL Coding Guidelines help chip and macro development teams to rapidly understand each other's code. Macro based designs integrate easier, if these common coding styles are followed. This also applies to externally developed softcores. Codes will not need modification if simulator, synthesis tool or technology is exchanged. Code invariance wrt. Synthesis tool is given in case of a similar VHDL synthesis subset. Code invariance wrt. technology is given in case of similar performance and cell set. In addition the given guidelines enable high synthesis quality and simulation performance. The VHDL Coding Guidelines need continuous adaptation according to new tool properties and new upcoming methodologies. Please participate in this process with your design know-how. Direct your contributions and related questions to the SC Highway Frontend Hotline (hwfe@hl.siemens.de, tel.: 24666). Contribute rules for VHDL coding, that turned out to prevent errors in the downstream flow, or recommendations, that alleviate further design, re-use or maintenance. The VHDL Coding Guidelines may be passed to sub-contractors or cooperation partners. Ideally their coding works should comply to these guidelines, enabling rapid and safe integration with internally developed modules. Reading of the VHDL Coding Guidelines is most efficient at the beginning of a chip-design-project. Furthermore "Early Code Review" should be considered in a very early phase of VHDL coding as a training measure. Up to now every designer is…

    • 4411 Words
    • 18 Pages
    Satisfactory Essays
  • Better Essays

    Different Type of Hardware

    • 3614 Words
    • 15 Pages

    A hardware description language(HDL) is a language from a class of computer languages, specification languages, or modeling languages for formal description and design of electronic circuits, and most-commonly, digital logic. It can describe the circuit's operation, it’s design and organization, to verify its operation by simulation. The hardware description language looks much like a programming language such as C++, it is a textual description consisting of expressions, statements and control structures. One important difference between other programming languages and HDLs is that HDLs explicitly include the notion of time. HDLs form an integral part of Electronic design automation systems, especially for complex circuits, such as microprocessors. First of all we must know the history of the HDLs before we know the different and types of HDLs.…

    • 3614 Words
    • 15 Pages
    Better 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

Related Topics