D16950 IP Core. Configurable UART with FIFO v. 1.03

Similar documents
D16550 IP Core. Configurable UART with FIFO v. 2.25

SC16C650B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 32-byte FIFOs and infrared (IrDA) encoder/decoder

SC16C750B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs

SC16C550B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 16-byte FIFOs

SC16C550 Rev June 2003 Product data General description Features

RCLK N.C. CS0 CS1 -CS2 -BAUDOUT

C16450 Universal Asynchronous Receiver/Transmitter. Function Description. Features. Symbol

ST16C550. UART WITH 16-BYTE FIFO s GENERAL DESCRIPTION. PLCC Package FEATURES ORDERING INFORMATION

ST16C450 UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER (UART) GENERAL DESCRIPTION. PLCC Package FEATURES ORDERING INFORMATION.

SC16C Description. 2. Features. Dual UART with 32 bytes of transmit and receive FIFOs

PC16552D Dual Universal Asynchronous Receiver Transmitter with FIFOs

SC16C2552B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.), with 16-byte FIFOs

SC16C652B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.) with 32-byte FIFOs and infrared (IrDA) encoder/decoder

TL16C550A ASYNCHRONOUS COMMUNICATIONS ELEMENT

SC16IS General description. 2. Features

XR16L570 GENERAL DESCRIPTION FEATURES APPLICATIONS FIGURE 1. BLOCK DIAGRAM. *5 V Tolerant Inputs (Except for CLK) PwrSave. Data Bus Interface

FEATURES PLCC Package RXB RXA -TXRDYB TXA TXB -OPB -CSA -CSB

SC16C General description. 2. Features and benefits

ASYNCHRONOUS COMMUNICATIONS ELEMENT

SC16C554B/554DB. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V quad UART, 5 Mbit/s (max.) with 16-byte FIFOs

PC16550D Universal Asynchronous Receiver Transmitter with FIFOs. Features Y. Basic Configuration. June 1995

TL16C550A ASYNCHRONOUS COMMUNICATIONS ELEMENT

SLLS177H MARCH 1994 REVISED JANUARY 2006

TL16C554A, TL16C554AI ASYNCHRONOUS-COMMUNICATIONS ELEMENT

XR19L400 SINGLE CHANNEL INTEGRATED UART AND RS-485 TRANSCEIVER

PN PACKAGE (TOP VIEW) INTSEL GND TL16C754BPN DTRB CTSB DSRB NC A0 D3 RESET RXB CLKSEL XTAL1 XTAL2 RXRDY

TL16C552A, TL16C552AM DUAL ASYNCHRONOUS COMMUNICATIONS ELEMENT WITH FIFO

XR16V554/554D 2.25V TO 3.6V QUAD UART WITH 16-BYTE FIFO

XR16M V TO 3.63V UART WITH 64-BYTE FIFO AND VLIO INTERFACE

XR16M V TO 3.63V HIGH PERFORMANCE UART WITH 64-BYTE FIFO

APPLICATION NOTE ANI6. Connecting the SP504 Multiprotocol Transceiver to the 85C30 Universal Enhanced Serial Communications Controller (ESCC)

XR20M1280 I2C/SPI UART WITH 128-BYTE FIFO AND INTEGRATED LEVEL SHIFTERS

ST16C554/554D 2.97V TO 5.5V QUAD UART WITH 16-BYTE FIFO

a6850 Features General Description Asynchronous Communications Interface Adapter

Lecture #3 RS232 & 485 protocols

xr XR16L2750 GENERAL DESCRIPTION 2.25V TO 5.5V DUART WITH 64-BYTE FIFO

1.8 V dual UART, 5 Mbit/s (max.) with 128-byte FIFOs, infrared (IrDA) and XScale VLIO bus interface

XR16M564/564D 1.62V TO 3.63V QUAD UART WITH 32-BYTE FIFO

SC28L General description. 3.3 V, 5 V UART, Mbit/s, with 256-byte FIFO

XR16M752/XR68M752 HIGH PERFORMANCE DUART WITH 64-BYTE FIFO

V62/03626 REVISIONS LTR DESCRIPTION DATE APPROVED REV PAGE REV PAGE REV REV STATUS OF PAGES PAGE

XR16V2750 HIGH PERFORMANCE DUART WITH 64-BYTE FIFO

