Synchronizing Multiple ADC08xxxx Giga-Sample ADCs

Similar documents
Laboratory 4. Figure 1: Serdes Transceiver

Dual Link DVI Receiver Implementation

2.6 Reset Design Strategy

Features. For price, delivery, and to place orders, please contact Hittite Microwave Corporation:

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

ECEN689: Special Topics in High-Speed Links Circuits and Systems Spring 2011

Combinational vs Sequential

Chapter 4: One-Shots, Counters, and Clocks

Clocking Spring /18/05

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Introduction to Sequential Circuits

SignalTap Plus System Analyzer

4-BIT PARALLEL-TO-SERIAL CONVERTER

HMC-C060 HIGH SPEED LOGIC. 43 Gbps, D-TYPE FLIP-FLOP MODULE. Features. Typical Applications. General Description. Functional Diagram

Scan. This is a sample of the first 15 pages of the Scan chapter.

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

Quad ADC EV10AQ190A Synchronization of Multiple ADCs

Logic Design Viva Question Bank Compiled By Channveer Patil

Single Channel LVDS Tx

Chapter 5 Flip-Flops and Related Devices

Identifying Setup and Hold Violations with a Mixed Signal Oscilloscope APPLICATION NOTE

Memory Interfaces Data Capture Using Direct Clocking Technique Author: Maria George

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

AN-822 APPLICATION NOTE

EITF35: Introduction to Structured VLSI Design

A MISSILE INSTRUMENTATION ENCODER

SMPTE-259M/DVB-ASI Scrambler/Controller

D Latch (Transparent Latch)

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Digital Circuits I and II Nov. 17, 1999

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

Dual Link DVI Receiver Implementation

Asynchronous (Ripple) Counters

Memory Interfaces Data Capture Using Direct Clocking Technique Author: Maria George

DIGITAL ELECTRONICS MCQs

Chapter 7 Sequential Circuits

ASNT8140. ASNT8140-KMC DC-23Gbps PRBS Generator with the (x 7 + x + 1) Polynomial. vee. vcc qp. vcc. vcc qn. qxorp. qxorn. vee. vcc rstn_p.

How to Use a Mixed Signal Oscilloscope to Test Digital Circuits

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Digital Fundamentals

How to Use a Mixed Signal Oscilloscope to Test Digital Circuits APPLICATION NOTE

NOT RECOMMENDED FOR NEW DESIGNS ( 1, 2/3) OR ( 2, 4/6) CLOCK GENERATION CHIP

ASNT_PRBS20B_1 18Gbps PRBS7/15 Generator Featuring Jitter Insertion, Selectable Sync, and Output Amplitude Control

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

GHz Sampling Design Challenge

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Chapter 4. Logic Design

Asynchronous inputs. 9 - Metastability and Clock Recovery. A simple synchronizer. Only one synchronizer per input

Digital Electronics II 2016 Imperial College London Page 1 of 8

DEDICATED TO EMBEDDED SOLUTIONS

Lecture 11: Sequential Circuit Design

Microcontrollers and Interfacing week 7 exercises

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1

Timing Pulses. Important element of laboratory electronics. Pulses can control logical sequences with precise timing.

System IC Design: Timing Issues and DFT. Hung-Chih Chiang

FLIP-FLOPS AND RELATED DEVICES

64CH SEGMENT DRIVER FOR DOT MATRIX LCD

Ultra ATA Implementation Guide

DIFFERENTIAL CLOCK D FLIP-FLOP

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Counter dan Register

WINTER 15 EXAMINATION Model Answer

Chapter 2 Clocks and Resets

Clock Domain Crossing. Presented by Abramov B. 1

CPS311 Lecture: Sequential Circuits

EE141-Fall 2010 Digital Integrated Circuits. Announcements. Homework #8 due next Tuesday. Project Phase 3 plan due this Sat.

Project 6: Latches and flip-flops

EECS150 - Digital Design Lecture 15 Finite State Machines. Announcements

AD9884A Evaluation Kit Documentation

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

ASNT8142-KMC Generator of DC-to-23Gbps PRBS with Selectable Polynomials

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

Keeping The Clock Pure. Making The Impurities Digestible

CS8803: Advanced Digital Design for Embedded Hardware

FSM Cookbook. 1. Introduction. 2. What Functional Information Must be Modeled

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

RS flip-flop using NOR gate

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

