Nios Embedded Processor UART Peripheral

Size: px
Start display at page:

Download "Nios Embedded Processor UART Peripheral"

Transcription

1 Nios Embedded Processor UART Peripheral March 2001, ver. 1.1 Data Sheet General Description The Nios universal asynchronous receiver/transmitter UART implements simple RS-232 asynchronous transmit and receive logic inside an Altera device. The UART sends and receives serial data over two external pins (RxD and TxD). Clear to send (CTS) and request to send (RTS) hardware flow-controls are not supported in this version. The Nios CPU controls and communicates with the UART through five memorymapped, 16-bit registers accessed by a standard Nios peripheral bus connection Figure 1. Nios Embedded UART The UART is fully configurable at hardware compile time. The UART is generated by the MegaWizard Plug-In Manager in the Quartus II software and can interface with up to 32 bits. A complete system can contain any number of parallel input/output (PIO) modules limited only by the capacity of the target Altera device. To comply with RS-232 voltage-signaling specifications, an external level-shifting buffer is required (e.g., Linear Technology LTC-1386) between the TxD/RxD I/O pins and the corresponding RS-232 external connections. The UART produces a simple digital logic level on its TxD output, and expects simple digital logic levels on its RxD input. The logic voltage depends on how the I/O pins are configured in the user system. The UART uses a logic 0 for mark, and a logic 1 for space. The UART runs on a single, synchronous clock input named clk. For the simplest system operation, this input should be the same clock signal used by the Nios CPU core. Altera Corporation 1 A-DS-EXCNIOSUART-02

2 Transmitter Logic The UART transmitter consists of a 7- or 8-bit TxData holding register and a 7- or 8-bit transmit shift register (the number of data bits is configured at hardware compile time). The TxData holding register is directly written by the host. The transmit shift register directly feeds the TxD data pin. Data is shifted out to TxD least significant bit (LSB) first. The transmit shift register is automatically loaded from the TxData register whenever a serial transmit shift operation is not currently in process. These two registers provide double buffering; the host can write a new value into the TxData register while the previously written character is being shifted out. The Nios CPU can monitor the status of the transmitter by reading the transmitter ready (TRDY), transmitter shift register empty (TMT), and transmitter override error (TOE) bits in the Status register. The transmitter logic automatically inserts the correct number of start, stop, and parity bits in the serial TxD data stream as required by the RS-232 specification and determined by the compile-time UART configuration. Receiver Logic The UART receiver consists of a 7- or 8-bit receiver-shift register and a 7- or 8-bit RxData holding register (the number of data bits is configured at compile time). The RxData holding register can be read directly by the host. The RxData holding register is loaded from the receiver shift register automatically every time a new character is fully received. These two registers provide double buffering. The RxData register can hold a previously received character, while the subsequent character is being shifted into the receiver shift register. The host can monitor the status of the receiver by reading the read-ready (RRDY), receiver-overrun error (ROE), break detect (BRK), parity error (PE), and framing error (FE), bits in the Status register. The receiver logic automatically detects the correct number of start, stop, and parity bits in the serial RxD stream as required by the RS-232 specification, and as determined by the hardware compile time UART configuration. The receiver logic checks for four exceptional conditions in the received data, and sets corresponding bits in the Status register: FE bit A framing error occurs whenever the receiver fails to detect a correct stop bit. PE bit A parity error occurs if the received parity bit has an unexpected (incorrect) logic level. If the UART is configured with the hardware compile time option UART_PARITY = N, no paritychecking is performed and the PE bit will always be 0. ROE bit A receiver-overrun error occurs whenever a newlyreceived character is transferred into the RxData holding register before the previous character is read by the host. In this case, the ROE 2 Altera Corporation

3 error-bit is set to 1, and the previous contents of the RxData register is overwritten with the newly-received character. BRK bit The receiver logic detects a break whenever the RxD pin is held low (logic 0) continuously for longer than a full-character time (7 or 8 bit-times, plus start, stop, and parity bits). When a break is detected, the BRK bit in the Status register is set to 1. Baud Rate Generation The UART's internal baud clock is derived from the UART's master clock input (which should be the same as the Nios system clock). The internal baud clock is generated by a clock divider. The divisor value can come from one of two sources: 1. A constant value set by the UART_BAUD_RATE and UART_INPUT_CLOCK_FREQ hardware-compile-time parameters. 2. The host-settable 16-bit value in the Divisor control register. The UART uses a host-settable baud-rate-divisor register if the hardware-compile-time option UART_FIXED_BAUD_RATE is set to NO. The UART uses a fixed baud rate if the UART_FIXED_BAUD_RATE option is set to YES. Register Descriptions A description of the bits and internal addresses of the Status register follows. Table 1 describes the Nios UART register map. Table 1. Nios UART Register Map A2..A0 Register Name Rx Data 1 Rx Data 1 Tx Data 2 Tx Data 2 Status 3 E 5 RRDY TRDY TMT TOE ROE BRK FE PE 3 Control 4 TBRK ie irrdy itrdy itmt itoe iroe ibrk ife ipe 4 Divisor Baud Rate Divisor (optional) Notes (1) Read only value. (2) Write event register. A write operation to this address causes an event in the device. (3) A write operation to the Status register clears these bits: E, TOE, ROE, BRK, FE, PE. (4) Host written control value. Can be read back at any time. (5) Status bit 8 (E) is the logical OR of the TOE, ROE, BRK, FE and PE bits. Altera Corporation 3