XR18W750 WIRELESS UART CONTROLLER

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

Chapter 9: Serial Communication Interface SCI. The HCS12 Microcontroller. Han-Way Huang. September 2009

Microcontrollers. Serial Communication Interface. EECE 218 Microcontrollers 1

ST16C V TO 5.5V DUART WITH 16-BYTE FIFO

Programmable communications interface (PCI)

D5 D6 D7 RCLK SIN SOUT CS0 CS1 CS2 BAUDOUT

ECE 4510/5530 Microcontroller Applications Week 6 Lab 5

XR19L202 TWO CHANNEL INTEGRATED UART AND RS-232 TRANSCEIVER

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge

6551 ASYNCHRONOUS COMMUNICATION INTERFACE ADAPTER

Design and FPGA Implementation of a High Speed UART. Sonali Dhage, Manali Patil,Navnath Temgire,Pushkar Vaity, Sangeeta Parshionikar

PERIPHERAL INTERFACING Rev. 1.0

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION

Installation and Operation Manual HS-R. 4-Channel Low Speed Data Module with V.110 Rate Adaptation MEGAPLEX-2100 MODULE

Asynchronous Serial Communications The MC9S12 Serial Communications Interface (SCI) Asynchronous Data Transfer

Features. TEMP RANGE ( C) PACKAGE PKG. DWG. # CP82C52 (No longer available or supported Recommended Replacement: CP82C52Z)

XR88C92/192 DUAL UNIVERSAL ASYNCHRONOUS RECEIVER AND TRANSMITTER DESCRIPTION FEATURES. PLCC Package ORDERING INFORMATION.

Minimal UART core. All the project files were published on the LGPL terms, you must read the GNU Lesser General Public License for more details.

OP ERA TIONS MANUAL MCM/LPM- COM4A

Roland Kammerer. 13. October 2010

Topics Introduction to Microprocessors

USER'S MANUAL. Model : K

Digital Systems Design

8253 functions ( General overview )

Preliminary Information IP0 -IOW -IOR RXB N.C. TXB OP1 OP3 OP5 OP7

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

Fanuc Serial (RS232) Communications Information

DigiPoints Volume 1. Student Workbook. Module 2 Modem Overview

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

This document is designed to be used in conjunction with the CMX869A data sheet.

a8259 Features General Description Programmable Interrupt Controller

Lab 2.2 Custom slave programmable interface

9600 bps, Dual Modem 170 Card Private Wire Only

Design and Simulation of Universal Asynchronous Receiver Transmitter on Field Programmable Gate Array Using VHDL

Verilog Implementation of UART with Status Register Sangeetham Rohini 1

CL-CD1400 Product Bulletin

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

SECTION 6 SERIAL AUDIO INTERFACE

Concept of Serial Communication

FLEX 10KE. Features... Embedded Programmable Logic Device

ACEX 1K. Features... Programmable Logic Device Family. Tools

USB Port Medium Power Wireless Module SV653

Preliminary GHz Transceiver-µController-Module. Applications PRODUCT SPECIFICATION FEATURES MICROCONTROLLER MHz

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

Microprocessor & Interfacing Lecture Programmable Interval Timer

Chapter 12: Digital Modulation and Modems

ACEX 1K. Features... Programmable Logic Family. Tools. Table 1. ACEX TM 1K Device Features

EEL 4744C: Microprocessor Applications. Lecture 9. Part 2. M68HC12 Serial I/O. Dr. Tao Li 1

AMBA Generic Infra Red Interface

Lesson UART. Clock Systems and Timing UART (Universal Asynchronous Receiver-Transmitter) Queues Lab Assignment: UART

Course Introduction Purpose: Objectives: Content Learning Time

IJITKMI Volume 6 Number 2 July-December 2013 pp FPGA-based implementation of UART

TS4000 Radio Modem. User s Manual

Description PKG. NO. TRC NC EPE GND CLS1 RRD CLS2 RBR8 SBS RBR7 PI RBR6 CRL RBR5 TBR8 RBR4 TBR7 RBR3 TBR6 RBR2 TBR5 RBR1 TBR4 PE TBR3 FE TBR2 OE

Design and Implementation of Universal Serial Bus Transceiver with Verilog