PEEL 18CV8-5/-7/-10/-15/-25 CMOS Programmable Electrically Erasable Logic Device

The NOR latch is similar to the NAND latch

HMC-C064 HIGH SPEED LOGIC. 50 Gbps, XOR / XNOR Module. Features. Typical Applications. General Description. Functional Diagram

High-Performance DDR2 SDRAM Interface Data Capture Using ISERDES and OSERDES Author: Maria George

MC9211 Computer Organization

RS flip-flop using NOR gate

A New Hardware Implementation of Manchester Line Decoder

EE141-Fall 2010 Digital Integrated Circuits. Announcements. Synchronous Timing. Latch Parameters. Class Material. Homework #8 due next Tuesday

Generation and Measurement of Burst Digital Audio Signals with Audio Analyzer UPD

EVALUATION KIT AVAILABLE Multirate SMPTE SD/HD Cable Driver with Selectable Slew Rate TOP VIEW +3.3V. 10nF IN+ IN- MAX3812 SD/HD GND RSET +3.

PESIT Bangalore South Campus

Counters

Switching Solutions for Multi-Channel High Speed Serial Port Testing

SN54273, SN54LS273, SN74273, SN74LS273 OCTAL D-TYPE FLIP-FLOP WITH CLEAR

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Transcription:

Application Bulletin July 19, 2010 Synchronizing Multiple 0xxxx Giga-Sample s 1.0 Introduction The 0xxxx giga-sample family of analog-to-digital converters (s) make the highest performance data acquisition systems possible at very low power which is often the limiting factor in such systems. There is often a need to sample multiple signals in parallel and time-alignment of these multiple channels is quite a challenge in such waveform recording applications. This is a recognized system level issue and this note is not about how to completely align multiple data acquisition channels. s such as the National Giga-sample family, that demux the data in order to reduce the output data rate, introduce an additional consideration to this task. This is because there is now added uncertainty about the correspondence between the CLK input and the CLK output of the 2 or more s in a system regardless of whether they are sampling in parallel or in interleaved manner. The 0xxxx family of products offers a CLK_RST input that allows synchronization of multiple s to remove this uncertainty. This is a difficult task to accomplish in a board design, however, due to the very high clock speeds involved. This note provides additional details of how one might accomplish this task. 2.0 The Multi-Channel Application Vin1 01500 d1 1 Vin2 CLK12 d2 2 Vin3 01500 d3 3 Vin4 CLK34 d4 4 CLK Figure 1 A 4-channel 1.5Gs/s igital Scope Application of the 01500 2010 National Semiconductor Corporation Page 1 of 7 CS-AB0612-RS-JB

Figure 1 shows a simple block diagram of two 01500 dual converters being used in a 4-channel digital oscilloscope application. Sampling clock is shared amongst the four channels. However, there are two different CLKs from the two chips CLK12 and CLK34. Figure 2a shows how, upon each power-up, CLK12 and CLK34 may have a different time relationship with the common sampling clock; or it is equally possible that they may not thus the uncertainty. Figure 2b shows how by synchronizing with CLK_RST, CLK12 and CLK34, and their associated data busses, can be time-aligned in units of CLK periods. In these figures the SR (singledata-rate) clock operation is shown and OutEdge=1 is assumed. The effect would be the same in other CLK configurations. CLK CLK12 1/2 CLK34 3/4 Fig. 2a Two devices outputs out of synchronization CLK34 3/4 Fig. 2b Two devices outputs in synchronization [ Note: SR mode operation shown; OutEdge=1; Effect of Tod variation ommitted ] Figure 2 The multichannel synchronization problem Figures 2a and 2b omit an important timing consideration since they are drawn roughly in units of CLK cycles: the CLK-input-to-ata-Output delay Tod. Tod can vary significantly on a given device and also from device-to-device. In fact, depending on CLK frequency being used, maximum possible Tod variation can be greater than one CLK cycle. For this reason, the data busses from each device should be captured into the ASIC or FPGA with the CLK from the same device. In the FPGA, separate ata FIFOs should be employed for each channel and the data streams from the two discrete devices (i.e., 1 and 2 versus 3 and 4) should be deskewed by varying the relative Read Clock timing of the FIFOs. Page 2 of 7