4 RxData Internal Address 0 The host reads received characters from the RxData register. Whenever a new character is fully received via the RxD input, it is transferred into the RxData register, and the RRDY bit in the Status register is set to a 1. Whenever the host reads a value from the RxData register, the RRDY bit in the Status register is cleared (set to 0). If a character is transferred into the RxData register when the RRDY bit is set (i.e., if the host has not retrieved the previous character), a receiver-overrun error occurs, and the ROE bit in the Status register is set to a 1. New characters are always transferred into the RxData register, whether or not the host retrieved the previous character. Writing data to the RxData register has no effect. TxData Internal Address 1 The host writes characters to be transmitted directly into the TxData register. The host should not write any characters to the TxData register until the transmitter is ready for a new character (as indicated by the TRDY bit in the Status register). If the host writes a character to the TxData register when TRDY is a 0, the results are undefined. The TRDY bit is set to a 0 whenever the host writes a character into the TxData register. The TRDY bit is set to a 1 whenever a character is transferred from the TxData register into the transmitter shift register. For example, assume the UART is idle and the host writes a first character into the TxData register. The TRDY bit is set to a 0, and then immediately set to a 1 again when the character is transferred into the transmitter shift register. The host can then write a second character into the TxData register, at which point TRDY is set to a 0 again. However this time, the first character still occupies the transmitter-shift register, and is still in the comparatively slow process of being transmitted over the TxD output pin. The TRDY bit is not set to 1 until the first character has been fully shifted out, and the second character is automatically transferred into the transmitter shift register. Reading data from the TxData register produces an undefined result. Status Internal Address 2 The Status register consists of individual bits, each of which indicates a particular condition inside the UART. The Status register can be read at any time by the host. Reading the Status register does not change the value of any of the bits. Each of the status bits is associated with a corresponding interrupt-enable bit in the Control register. If a status bit's corresponding interrupt-enable is true (1), a true (1) condition on that status bit will cause an interrupt-request to be sent to the host. 4 Altera Corporation

5 The bits in the Status register are as follows: PE (bit 0) The PE bit is set true (1) if the UART receives a character with an incorrect parity bit. This bit is always false (0) if the hardware compile time option UART_PARITY is set to N (None). The PE bit is cleared (set to 0) whenever the host performs a writeoperation to the Status register. FE (bit 1) The FE bit is set true (1) if the UART receives a character with an incorrect stop bit. The FE bit is cleared (set to 0) whenever the host performs a write operation to the Status register. BRK (bit 2) The BRK bit is set true (1) if the UART receives a break character. A break character is defined as a contiguous string of mark bits (logic 0) presented on the RxD pin that lasts longer than a full character time. The BRK bit is cleared (set to 0) whenever the host performs a write operation to the Status register. ROE (bit 3) The ROE bit is set true (1) if the UART transfers a new character into the RxData holding register while the RRDY bit is 1 (i.e., before the host has retrieved the previous character). The ROE bit is cleared (set to 0) whenever the host performs a write operation to the Status register. TOE (bit 4) The TOE bit is set true (1) if the processor writes a new character into the TxData holding register while the TRDY bit is 0 (i.e., before the previous character has been transferred into the transmitter shift register). The TOE bit is cleared (set to 0) whenever the host performs a write operation to the Status register. TMT (bit 5) The TMT bit indicates the current state of the transmitter shift register. If the transmitter shift register is in the process of shifting a character out the TxD pin, TMT is set to a 0. If the transmitter shift register is idle (i.e., a character is not being transmitted) the TMT bit is 1. The host can determine if a transmission has been completed (and should have been received at the other end of a serial link) by checking the TMT bit. The TMT bit is not changed by a write operation to the Status register. TRDY (bit 6) The TRDY bit indicates the current state of the TxData holding register. If the TxData holding register is empty (i.e., if its contents have been transferred to the transmitter shift register), it is ready for a new character and TRDY is a 1. If the value in the TxData register has not been transferred into the transmitter shift register (because the transmitter shift register is busy shifting out the Altera Corporation 5

6 previous character), TRDY is a 0. The host should always wait for TRDY to be true (1) before writing a new character into the TxData register. The TRDY bit is not changed by a write operation to the Status register. RRDY (bit 7) The RRDY bit indicates the current state of the RxData holding register. If the RxData holding register is empty (i.e., if the UART has not received any new characters), it is not ready to be read and RRDY is a 0. When a newly received value is transferred into the RxData register, RRDY is set to a 1. RRDY is cleared (set to 0) when the host performs a read-operation on the RxData register. The host should always wait for RRDY to be true (1) before reading a character from the RxData register. The RRDY bit is not changed by a write-operation to the status register. E (bit 8) The exception condition (E) bit is a simple logical-or of the TOE, ROE, BRK, FE, and PE status bits. Strictly speaking, the E bit is redundant since the same information can be derived from reading the aforementioned bits individually. It does, however, provide a convenient method for the processor to determine that something exceptional is occurring with the UART other than the normal character transactions. The E bit and corresponding interrupt-enable exception condition (ie) bit also provide a convenient method for enabling/disabling interrupts for all error conditions. The E bit is cleared by a write operation to the Status register because all of its constituent bits are cleared by this action. Control Internal Address 3 The Control register is composed of individual bits, each of which controls the internal operation of the UART. The value in the Control register can be read at any time by the host. The bits in the Control register are: (ie bit 8), interrupt-enable read ready (irrdy bit 7), interrupt-enable transmission ready (itrdy bit 6), interrupt-enable transmitter shift register empty (itmt bit 5), interrupt-enable transmitter override error (itoe bit 4), interrupt-enable receiver overrun error (iroe bit 3), interrupt-enable break detect (ibrk bit 2), interrupt-enable framing error (ife bit 1), and interrupt-enable parity error (ipe bit 0). These register bits give the host complete flexibility to determine which, if any, internal conditions of the UART will result in an interrupt request to the host. 6 Altera Corporation