3. Cyclone IV Dynamic Reconfiguration

Transcription:

2017 D16950 IP Core Configurable UART with FIFO v. 1.03

C O M P A N Y O V E R V I E W Digital Core Design is a leading IP Core provider and a SystemonChip design house. The company was founded in 1999 and since the very beginning has been focused on IP Core architecture improvements. Our innovative, silicon proven solutions have been employed by over 300 customers and with more than 500 hundred licenses sold to companies like Intel, Siemens, Philips, General Electric, Sony and Toyota. Based on more than 70 different architectures, starting from serial interfaces to advanced microcontrollers and SoCs, we are designing solutions tailored to your needs. I P C O R E O V E R V I E W The D16950 is a soft core of a Universal Asynchronous Receiver/Transmitter (UART), functionally identical to the OX16C950. The D16950 allows serial transmission in two modes: UART and FIFO. In a FIFO mode, internal FIFOs are activated, allowing 128 bytes (plus 3 bits of error data per byte in the RCVR FIFO) to be stored in both receive and transmit modes. The D16950 performs serialtoparallel conversion on data characters received from a peripheral device or a MODEM; and paralleltoserial conversion on data characters received from the CPU. The CPU can read the complete status of the UART at any time, during the functional operation. The reported status information includes the type and condition of transfer operations being performed by the UART, as well as any error conditions (parity, overrun, framing, or break interrupt). The D16950 includes a programmable baud rate generator, which is capable of dividing the timing reference clock input by divisors of 1 to (2 16 1) and producing an n clock for driving the internal transmitter logic. Provisions are also included to use this n clock, to drive the receiver logic. The D16950 has complete MODEMcontrol capability and a processorinterrupt system. Interrupts can be programmed to the user's requirements, minimizing the computing required to handle the communications link. In the FIFO mode, there is a selectable autoflow control feature, which can significantly reduce software overload and increase system efficiency, by automatically controlling a serial data flow through RTS output and CTS input signals or by XON and XOFF characters. The core is perfect for applications, where the UART Core and microcontroller are clocked by the same clock signal and are implemented inside the same ASIC or FPGA chip, as well as for a standalone implementation, where several UARTs are required to be implemented inside a single chip and driven by some offchip devices. The D16950 core includes all 16450, 16550, 16650 and 16750 features as well as additional functions. The D16950 has ICR registers which give additional capabilities of configuration of the UART work. Data transmission may be synchronized by an external clock, connected to the RI (for receiver and transmitter) or to the DSR (only for receiver) pin. NMR register allows enabling 9bit mode transmission, with or without a special character. Writing and reading from/to FIFO may be controlled by triggerlevel registers. Triggerlevel registers may be set any value from 1 to 127. There are two DMA modes supported: a single transfer and a multitransfer. These modes allow the UART to interface to higher performance DMA units, which can interleave their transfers between CPU cycles or execute multiple byte transfers. K E Y F E A T U R E S Software compatible with 16450, 16550, 16750 and 16950 UARTs Separate configurable BAUD clock line Configuration capability Two modes of operation: UART and FIFO Majority Voting Logic In the FIFO mode transmitter and receiver are each buffered with 16 / 128 byte FIFO's, to reduce the number of interrupts presented to the CPU Adds or deletes standa asynchronous communication bits (start, stop, and parity), to or from the serial data In UART mode receiver and transmitter are double buffered, to eliminate the need for precise synchronization between the CPU and serial data Independently controlled transmit, receive, line status and data set interrupts Programmable baud generator MODEM control functions (CTS, RTS, DSR, DTR, RI, and DCD) Programmable automatic outoffband Flow Control logic through AutoRTS and AutoCTS Programmable automatic Flow Control logic using DTR and DSR Programmable automatic inband Flow Control logic using XON/XOFF characters Programmable special characters detection Trigger levels for receiver and transmitter FIFO interrupts and automatic inband and outoffband flow control RS485 buffer enable signals Transmitter and receiver disable capability Fully programmable serialinterface characteristi: 5, 6, 7, 8 or 9bit characters Even, odd, or noparity bit generation and detection 1, 1½, or 2stop bit generation Baud generation Detection of bad data in receiver FIFO Clock prescaler from 1 to 31,875 Enhanced isochronous clock option Complete status reporting capabilities False start bit detection Line break generation and detection. Internal diagnostic capabilities: Loopback controls for communications link fault isolation Break, parity, overrun, framing error simulation Full prioritized interrupt system controls 9 bit data mode Software reset 2