3.0 CLK Reset Function and Timing Once the system has powered-up and stabilized, the multiple devices should be synchronized by resetting the CLK generation logic with the CLK_RST signal. This has to be done synchronous with the CLK input and thus there is a demanding timing requirement. Figure 3 shows the CLK_RST function and timing. Reset Synchronizing Edge CLK+ #1 #2 #3 #4 (First Synchronized Edge) CLK Tod ata Trh CLK_RST Trs Assertion Region - asynchronous SAFE Region #3 synchronous wrt rising edge #3 of CLK+ Figure 3 CLK Reset Function and Timing When the CLK_RST is asserted by the user, the device disables the CLK output. If the R mode of operation is selected, then CLK is held in the positive state. In the SR mode, the state of the disabled CLK depends upon the OutEdge pin or register bit. CLK and the ata bus are enabled again upon deassertion of CLK_RST. CLK_RST can be asserted asynchronously. Minimum duration of CLK_RST is specified in the datasheet (Trpw). The device times the deassertion edge of CLK_RST with the CLK input and thus CLK_RST signal must meet setup and hold time requirements with respect to it. In Figure 3, deassertion of CLK_RST will be captured by the device with CLK (rising) edge #3 if (a) CLK_RST signal deasserts no later than Trs before edge #3 AN (b) no earlier than Trh after edge #2. In other words, CLK_RST deassertion edge must occur within the SAFE region indicated in the diagram. If these conditions are met at the pins of both devices, then edge #4 will be the first synchronized edge and will provide the synchronized CLK output after delay Tod. SAFE Region Width = Tcyc (Trs + Trh) [where, (Trs + Trh) = Transition Region] Condition (a) is the setup condition and condition (b) is the hold condition. If either of these conditions is violated then the two devices may synchronize with different edges of CLK and not achieve synchronization amongst them. Trs and Trh are not production tested on the 0xxxx devices. Therefore, their minimum values cannot be guaranteed. Typical values for these parameters at room temperature and nominal Supply voltage are: Trs = 35 psec; Trh = -5 psec => Transition Region = 30 psec Page 3 of 7

Limited testing of these devices and simulations indicate that over a range of operating conditions and process spread the minimum values for these parameters can be expected to be: Trs = 0 psec; Trh = 40 psec => Transition Region = 120 psec It must be stressed that these are not guaranteed specification values, but rather design guidelines. These values indicate following safe region widths as a function of CLK frequency: CLK Frequency Tcyc SAFE region 500 MHz 2.0 ns 1. ns 750 MHz 1.33 ns 1.21 ps 1.0 GHz 1.00 ns 0 ps 1.25 GHz 00 ps 60 ps 1.50 GHz 667 ps 547 ps It should be clear from this table that synchronizing multiple s above Fs = 1 GHz is a challenging feat. Figure 4 shows the general scheme that can be used to generate the CLK_RST signal. ASIC/FPGA ata CLK+/- iv. 2 SET CLK_RST CLK 2 To the other through another, matched FF3 + Level Translation circuit Level Translation Synch Matched elays FF3 [MC10EP52] BUF1 [MC10EP11] FF2 [MC10EP51] FF1 Reset SYS_CLK 2 Figure 4 Generating the CLK Synch Signal The reset generation circuit generally originates in an ASIC or FPGA that is also the device receiving the s output data. Therefore, the CLK signal is available to time the CLK_RST signal. However, as Figure 3 shows, CLK is stopped during the reset process - making it impractical to time CLK_RST with CLK. There Page 4 of 7

are digital PLLs available in many FPGA and ASIC technologies that can be employed to generate a replica of CLK that can remain operational even when CLK signal is momentarily stopped. These PLL facilities also make it possible to skew one signal with respect to another, so the replica CLK s phase could be adjusted to make the CLK_RST signal s timing better match the s setup time requirements. As a general case, however, we must assume that for the purpose at hand the reset generation circuit in the ASIC/FPGA is timed by a System Clock (SYS_CLK) that is asynchronous with respect to the s CLK input. Therefore, in Figure 4 this signal is double-synchronized by FF2 and FF3 by the CLK signal. FF2 and FF3 are high-speed, differential PECL flip-flops such as the MC10EP52 from ON Semiconductor. These devices are capable of operating at frequencies up to 4 GHz. Their typical CLK-> propagation delay (Tpd) of 330psec is guaranteed to vary no more than 160 ps over process and temperature. With this amount of variation, it is possible to meet the s Trs/Trh setup and hold time requirements. Note, however, that it requires very careful delay adjustment and matching in the board design. The output of the second PECL flip-flop has to be level-shifted to match the s input requirements. The CLK_RST input on the 0xxxx devices is a digital CMOS input. Scaling the PECL signal to CMOS, even at 1.9V Supply levels of the 0xxxx family, requires active circuitry because of the signal gain that is required in addition to the level shift. A conceptual circuit is shown in Figure 5 (this circuit has not been built and verified). This circuit requires a very highspeed comparator that can support a signal rise time of less than 1ns. +3.3V +5V LVPECL 50 +5V 2.1K 2.7K + - 137 High-speed Comparator 2 To ifferential Receiver Repeat of above circuit 50 Figure 5 Conceptual LVPECL-to-CMOS level translation circuit Page 5 of 7