7 Each bit in the Status register has a corresponding interrupt enable bit in the Control register at the same bit position. For example, the PE bit is bit 0 of the Status register, and the corresponding ipe bit is bit-0 of the Control register. For each bit of the Status register, an interrupt request to the host is generated if both the status-bit and its corresponding interrupt enable bit are both true (1). TBRK (bit 9) The transmit break (TBRK) bit allows the host to transmit a break-character over the UART's TxD pin under software control. The TxD pin is driven low (0) whenever the TBRK bit is true (1). The TBRK pin overrides any normal logic level that the transmitter logic may have otherwise been driving on the TxD pin. The TBRK bit interferes with any transmission in process, and it is the host's responsibility to release the TBRK bit (set it back to 0) after an appropriate break period has elapsed. The host software determines an appropriate break period. Divisor Internal Address 4 The Divisor register is only implemented if the hardware compile time option UART_FIXED_BAUD_RATE is set to No. If this option is set to YES the Divisor register does not exist. The write operations to the Divisor register will have no effect, and the result of a read operation from the Divisor register is undefined. If UART_FIXED_BAUD_RATE is set to No, the contents of the Divisor register are used to generate the UART's baud-rate clock. The final baud rate of the UART can be computed by this formula: Baud Rate = (clock-frequency) / (Divisor + 1). The host can read-back the value in the Divisor register at any time. Interrupt Outputs The UART produces three separate interrupt request signals: AGGREGATE_IRQ RRDY_IRQ TRDY_IRQ The UART sets the AGGREGATE_IRQ signal true (1) if any bit in the Status register and its corresponding interrupt enable bit in the Control register are both true (1). The host can disable interrupts by writing a zero (0 0000) to the Control register, thereby setting all the interrupt enable bits false. The RRDY and TRDY interrupt signals can be separated out from the AGGREGATE_IRQ signal using compile-time options described below. Altera Corporation 7

8 If the hardware compile time option UART_SEPARATE_RRDY_IRQ is set to YES, the rrdy_irq signal is driven true (1) if both the RRDY bit in the Status register is true and the irrdy interrupt enable bit in the Control register is true. Further, if UART_SEPARATE_RRDY_IRQ is set to YES the RRDY bit does not cause the AGGREGATE_IRQ output to go true. A separate interrupt signal for RRDY allows the host software to use different interrupt service routines to handle routine arrival of characters as opposed to exceptional or erroneous events. If the hardware compile time option UART_SEPARATE_TRDY_IRQ is set to YES, the TRDY_IRQ signal is driven true (1) if both the TRDY bit in the Status register and the itrdy interrupt enable bit in the Control register are true. Further, if UART_SEPARATE_TRDY_IRQ is YES, the TRDY bit does not cause the AGGREGATE_IRQ output to go true. A separate interrupt signal for TRDY allows the host software to use different interrupt service routines to handle routine arrival of characters, as opposed to exceptional or erroneous events. UART Software Routines f If there is one or more UART peripheral present in the Nios system, the UART peripheral software routines are available in the Nios library (.lib folder in the custom software development kit). For more information regarding software routine calls and custom software development kits, please refer to the Nios Software Development Reference Manual. 101 Innovation Drive San Jose, CA (408) Applications Hotline: (800) 800-EPLD Customer Marketing: (408) Literature Services: lit_req@altera.com Altera, APEX, ACEX, FLEX, MegaWizard, and Nios are trademarks and/or service marks of Altera Corporation in the United States and other countries. Altera acknowledges the trademarks of other organizations for their respective products or services mentioned in this document. Altera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. Copyright 2001 Altera Corporation. All rights reserved. 8 Altera Corporation Printed on Recycled Paper.

Figure 6 1 shows a block diagram of the UART core. shift register. shift register

Figure 6 1 shows a block diagram of the UART core. shift register. shift register 6. UART Core NII51010-8.1.0 Core Overview Functional Description The UART core with Avalon interface implements a method to communicate serial character streams between an embedded system on an Altera

More information

Nios Soft Core Embedded Processor

Nios Soft Core Embedded Processor Nios Soft Core Embedded Processor June 2000, ver. 1 Data Sheet Features... Preliminary Information Part of Altera s Excalibur TM embedded processor solutions, the Nios TM soft core embedded processor is

More information

Estimating Nios Resource Usage & Performance

Estimating Nios Resource Usage & Performance Estimating Nios Resource Usage & Performance in Altera Devices September 2001, ver. 1.0 Application Note 178 Introduction The Excalibur Development Kit, featuring the Nios embedded processor, includes

More information

E3 Mapper MegaCore Function (E3MAP)

E3 Mapper MegaCore Function (E3MAP) MegaCore Function (E3MAP) March 9, 2001; ver. 1.0 Data Sheet Features Easy-to-use MegaWizard Plug-In generates MegaCore variants Quartus TM II software and OpenCore TM feature allow place-androute, and

More information

Using MAX II & MAX 3000A Devices as a Microcontroller I/O Expander

Using MAX II & MAX 3000A Devices as a Microcontroller I/O Expander Using MAX II & MAX 3000A Devices as a Microcontroller I/O Expander March 2004, ver 2.0 Application Note 265 Introduction Advantages of Using MAX II & MAX 3000A Devices Many microcontroller and microprocessors

More information