D E L I V E R A B L E S Source code: VHDL Source Code or/and VERILOG Source Code or/and Encrypted, or plain text EDIF VHDL VERILOG test bench environment ActiveHDL automatic simulation macros ModelSim automatic simulation macros Tests with reference responses Technical documentation Installation notes HDL core specification Datasheet Synthesis scripts Example application Technical support IP Core implementation support 3 months maintenance Delivery of the IP Core and documentation updates, minor and major versions changes Phone email support L I C E N S I N G Comprehensible and clearly defined licensing methods without royaltyperchip fees make use of our IP Cores easy and simple. SingleSite license option dedicated to small and middle sized companies, which run their business in one place. MultiSite license option dedicated to corporate customers, who operate at several locations. The licensed product can be used in selected company branches. In all cases the number of IP Core instantiations within a project and the number of manufactured chips are unlimited. The license is royaltyperchip free. There are no restrictions regaing the time of use. There are two formats of the delivered IP Core: VHDL or Verilog RTL synthesizable HDL Source code FPGA EDIF/NGO/NGD/QXP/VQM Netlist T Y P I C A L A P P L I C A T I O N datai datao wr ddis txy rxy B L O C K D I A G R A M Data Bus Buffer Receiver Control Shift Register RCVR Buffer RCVR FIFO rclk fifosel si CPU ale datao(7:0) datai(7:0) we int latch D16950 datai datao wr intr rxy txy out1 out2 clk rst rclk bdout so si rts dtr dsr dcd cts ri clksel intsel fifosel EIA Drivers Work mode selectors rts cts dtr dsr dcd ri out1 out2 clksel baudout clk rst Modem control logic Baud Generator Transmitter Control Shift Register TX Buffer RTX FIFO Interrupt Controller D E S I G N F E A T U R E S so int inten intsel The functionality of the D16950 core is based on the Oxfo Semiconductor s OX16C950. The following characteristi differentiate the D16950 from Oxfo Semiconductor s devices: The bidirectional data bus has been split into two separate buses: datai (7:0), datao (7:0) The DLL, DLM and THR register are reset to all zeros TEMT and THRE bits of Line Status Register, are reset during the second clock rising edge following a THR write Fully synthesizable static design with no internal tristate buffers All latches implemented in original 16950 devices are replaced by equivalent flipflop registers, with the same functionality P I N S D E S C R I P T I O N PIN TYPE DESCRIPTION reset input Global reset clk input Global clock rclk input Receiver clock clksel input Clock prescaler enable datai input Parallel data input input Address bus wr input Write input input Read input input Chip select input si input Serial data input cts input Clear to send input dsr input Data set ready input dcd input Data carrier detect input ri input Ring indicator input fifosel input Defines FIFO size intsel input Interrupt select baudout output Baud rate output int output Interrupt request output inten output Enable signal for INT buff. datao output Parallel data output ddis output Driver disable output txy output Transmitter ready output rxy output Receiver ready output so output Serial data output rts output Request to send output dtr output Data terminal ready output out1 output Output 1 out2 output Output 2 out2 output Output 2 Note: When RCLK and BAUDCLK pins are enabled, frequency should be at least two times lower than CLK, 2*f RCLK< f CLK 3