4.0 Improved CLK_RST Timing The latest members of the 0xxxx family, the 01020 and 01520, have improved the CLK_RST input in order to make it easier for the board design to accomplish the very tight reset timing explained in Section 3.0. The CLK_RST input can be optionally configured (see footnote ) as a differential input. In this differential configuration, the CLK_RST+/- input is better matched to the CLK+/- input and the board level CLK_SYNC signal s PECL voltages can be level-shifted with a simpler, passive circuit. The result is significantly better timing margin as shown here: Tcyc @ 1.5GHz = 667 ps Transition Region = -120 ps ------- Allowance for timing variation = 547 ps (SAFE Region) -Flipflop timing variation = -160 ps Trace mismatch and delay variation =- 90 ps Level translator and other = - 50 ps ------- System Margin = 247 ps On the 01020/1520, the CLK+/- differential input is provided on pins 15(+) and 14(-) and the electrical specifications are as follows (the signal must be dccoupled and 100-ohm termination resistor must be applied as close as possible to the pins): ifferential Amplitude (Vid) = Common Mode Voltage (Vcm) = 0.4V to 2.0V (0.6V nominal) peak-to-peak 1.2V nominal (1.0V to 1.4V worst-case) Figure 6 shows the level translator circuit required to adapt the PECL output of the -FF to the LVS input of the 01020/1520. -FF 01020/1520 3.3V Voh-max = 2.54V Vol-min = 1.365V Vdiff = 1.6Vp-p nom. 1.9V LVPECL R1 R1 100 ohms iff. Rx R2 R2 Vdiff = 0.6Vp-p nom. Vcm = 1.2V nom. R1 = 54.9 ohms R2 = 95.3 ohms Figure 6 PECL to 01020/1520 s LVS-Like ifferential Input Pin 52 = Low makes pin 14 the CLK_RST- input. FSR input is now internally set at High level and the Serial Interface is not enabled. To enable the Serial Interface, set Pin 41 = Low. Page 6 of 7

5.0 Alternative method for resetting CLK In those board designs where it may be possible to disable and enable the CLK signal, an alternative reset scheme is possible. Figure 7 illustrates this scheme. Reset Synchronizing Edge (First Synchronized Edge) CLK+ Relaxed setup time CLK_RST CLK Tod ata Figure 7 Synchronizing by stopping and restarting the Clock Essentially, once CLK_RST is asserted you stop the CLK signal, deassert the CLK_RST and then start the CLK signal again allowing generous amount of time to satisfy the Trs setup time requirement. The challenge with this scheme, however, is the ability to cleanly start the CLK+/- signal i.e., without violating the CLK Pulse Low and High (Tcl and Tch) time requirements. The following rules must be observed when implementing this scheme: 1. Once the CLK_RST signal is asserted, CLK+/- must cycle (low-then-high, or high-then-low) at least once before being disabled. 2. The CLK+/- signal, when disabled, may be held in the low or high state 3. The CLK+/- signal must be disabled less than 30 ns if the device s duty cycle stabilizer function is being used. 4. No narrow pulses are allowed when the CLK+/- signal is enabled again - i.e., the minimum clock pulse (Tpl/Tph) timing requirements must be met. 5. To prevent the AC coupled CLK+/- inputs from de-biasing while the CLK is stopped, the AC coupling capacitors should be 100 nf or higher. 6.0 Conclusion Synchronizing multiple s is a difficult problem in very high speed multichannel data acquisition systems. It is shown that with careful design this task can be accomplished with National s Gigasample family of products and the latest members of this family have improved circuitry to ease this task. Page 7 of 7