AIRbus Interface. Features Fixed width (8-, 16-, or 32-bit) data transfers (dependent on the width. Functional Description. General Arrangement

AIRbus Interface. Features Fixed width (8-, 16-, or 32-bit) data transfers (dependent on the width. Functional Description. General Arrangement AIRbus Interface December 22, 2000; ver. 1.00 Functional Specification 9 Features Fixed width (8-, 16-, or 32-bit) data transfers (dependent on the width of the data bus) Read and write access Four-way

More information

Active Serial Memory Interface

Active Serial Memory Interface Active Serial Memory Interface October 2002, Version 1.0 Data Sheet Introduction Altera Cyclone TM devices can be configured in active serial configuration mode. This mode reads a configuration bitstream

More information

Simultaneous Multi-Mastering with the Avalon Bus

Simultaneous Multi-Mastering with the Avalon Bus Simultaneous Multi-Mastering with the Avalon Bus April 2002, ver. 1.1 Application Note 184 Introduction The Excalibur Development Kit, featuring the Nios embedded processor version 2.1 supports an enhanced

More information

Nios Soft Core. Nios Timer Peripheral. Altera Corporation 101 Innovation Drive San Jose, CA (408)

Nios Soft Core. Nios Timer Peripheral. Altera Corporation 101 Innovation Drive San Jose, CA (408) Nios Soft Core Nios Timer Peripheral Altera Corporation 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Nios Soft Core Nios Timer Peripheral Version 1.1 August 2000 Altera,

More information

POS-PHY Level 4 POS-PHY Level 3 Bridge Reference Design

POS-PHY Level 4 POS-PHY Level 3 Bridge Reference Design Level 4 Bridge Reference Design October 2001; ver. 1.02 Application Note 180 General Description This application note describes how the Level 4 Bridge reference design can be used to bridge packet or

More information

Nios DMA. General Description. Functional Description

Nios DMA. General Description. Functional Description Nios DMA January 2003, Version 1.1 Data Sheet General Functional The Nios DMA module is an Altera SOPC Builder library component included in the Nios development kit. The DMA module allows for efficient

More information

Simulating Nios II Embedded Processor Designs

Simulating Nios II Embedded Processor Designs Simulating Nios II Embedded Processor Designs May 2004, ver.1.0 Application Note 351 Introduction The increasing pressure to deliver robust products to market in a timely manner has amplified the importance

More information

Using MAX 3000A Devices as a Microcontroller I/O Expander

Using MAX 3000A Devices as a Microcontroller I/O Expander Using MAX 3000A Devices as a Microcontroller I/O Expander August 2003, Ver 1.0 Application Note 265 Introduction Advantages of Using MAX 3000A Devices Many microcontrollers and microprocessors limit I/O

More information

SONET/SDH STS-12c/STM-4 Framer MegaCore Function (STS12CFRM)

SONET/SDH STS-12c/STM-4 Framer MegaCore Function (STS12CFRM) July 2001; ver. 1.01 SONET/SDH STS-12c/STM-4 Framer MegaCore Function (STS12CFRM) Data Sheet Features Performs synchronous optical network (SONET)/synchronous digital hierarchy (SDH) framing and transport

More information

Nios Timer. General Description. Functional Description

Nios Timer. General Description. Functional Description Nios Timer July 2003, Version 3.2 Data Sheet General Description Functional Description The Nios Timer module is an Altera SOPC Builder library component included in the Nios development kit. This SOPC

More information

Simulating the Reed-Solomon Model

Simulating the Reed-Solomon Model July 2000, ver. 1 Simulating the Reed-Solomon Model with the Visual IP Software User Guide Introduction Altera intellectual property (IP) MegaCore functions are developed and pre-tested by Altera, and

More information

a16450 Features General Description Universal Asynchronous Receiver/Transmitter

a16450 Features General Description Universal Asynchronous Receiver/Transmitter a16450 Universal Asynchronous Receiver/Transmitter September 1996, ver. 1 Data Sheet Features a16450 MegaCore function implementing a universal asynchronous receiver/transmitter (UART) Optimized for FLEX

More information

T3 Framer MegaCore Function (T3FRM)

T3 Framer MegaCore Function (T3FRM) MegaCore Function August 2001; ver. 1.02 Data Sheet Features Achieving optimum performance in the Altera APEX TM 20K device architecture, the multi-featured MegaCore Function meets your innovative design

More information

Simple Excalibur System

Simple Excalibur System Excalibur Solutions Simple Excalibur System August 2002, ver. 1.0 Application Note 242 Introduction This application note describes a simple Excalibur system design that consists of software running on

More information

DSP Development Kit, Stratix II Edition

DSP Development Kit, Stratix II Edition DSP Development Kit, Stratix II Edition August 2005, Development Kit version 1.1.0 Errata Sheet This document addresses known errata and documentation changes the DSP Development Kit, Stratix II Edition

More information

Nios PIO. General Description. Functional Description

Nios PIO. General Description. Functional Description Nios PIO January 2003, Version 3.1 Data Sheet General Description Functional Description The Nios parallel input/output (PIO) module is an Altera SOPC Builder library component included in the Nios development

More information

December 2002, ver. 1.3 Application Note 191. Six individual interrupts Six-bit priority scheme Five-bit priority scheme plus one individual interrupt

December 2002, ver. 1.3 Application Note 191. Six individual interrupts Six-bit priority scheme Five-bit priority scheme plus one individual interrupt Excalibur Solutions Using the Interrupt Controller December 22, ver..3 Application Note 9 Introduction This document describes the operation of the interrupt controller for the Excalibur devices, particularly

More information

Using the Nios Development Board Configuration Controller Reference Designs

Using the Nios Development Board Configuration Controller Reference Designs Using the Nios Development Board Controller Reference Designs July 2006 - ver 1.1 Application Note 346 Introduction Many modern embedded systems utilize flash memory to store processor configuration information

More information

ZBT SRAM Controller Reference Design

ZBT SRAM Controller Reference Design ZBT SRAM Controller Reference Design for APEX II Devices December 2001, ver. 1.0 Application Note 183 Introduction As communication systems require more low-latency, high-bandwidth interfaces for peripheral

More information

Nios II Embedded Design Suite 6.1 Release Notes

Nios II Embedded Design Suite 6.1 Release Notes December 2006, Version 6.1 Release Notes This document lists the release notes for the Nios II Embedded Design Suite (EDS) version 6.1. Table of Contents: New Features & Enhancements...2 Device & Host

More information

ByteBlaster II Parallel Port Download Cable

ByteBlaster II Parallel Port Download Cable ByteBlaster II Parallel Port Download Cable December 2002, Version 1.0 Data Sheet Features Allows PC users to perform the following functions: Program MAX 9000, MAX 7000S, MAX 7000AE, MAX 7000B, MAX 3000A,

More information

Nios Embedded Processor Development Board

Nios Embedded Processor Development Board Nios Embedded Processor Development Board July 2003, ver. 2.2 Data Sheet Introduction Development Board Features Functional Overview This data sheet describes the features and functionality of the Nios

More information

Toolflow for ARM-Based Embedded Processor PLDs

Toolflow for ARM-Based Embedded Processor PLDs Toolflow for ARM-Based Embedded Processor PLDs December 2000, ver. 1 Application Note Introduction The Excalibur embedded processor devices achieve a new level of system integration from the inclusion

More information

Implementing LED Drivers in MAX Devices

Implementing LED Drivers in MAX Devices Implementing LE rivers in MAX evices ecember 2002, ver. 1.0 Application Note 286 Introduction Commercial LE river Chips iscrete light-emitting diode (LE) driver chips are common on many system boards.

More information

Nios II Embedded Design Suite 7.1 Release Notes

Nios II Embedded Design Suite 7.1 Release Notes Nios II Embedded Design Suite 7.1 Release Notes May 2007, Version 7.1 Release Notes This document contains release notes for the Nios II Embedded Design Suite (EDS) version 7.1. Table of Contents: New

More information

RapidIO MegaCore Function

RapidIO MegaCore Function March 2007, MegaCore Function Version 3.1.0 Errata Sheet This document addresses known errata and documentation issues for the Altera RapidIO MegaCore function version 3.1.0. Errata are functional defects

More information

POS-PHY Level 4 MegaCore Function (POSPHY4)

POS-PHY Level 4 MegaCore Function (POSPHY4) POS-PHY Level 4 MegaCore Function (POSPHY4) August 2001; ver. 1.00 Data Sheet Introduction Optimized for the Altera APEX TM II device architecture, the POS-PHY level 4 MegaCore function (POSPHY4) interfaces

More information

SONET/SDH Compiler. Introduction. SONET/SDH Compiler v2.3.0 Issues

SONET/SDH Compiler. Introduction. SONET/SDH Compiler v2.3.0 Issues January 2005, Compiler Version 2.3.0 Errata Sheet Introduction This document addresses known errata and documentation changes for version 2.3.0 of the SONET/SDH Compiler. Errata are design functional defects

More information

RapidIO MegaCore Function

RapidIO MegaCore Function March 2007, MegaCore Function Version 3.1.1 Errata Sheet This document addresses known errata and documentation issues for the Altera RapidIO MegaCore function version 3.1.1. Errata are functional defects

More information

RapidIO Physical Layer MegaCore Function

RapidIO Physical Layer MegaCore Function RapidIO Physical Layer MegaCore Function April 2005, MegaCore version 2.2.1 Errata Sheet Introduction This document addresses known errata and documentation changes for version 2.2.1 of the RapidIO Physical

More information

Cyclone II FPGA Family

Cyclone II FPGA Family ES-030405-1.3 Errata Sheet Introduction This errata sheet provides updated information on Cyclone II devices. This document addresses known device issues and includes methods to work around the issues.

More information

Matrices in MAX II & MAX 3000A Devices

Matrices in MAX II & MAX 3000A Devices Crosspoint Switch Matrices in MAX II & MAX 3000A Devices March 200, ver. 2.0 Application Note 29 Introduction With a high level of flexibility, performance, and programmability, you can use crosspoint

More information

Introduction. Design Hierarchy. FPGA Compiler II BLIS & the Quartus II LogicLock Design Flow

Introduction. Design Hierarchy. FPGA Compiler II BLIS & the Quartus II LogicLock Design Flow FPGA Compiler II BLIS & the Quartus II LogicLock Design Flow February 2002, ver. 2.0 Application Note 171 Introduction To maximize the benefits of the LogicLock TM block-based design methodology in the

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

Excalibur Solutions DPRAM Reference Design

Excalibur Solutions DPRAM Reference Design Excalibur Solutions DPRAM Reference Design August 22, ver. 2.3 Application Note 173 Introduction The Excalibur devices are excellent system development platforms, offering flexibility, performance, and

More information

DSP Builder. DSP Builder v6.1 Issues. Error When Directory Pathname is a Network UNC Path

DSP Builder. DSP Builder v6.1 Issues. Error When Directory Pathname is a Network UNC Path March 2007, Version 6.1 Errata Sheet This document addresses known errata and documentation changes for DSP Builder version 6.1. Errata are functional defects or errors which may cause DSP Builder to deviate

More information

Simulating the PCI MegaCore Function Behavioral Models

Simulating the PCI MegaCore Function Behavioral Models Simulating the PCI MegaCore Function Behavioral Models August 2001, ver. 1.0 Application Note 169 Introduction Altera intellectual property (IP) MegaCore functions are developed and pre-tested by Altera,

More information

Excalibur Solutions Using the Expansion Bus Interface. Introduction. EBI Characteristics

Excalibur Solutions Using the Expansion Bus Interface. Introduction. EBI Characteristics Excalibur Solutions Using the Expansion Bus Interface October 2002, ver. 1.0 Application Note 143 Introduction In the Excalibur family of devices, an ARM922T processor, memory and peripherals are embedded

More information

Video and Image Processing Suite

Video and Image Processing Suite Video and Image Processing Suite December 2006, Version 7.0 Errata Sheet This document addresses known errata and documentation issues for the MegaCore functions in the Video and Image Processing Suite,

More information

Design Verification Using the SignalTap II Embedded

Design Verification Using the SignalTap II Embedded Design Verification Using the SignalTap II Embedded Logic Analyzer January 2003, ver. 1.0 Application Note 280 Introduction The SignalTap II embedded logic analyzer, available exclusively in the Altera

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler march 2007, Compiler Version 7.0 Errata Sheet This document addresses known errata and documentation issues for the DDR and DDR2 SDRAM Controller Compiler version 7.0.

More information

Benefits of Embedded RAM in FLEX 10K Devices

Benefits of Embedded RAM in FLEX 10K Devices Benefits of Embedded RAM in FLEX 1K Devices January 1996, ver. 1 Product Information Bulletin 2 Introduction Driven by the demand to integrate many more digital functions in a single device, custom logic

More information

Using Flexible-LVDS Circuitry in Mercury Devices

Using Flexible-LVDS Circuitry in Mercury Devices Using Flexible-LVDS Circuitry in Mercury Devices November 2002, ver. 1.1 Application Note 186 Introduction With the ever increasing demand for high bandwidth and low power consumption in the telecommunications

More information

Using the Serial FlashLoader With the Quartus II Software

Using the Serial FlashLoader With the Quartus II Software Using the Serial FlashLoader With the Quartus II Software July 2006, ver. 3.0 Application Note 370 Introduction Using the Joint Test Action Group () interface, the Altera Serial FlashLoader (SFL) is the

More information

POS-PHY Level 4 MegaCore Function

POS-PHY Level 4 MegaCore Function POS-PHY Level 4 MegaCore Function November 2004, MegaCore Version 2.2.2 Errata Sheet Introduction This document addresses known errata and documentation changes for version v2.2.2 of the POS-PHY Level

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler May 2006, Compiler Version 3.3.1 Errata Sheet This document addresses known errata and documentation issues for the DDR and DDR2 SDRAM Controller Compiler version 3.3.1.

More information

Supporting Custom Boards with DSP Builder

Supporting Custom Boards with DSP Builder Supporting Custom Boards with DSP Builder April 2003, ver. 1.0 Application Note 221 Introduction As designs become more complex, verification becomes a critical, time consuming process. To address the

More information

RapidIO MegaCore Function

RapidIO MegaCore Function RapidIO MegaCore Function October 2007, MegaCore Function Version 7.0 Errata Sheet This document addresses known errata and documentation issues for the Altera RapidIO MegaCore function version 7.0. Errata

More information

Table 1 shows the issues that affect the FIR Compiler v7.1.

Table 1 shows the issues that affect the FIR Compiler v7.1. May 2007, Version 7.1 Errata Sheet This document addresses known errata and documentation issues for the Altera, v7.1. Errata are functional defects or errors, which may cause an Altera MegaCore function

More information

Legacy SDRAM Controller with Avalon Interface

Legacy SDRAM Controller with Avalon Interface Legacy SDRAM Controller with Avalon Interface January 2003, Version 1.0 Data Sheet Introduction PTF Assignments SDRAM is commonly used in cost-sensitive applications requiring large amounts of memory.

More information

Error Correction Code (ALTECC_ENCODER and ALTECC_DECODER) Megafunctions User Guide

Error Correction Code (ALTECC_ENCODER and ALTECC_DECODER) Megafunctions User Guide Error Correction Code (ALTECC_ENCODER and ALTECC_DECODER) Megafunctions User Guide 11 Innovation Drive San Jose, CA 95134 www.altera.com Software Version 8. Document Version: 2. Document Date: June 28

More information

White Paper Using the MAX II altufm Megafunction I 2 C Interface

White Paper Using the MAX II altufm Megafunction I 2 C Interface White Paper Using the MAX II altufm Megafunction I 2 C Interface Introduction Inter-Integrated Circuit (I 2 C) is a bidirectional two-wire interface protocol, requiring only two bus lines; a serial data/address

More information

Designing with ESBs in APEX II Devices

Designing with ESBs in APEX II Devices Designing with ESBs in APEX II Devices March 2002, ver. 1.0 Application Note 179 Introduction In APEX TM II devices, enhanced embedded system blocks (ESBs) support memory structures, such as single-port

More information

PCI Express Multi-Channel DMA Interface

PCI Express Multi-Channel DMA Interface 2014.12.15 UG-01160 Subscribe The PCI Express DMA Multi-Channel Controller Example Design provides multi-channel support for the Stratix V Avalon Memory-Mapped (Avalon-MM) DMA for PCI Express IP Core.

More information

Debugging Nios II Systems with the SignalTap II Logic Analyzer

Debugging Nios II Systems with the SignalTap II Logic Analyzer Debugging Nios II Systems with the SignalTap II Logic Analyzer May 2007, ver. 1.0 Application Note 446 Introduction As FPGA system designs become more sophisticated and system focused, with increasing

More information

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

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

More information

Using Flexible-LVDS I/O Pins in

Using Flexible-LVDS I/O Pins in Using Flexible-LVDS I/O Pins in APEX II Devices August 2002, ver. 1.1 Application Note 167 Introduction Recent expansion in the telecommunications market and growth in Internet use have created a demand

More information

White Paper The Need for a High-Bandwidth Memory Architecture in Programmable Logic Devices

White Paper The Need for a High-Bandwidth Memory Architecture in Programmable Logic Devices Introduction White Paper The Need for a High-Bandwidth Memory Architecture in Programmable Logic Devices One of the challenges faced by engineers designing communications equipment is that memory devices

More information

On-Chip Memory Implementations

On-Chip Memory Implementations On-Chip Memory Implementations Using Cyclone Memory Blocks March 2003, ver. 1.1 Application Note 252 Introduction Cyclone devices feature embedded memory blocks that can be easily configured to support

More information

Exercise 1 In this exercise you will review the DSSS modem design using the Quartus II software.

Exercise 1 In this exercise you will review the DSSS modem design using the Quartus II software. White Paper DSSS Modem Lab Background The direct sequence spread spectrum (DSSS) digital modem reference design is a hardware design that has been optimized for the Altera APEX DSP development board (starter

More information

FPGAs Provide Reconfigurable DSP Solutions

FPGAs Provide Reconfigurable DSP Solutions FPGAs Provide Reconfigurable DSP Solutions Razak Mohammedali Product Marketing Engineer Altera Corporation DSP processors are widely used for implementing many DSP applications. Although DSP processors

More information

The SPI supports data bus widths of 32 bits.

The SPI supports data bus widths of 32 bits. 19. SPI Controller November 2012 av_54019-1.2 av_54019-1.2 The hard processor system (HPS) provides two serial peripheral interface (SPI) masters and two SPI slaves. The SPI masters and slaves are instances

More information

Table 1 shows the issues that affect the FIR Compiler, v6.1. Table 1. FIR Compiler, v6.1 Issues.

Table 1 shows the issues that affect the FIR Compiler, v6.1. Table 1. FIR Compiler, v6.1 Issues. December 2006, Version 6.1 Errata Sheet This document addresses known errata and documentation issues for the Altera FIR Compiler, v6.1. Errata are functional defects or errors, which may cause an Altera

More information

AN 547: Putting the MAX II CPLD in Hibernation Mode to Achieve Zero Standby Current

AN 547: Putting the MAX II CPLD in Hibernation Mode to Achieve Zero Standby Current AN 547: Putting the MAX II CPLD in Hibernation Mode to Achieve Zero Standby Current January 2009 AN-547-10 Introduction To save power, the MAX II CPLD can be completely powered down into hibernation mode

More information

Stratix FPGA Family. Table 1 shows these issues and which Stratix devices each issue affects. Table 1. Stratix Family Issues (Part 1 of 2)

Stratix FPGA Family. Table 1 shows these issues and which Stratix devices each issue affects. Table 1. Stratix Family Issues (Part 1 of 2) January 2007, ver. 3.1 Errata Sheet This errata sheet provides updated information on Stratix devices. This document addresses known issues and includes methods to work around the issues. Table 1 shows

More information

COMP2121: Microprocessors and Interfacing

COMP2121: Microprocessors and Interfacing COMP2121: Microprocessors and Interfacing Lecture 25: Serial Input/Output (II) Overview USART (Universal Synchronous and Asynchronous serial Receiver and Transmitter) in AVR http://www.cse.unsw.edu.au/~cs2121

More information

Introduction. Synchronous vs. Asynchronous Memory. Converting Memory from Asynchronous to Synchronous for Stratix & Stratix GX Designs

Introduction. Synchronous vs. Asynchronous Memory. Converting Memory from Asynchronous to Synchronous for Stratix & Stratix GX Designs Converting from synchronous to Synchronous for Stratix & Stratix GX esigns November 2002, ver. 2.0 pplication Note 210 Introduction The Stratix TM and Stratix GX device families provide a unique memory

More information

White Paper Configuring the MicroBlaster Passive Serial Software Driver

White Paper Configuring the MicroBlaster Passive Serial Software Driver White Paper Configuring the MicroBlaster Passive Serial Software Driver Introduction The MicroBlaster TM software driver is designed to configure Altera programmable logic devices (PLDs) through the ByteBlasterMV

More information

HCS12 Serial Communications Interface (SCI) Block Guide V02.06

HCS12 Serial Communications Interface (SCI) Block Guide V02.06 DOCUMENT NUMBER S12SCIV2/D HCS12 Serial Communications Interface (SCI) Block Guide V02.06 Original Release Date: June 4, 1999 Revised: Oct 10, 2001 Motorola, Inc. Motorola reserves the right to make changes

More information

DDR & DDR2 SDRAM Controller

DDR & DDR2 SDRAM Controller DDR & DDR2 SDRAM Controller October 2005, Compiler Version 3.3.0 Release Notes These release notes for the DDR and DDR2 SDRAM Controller Compiler version 3.3.0 contain the following information: System

More information

Implementing LVDS in Cyclone Devices

Implementing LVDS in Cyclone Devices Implementing LVDS in Cyclone Devices March 2003, ver. 1.1 Application Note 254 Introduction Preliminary Information From high-speed backplane applications to high-end switch boxes, LVDS is the technology

More information

Enhanced Configuration Devices

Enhanced Configuration Devices Enhanced Configuration Devices October 2007, Version 1.2 Errata Sheet Introduction Intel-Flash- Based EPC Device Protection f This errata sheet provides updated information on enhanced configuration devices

More information

White Paper AHB to Avalon & Avalon to AHB Bridges

White Paper AHB to Avalon & Avalon to AHB Bridges White Paper AHB to & to AHB s Introduction For years, system designers have been manually connecting IP peripheral functions to embedded processors, taking anywhere from weeks to months to accomplish.

More information

UTOPIA Level 2 Slave MegaCore Function

UTOPIA Level 2 Slave MegaCore Function UTOPIA Level 2 Slave MegaCore Function October 2005, Version 2.5.0 Release Notes These release notes for the UTOPIA Level 2 Slave MegaCore function contain the following information: System Requirements

More information

MasterBlaster Serial/USB Communications Cable User Guide

MasterBlaster Serial/USB Communications Cable User Guide MasterBlaster Serial/USB Communications Cable User Guide 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Document Version: 1.0 Document Date: July 2004 P25-10322-00 Copyright

More information

FPGA Design Security Solution Using MAX II Devices

FPGA Design Security Solution Using MAX II Devices White Paper FPGA Solution Using MAX II Devices Introduction SRAM-based FPGAs are volatile devices. They require external memory to store the configuration data that is sent to them at power up. It is possible

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler August 2007, Compiler Version 7.1 Errata Sheet This document addresses known errata and documentation issues for the DDR and DDR2 SDRAM Controller Compiler version

More information

Figure 1. Device Package Ordering Information for Stratix, Stratix GX, Cyclone, APEX 20KC, APEX II, Mercury & Excalibur Devices EP1S 25 F 780 C 5 N

Figure 1. Device Package Ordering Information for Stratix, Stratix GX, Cyclone, APEX 20KC, APEX II, Mercury & Excalibur Devices EP1S 25 F 780 C 5 N April 2003, ver. 15 Altera Devices Figures 1 and 2 explain the ordering codes for Altera devices. Devices that have multiple pin counts for the same package include the pin count in their ordering codes.

More information

April 2002, Version 1.1. Component. PTF File. Component. Component GUI Wizards. Generation. System PTF file Files and Libraries.

April 2002, Version 1.1. Component. PTF File. Component. Component GUI Wizards. Generation. System PTF file Files and Libraries. SOPC Builder April 2002, Version 1.1 Data Sheet Introduction SOPC Builder is a tool for composing bus-based systems out of library components such as CPUs, memory interfaces, and peripherals. SOPC Builder

More information

Simulating the PCI MegaCore Function Behavioral Models

Simulating the PCI MegaCore Function Behavioral Models Simulating the PCI MegaCore Function Behavioral Models February 2003, ver. 1.2 Application Note 169 Introduction Altera intellectual property (IP) MegaCore functions are developed and pre-tested by Altera,

More information

FFT/IFFT Block Floating Point Scaling

FFT/IFFT Block Floating Point Scaling FFT/IFFT Block Floating Point Scaling October 2005, ver. 1.0 Application Note 404 Introduction The Altera FFT MegaCore function uses block-floating-point (BFP) arithmetic internally to perform calculations.

More information

Arria II GX FPGA Development Board

Arria II GX FPGA Development Board Arria II GX FPGA Development Board DDR2 SODIMM Interface 2011 Help Document DDR2 SODIMM Interface Measurements were made on the DDR2 SODIMM interface using the Board Test System user interface. The Address,

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

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

EFEC20 IP Core. Features

EFEC20 IP Core. Features EFEC20 IP Core DS-1034-1.2 Data Sheet The Altera 20% Enhanced Forward Error Correction (EFEC20) IP core includes a highperformance encoder and decoder for Optical Transport Network (OTN) FEC applications.

More information

Implementing LED Drivers in MAX and MAX II Devices. Introduction. Commercial LED Driver Chips

Implementing LED Drivers in MAX and MAX II Devices. Introduction. Commercial LED Driver Chips Implementing LE rivers in MAX and MAX II evices October 2008 AN-286-2.3 Introduction iscrete LE driver chips are common on many system boards. Altera MAX II, MAX 7000B, MAX 7000A, MAX 3000A, and MAX 7000S

More information

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim Ray Duran Staff Design Specialist FAE, Altera Corporation 408-544-7937

More information

ByteBlaster II Download Cable User Guide

ByteBlaster II Download Cable User Guide ByteBlaster II Download Cable User Guide 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com UG-BBII81204-1.1 P25-10324-00 Document Version: 1.1 Document Date: December 2004 Copyright

More information

FFT MegaCore Function

FFT MegaCore Function FFT MegaCore Function March 2007, MegaCore Version 6.1 Errata Sheet This document addresses known errata and documentation issues for the FFT MegaCore function version 6.1. Errata are functional defects

More information

Hierarchy of I/O Control Devices

Hierarchy of I/O Control Devices Hierarchy of I/O Control Devices 8155 I/O + Timer 2 Port (A,B), No Bidirectional HS mode (C) 4 mode timer 8253/54 Timer 6 mode timer 8255 I/O 2 Port (A,B) A is Bidirectional HS mode (C) Extra controls

More information

EDBG. Description. Programmers and Debuggers USER GUIDE

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

More information

DDR & DDR2 SDRAM Controller

DDR & DDR2 SDRAM Controller DDR & DDR2 SDRAM Controller December 2005, Compiler Version 3.3.1 Release Notes These release notes for the DDR and DDR2 SDRAM Controller Compiler version 3.3.1 contain the following information: System

More information

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n October 2012 Reference Design RD1138 Introduction The Universal Asynchronous Receiver/Transmitter (UART) performs serial-to-parallel conversion on data characters received from a peripheral device or a

More information

SPI Controller. Features of the SPI Controller. SPI Block Diagram and System Integration

SPI Controller. Features of the SPI Controller. SPI Block Diagram and System Integration 19 cv_54019 Subscribe The hard processor system (HPS) provides two serial peripheral interface (SPI) masters and two SPI slaves. The SPI masters and slaves are instances of the Synopsys DesignWare Synchronous

More information

Using TriMatrix Embedded Memory Blocks

Using TriMatrix Embedded Memory Blocks Using TriMatrix Embedded Memory Blocks in Stratix & Stratix GX evices November 2002, ver. 2.0 Application Note 203 Introduction TriMatrix Memory Stratix and Stratix GX devices feature the TriMatrix memory

More information