SDLC Synchronous Transmission FIFO Size (Bytes) Separate BAUD Clock l Soft Flow Control Xon/Xoff RTS/CTS Flow Control MODEM Control False START detection Complete status report Internal diagnostic Prioritized interrupts Break gen. and detect HalfDuplex RS485 IRDA Port 1284 Parallel Port D C D S U A R T F A M I L Y O V E R V I E W The family of DCD s UART IP Cores combines high performance, low cost and a small compact size, offering best price/performance ratio in the IP Market. DCD s Cores are designed to be used in costsensitive consumer products, such as computer peripherals, office automation, automotive control systems, security and telecommunication applications. Our Cores are written in pure VHDL/VERILOG HDL languages, which makes them technologically independent. All DCD s UART IP Cores can be fully customized accoing to customer s needs. Design DUART D2692 2*8 D16450 * * D16550 2* 16 * * D16750 2* 64 * * * D16552 2* 16 D16752 2* 64 * * * D16950 2* 128 * D85C30 4 *Optional U N I T S S U M M A R Y Data Bus Buffer The data Bus Buffer accepts inputs from the system bus and generates control signals for other D16950 functional blocks. Address bus ADDR (2:0) selects one of the register to be read from/written into. Both RD and WE signals are active low and are qualified by CS; RD and WE are ignored, unless the D16950 has been selected by holding CS low. Baud Generator The D16950 contains a programmable 16 bit baud generator that divides clock input by a divisor, in the range between 1 and (2 16 1). Two 8bit registers, called divisor latches DLL and DLM, store the divisor in a 16bit binary format. These divisor latches must be loaded during initialization of the D16950, in oer to ensure desired operation of the baud generator. When either of the divisor latches is loaded, a 16bit baud counter is also loaded on the CLK rising edge, following the write to DLL or DLM, to prevent long counts on initial load. In addition, prescaler register is provided, which can further divide the clock by values in the range 1,0 to 31,875 in steps of 0,125. Other additional option is the Time Clock Register (TCR), which allows set the sampling clock between 4 and 16 values. This option of baud rate enables any input clock frequency up to 60MHz. Modem Control Logic controls the interface with the MO DEM or data set (or a peripheral device emulating a MO DEM). Interrupt Controller D16950 contains fully prioritized interrupt system controller. It is enabled by INTSEL pin. It controls interrupt requests to the CPU and interrupt priority. Interrupt controller contains Interrupt Enable (IER) and Interrupt Status (ISR) registers. Receiver Control Receiving starts, when the falling edge on Serial Input (SI) during IDLE State is detected. After starting the SI input is sampled every 16 internal baud cycles, as it is shown in figure on the previous page. When the logic 1 state is detected during START bit, it means, that the False Start bit was detected and receiver is back to the IDLE state. Receiver FIFO The R x FIFO is 128 levels deep, it receives data, until the number of bytes in the FIFO equals the selected interrupt trigger level. At that time, if Rx interrupts are enabled, the UART will issue an interrupt to the CPU. The Rx FIFO will continue to store bytes, until it is full and will not accept any more bytes. Any further data entering the R x shift register, will set the Overrun Error flag. Transmitter Control Controls transmission of written to THR (Transmitter Holding register) character via serial output SO. The new transmission starts on the next overflow signal of internal baud generator, after writing to THR register or Transmitter FIFO. Transmission control contains THR register and transmitter shift register. Transmitter FIFO the T x portion of the UART transmits data through SO, as soon as the CPU loads a byte into the T x FIFO. The UART will prevent loads to the Tx FIFO; if it currently holds 128 characters (depending on FCR (5) bit value and selected FIFO size). Loading to the T x FIFO will be enabled again, as soon as the next character is transferred to the T x shift register. These capabilities account for the largely autonomous operation of the T x. The UART starts the above operations typically with a T x interrupt. 4

P E R F O R M A N C E The following table gives a survey about the Core area and performance in INTEL FPGA devices, after Place Route: Device Speed MEMORY Logic Cells grade Bits F max ARIA GX 6 709/441 2 560 172 MHz ARIA V 6 707/441 2 560 180 MHz CYCLONE 6 1041 2 560 123 MHz CYCLONE2 6 984 2 560 127 MHz CYCLONE3 6 982 2 560 115 MHz CYCLONE4 6 1041 2 560 195 MHz CYCLONE5 6 707/441 2 560 159 MHz STRATIX 5 1041 2 560 127 MHz STRATIX2 3 679 2 560 185 MHz STRATIX3 2 680 2 560 222 MHz STRATIX4 2 716/478 2 560 335 MHz STRATIX5 2 719/491 2 560 340 MHz STRATIX GX 5 1041 2 560 118 MHz STRATIX2 GX 3 681 2 560 190 MHz Core performance in INTEL FPGA devices C O N T A C T Digital Core Design Headquarters: Wroclawska 94, 41902 Bytom, POLAND email: info@dcd.pl tel.: 0048 32 282 82 66 fax: 0048 32 282 74 37 Distributors: Please check: http://dcd.pl/sales 5