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

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

How to Use a Mixed Signal Oscilloscope to Test Digital Circuits

Troubleshooting Analog to Digital Converter Offset using a Mixed Signal Oscilloscope APPLICATION NOTE

Analyzing 8b/10b Encoded Signals with a Real-time Oscilloscope Real-time triggering up to 6.25 Gb/s on 8b/10b encoded data streams

Quick Signal Integrity Troubleshooting with Integrated Logic Analyzers & Oscilloscopes

Debugging a Mixed Signal Design with a Tektronix Mixed Signal Oscilloscope

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

Limit and Mask Test Application Module

Automated Limit Testing

Logic Analyzer Triggering Techniques to Capture Elusive Problems

5 Series MSO Serial Triggering and Analysis Applications 5-SRAUDIO, 5-SRAUTO, 5-SRCOMP, and 5-SREMBD Datasheet Serial triggering

Timesaving Tips for Digital Debugging with a Logic Analyzer

Video Reference Timing with Tektronix Signal Generators

How-To Guide. LQV (Luminance Qualified Vector) Measurements with the WFM8200/8300

The XYZs of Logic Analyzers

Electrical Sampling Modules Datasheet 80E11 80E11X1 80E10B 80E09B 80E08B 80E07B 80E04 80E03 80E03-NV

PatternPro Error Detector PED3200 and PED4000 Series Datasheet

Low Cost, High Speed Spectrum Analyzers For RF Manufacturing APPLICATION NOTE

Tektronix Logic Analyzer Probes P6900 Series Datasheet for DDR Memory Applications

SignalCorrect Software and TCS70902 Calibration Source Option SC SignalCorrect software

40 Gb/s PatternPro Programmable Pattern Generator PPG4001 Datasheet

Arbitrary Waveform Generators AWGSYNC01 Synchronization Hub Datasheet

C-PHY Essentials Transmitter Test Solution TekExpress C-PHY Essentials Tx

46 GBaud Multi-Format Optical Transmitter

Black and Frozen Frame Detection

Serial Triggering and Analysis Applications. Bus display. Bus decoding. Key features. Results table. Wave Inspector search

Dual Scope Synchronization

40 Gb/s PatternPro Programmable Pattern Generator PPG4001 Datasheet

Troubleshooting Your Design with Tektronix MSO and DPO Series Oscilloscopes

The Benefits of External Waveform Monitors in Color Correction for Video. Application Note

Electrical Sampling Modules

Memory Interface Electrical Verification and Debug

PAM4 Transmitter Analysis

Memory Interface Electrical Verification and Debug

The use of Time Code within a Broadcast Facility

Serial Triggering and Analysis Application Modules

Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details

Tektronix Video Signal Generators

Spearhead Display. How To Guide

Keysight Technologies Using Oscilloscope Segmented Memory for Serial Bus Applications. Application Note

Keysight Technologies Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details. Application Note

CAN, LIN and FlexRay Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes

Memory Interface Electrical Verification and Debug DDRA Datasheet

Keysight Technologies RS-232/UART Triggering and Hardware-Based Decode (N5457A) for InfiniiVision Oscilloscopes

Keysight Technologies Segmented Memory Acquisition for InfiniiVision Series Oscilloscopes. Data Sheet

100G and 400G Datacom Transmitter Measurements

MPEG Solutions. Transition to H.264 Video. Equipment Under Test. Test Domain. Multiplexer. TX/RTX or TS Player TSCA

Network Line Card Testing using the TDS3000B DPO Application Note. Line Card Testing Example: Throughput = Shippable Dollars

RS-232/UART Triggering and Hardware-Based Decode (N5457A) for Agilent InfiniiVision Oscilloscopes

Data Pattern Generator DG2020A Data Sheet

Video Quality Monitors Sentry Edge II Datasheet

MSO/DPO Series Oscilloscopes. Feature-rich tools for debugging mixed signal designs

Automatic Changeover Unit ECO8000 Datasheet

Agilent Technologies N5454A Segmented Memory Acquisition for Agilent InfiniiVision Series Oscilloscopes

Memory Interface Electrical Verification and Debug DDRA DDR-LP4 Datasheet

Artisan Scientific is You~ Source for: Quality New and Certified-Used/Pre:-awned ECJuiflment

Data Pattern Generator

TLA5000B Series logic analyzers combine debug power with simplicity and affordability

Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster

Automatic Changeover Unit ECO8020 Datasheet

Video Quality Monitors

Memory-Depth Requirements for Serial Data Analysis in a Real-Time Oscilloscope

Optical Sampling Modules 80C01 80C02 80C07B 80C08C 80C10 80C11 80C12

Logic Analysis Fundamentals

Time-Saving Features in Economy Oscilloscopes Streamline Test

Troubleshooting and Analyzing Digital Video Signals with CaptureVu

CAN/LIN Measurements (Option AMS) for Agilent s InfiniiVision Series Oscilloscopes

Keysight Technologies Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster. Application Note

Keysight Technologies Decoding Automotive Key Fob Communication based on Manchester-encoded ASK Modulation

MultiView Zoom Simplifies Navigation of Long Records to Speed Debugging and Analysis

Keysight Technologies Oscilloscope Memory Architectures Why All Acquisition Memory is Not Created Equal. Application Note

Using Triggered Video Capture to Improve Picture Quality

Accuracy Delta Time Accuracy Resolution Jitter Noise Floor

FlexRay Physical Layer Eye-diagram Mask Testing

Selecting the Right Oscilloscope for Protocol Analysis Applications

Logic Analysis Basics

Mixed Analog and Digital Signal Debug and Analysis Using a Mixed-Signal Oscilloscope Wireless LAN Example Application

Logic Analysis Basics

Optical Sampling Modules 80C02 80C07B 80C08C 80C10 80C10B 80C11 80C12

Evaluating Oscilloscope Mask Testing for Six Sigma Quality Standards

Obsolete Product(s) - Obsolete Product(s)

How to Guide. Closed Caption Monitoring. WFM6120/7020/7120 & WVR6020/7020/7120 Version Software

Understanding. FFT Overlap Processing. A Tektronix Real-Time Spectrum Analyzer Primer

Using FastFrame Segmented Memory

HCF4054B 4 SEGMENT LIQUID CRYSTAL DISPLAY DRIVER WITH STROBED LATCH FUNCTION

Keysight Technologies Achieve High-Quality Compliance Test Results Using A Top-Quality Test Fixture. Application Note

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

Evaluating Oscilloscopes for Best Signal Visibility

Measuring and Interpreting Picture Quality in MPEG Compressed Video Content

Keysight Technologies ad Integrated RF Test Solution

Keysight Technologies N4974A PRBS Generator 44 Gb/s. Data Sheet

Coherent Lightwave Signal Analyzer

HCF40193B PRESETTABLE UP/DOWN COUNTERS (DUAL CLOCK WITH RESET) BINARY TYPE

Agilent N5183A MXG Microwave Signal Generator

Comprehensive Production Tool Solution for 4K/UHD, WCG and HDR Content Creation PRISM Datasheet

Ethernet SFP+ QSFP+ Tx Compliance & Debug Solution SFP-TX, SFP-WDP Datasheet

Video Quality Monitors Sentry Edge Datasheet

Keysight Technologies Mixed Analog and Digital Signal Debug and Analysis Using a Mixed-Signal Oscilloscope

Analog Dual-Standard Waveform Monitor

Installation Instructions. What This Option Provides

Transcription:

Identifying Setup and Hold Violations with a Mixed Signal Oscilloscope

Introduction Timing relationships between signals are critical to reliable operation of digital designs. With synchronous designs, the timing of the clock signal relative to data signals is especially important. Using a mixed signal oscilloscope, the timing relationships between multiple logic inputs and a clock signal can easily be determined. Setup & Hold triggering automates this clock-to-data timing determination. t setup t hold t setup t hold Clock OK Data Setup Violation Based on their ability to capture both analog and digital representations of signals and display them in a time-correlated format, mixed signal oscilloscopes (MSOs) are ideal for verifying the signal integrity of the digital signals and debugging digital circuits. The Tektronix 5 Series MSO and MSO2000 and MSO5000 Series of mixed signal oscilloscopes combine the performance of a Tektronix oscilloscope with the basic functions of a logic analyzer. The Tektronix MDO3000 and MDO4000 Series mixed domain oscilloscopes also offer 16-channel logic analyzer capabilities. Throughout this application note, any features or capabilities referred to in MSOs are also available in MDO products. For information on the features in each series, please see Appendix A or visit www.tektronix.com. Hold Violation Setup Time is the time the input data signals are stable (either high or low) before the active clock edge occurs. Hold Time is the time the input data signals are stable (either high or low) after the active clock edge occurs. Setup and Hold Times are specified in component data sheets for synchronous devices (such as flip-flops) and must be met to assure that the component will behave correctly and reliably. THIS Explains the basic setup of a mixed signal oscilloscope (MSO) Tells how to interpret the logic signal display on a Tektronix MSO Explains how to easily identify and measure setup and hold violations in digital designs using an MSO 2 WWW.TEK.COM/5SeriesMSO

MSO Setup UNDERSTANDING DIGITAL TIMING RESOLUTION (DIGITAL SAMPLE RATE) An important MSO acquisition specification is the timing resolution used for capturing digital signals. The sample rate varies between MSO models. It is important to understand your timing measurement resolution, especially when making judgments on setup and hold times. DIGITAL TIMING RESOLUTION RECORD LENGTH 5 Series MSO 160 ps 62.5 Mpoints, 125 Mpoints opt. MSO5000 Series MDO4000 Series MDO3000 Series Main acquisition 2 ns 25 Mpoints, up to 250 Mpoints opt. MagniVu acquisition 60.6 ps 10,000 points Main acquisition 2 ns 20 Mpoints MagniVu acquisition 60.6 ps 10,000 points Main acquisition 2 ns 10 Mpoints MagniVu acquisition 121.2 ps 10,000 points MSO2000 Series 1 ns (2 ns when two probes are used) 1 Mpoints Several Tektronix series offer MagniVu high speed acquisition. MagniVu acquisition provides high timing resolution with up to a 10,000 point record length centered on the trigger. WWW.TEK.COM/5SeriesMSO 3

FIGURE 1. Quick verification of the logic signal amplitude using automated measurements. SETTING DIGITAL THRESHOLDS A mixed signal oscilloscope s digital channels view a digital signal as either a logic high or logic low, just like a digital circuit views the signal. This means as long as ringing, overshoot and ground bounce do not cause logic transitions, these analog characteristics are not of concern to the MSO. Just like a logic analyzer, an MSO uses a user-specified threshold voltage to determine if the signal is logic high or logic low. The MSO s analog channel can be used to quickly check the logic swing of your digital signal. In Figure 1, the oscilloscope automatically measures the digital signal amplitude as about 3.6 V. For logic families with symmetrical voltage swings like CMOS, the threshold is at half of the signal amplitude. However, for logic families with asymmetrical voltage swings like TTL (Transistor- Transistor Logic), you typically need to consult the component data sheet and define the threshold as half-way (TTL V threshold = 1.4V) between the logic device s maximum low-level input voltage (TTL V IL = 0.8V) and minimum high-level input voltage (TTL V IH = 2.0V) values. 4 WWW.TEK.COM/5SeriesMSO

FIGURE 2. Mixed logic families (TTL & CMOS) threshold settings on the same TLP058 digital logic probe pod. Most Tektronix MSOs provide per-channel threshold settings that are useful in debugging circuits with mixed logic families. Figure 2 shows the 5 Series MSO measuring multiple logic signals with an 8-channel TLP058 probe. The TTL signal threshold is set to 1.7 V, the 3.3 V CMOS signal thresholds are set to 1.65V, and the 5 V CMOS signal thresholds are set to 2.5 V, enabling reliable acquisition of the various logic signals at the same time. For the MSO2000 and MDO3000 Series, the thresholds are adjusted per probe pod (a grouping of 8 channels) and therefore, the TTL signals would be on one pod while the LVPECL signals would be on the second pod. WWW.TEK.COM/5SeriesMSO 5

FIGURE 3. Probe color coding matches waveform color coding, making it easier to see which signals corresponds to which test point. INTERPRETING THE COLOR-CODED DIGITAL WAVEFORM DISPLAY Digital timing waveforms look very similar to analog waveforms except only logic highs and lows are shown. To make analysis easier, Tektronix MDO/ MSO oscilloscopes show logic lows as blue and logic highs as green on the digital waveforms, allowing you to see the logic value even if a transition is not visible. The waveform label color also matches the probe color-coding to make it easier to see which signal corresponds to which test point, as shown in Figure 3. 6 WWW.TEK.COM/5SeriesMSO

FIGURE 4. Example of a timing acquisition on the MDO/MSO Series. Three parallel buses have been defined and decoded using the device s clock signal. The digital timing waveforms can be grouped to create a bus. One digital signal is defined as the least significant bit and the other digital signals represent the other bits of the binary value up to the most significant bit. The oscilloscope will then decode the bus into a binary or hex value. WWW.TEK.COM/5SeriesMSO 7

FIGURE 5. Analog channel time aligned with the digital channel. REMOVING TIMING SKEW BETWEEN CHANNELS Every Tektronix MDO/MSO Series oscilloscope has a compatible logic probe. To simplify digital measurements, the oscilloscope compensates for the propagation delay of the logic probe. Therefore, there are no digital channel probe deskew adjustments. However, for better time-correlation measurements between the analog and digital waveforms, it s important to remove the analog to digital time skew. In the example shown in Figure 5, to align the analog channels with the digital channels, the 2 V (50% amplitude) position on the analog waveform is time-aligned with the digital signal transitions which occur at the 2 V threshold. The deskew value is manually adjusted to align the analog channel to the digital channel. This deskew process needs to be repeated for any other analog channels. Analog channel skews should be checked when the analog probes are changed and the digital thresholds should be checked when measuring a different logic family. With the threshold and skews configured, the oscilloscope is ready for verifying and debugging digital circuits. 8 WWW.TEK.COM/5SeriesMSO

FIGURE 7. This 74HCT74 flip-flop appears to be working as expected. Clock D Input Q Output FIGURE 6. Example of flip-flop behavior. FLIP-FLOP TIMING MEASUREMENTS The simplest synchronous logic device is a flip-flop. The logic state of the D Input appears at the Q Output only after the rising clock edge (after the D-Flip-Flop propagation delay). An MSO is an ideal tool to verify the operation of a flip-flop and debug digital circuits. At first glance, as shown in Figure 7, the flip-flop looks like it is working as expected. The data signal has been stable for several nanoseconds before the rising edge of the clock, and the data remains stable for many nanoseconds after the clock edge. The propagation from clock edge to the Q output is about 6 ns. WWW.TEK.COM/5SeriesMSO 9

FIGURE 8. Setup time violation on a 74HCT74 flip-flop results in no change in Q output. But Figure 8 shows an instance where the data signal is transitioning just 300 ps before the clock edge, well below the 15 ns setup time specification a setup time violation. Notice that the Q output does not change state as expected. Notice the gray regions around the signal transitions in Figure 8. The MSO displays these regions to indicate the timing uncertainty related to the digital sample rate. 10 WWW.TEK.COM/5SeriesMSO

FIGURE 9. Hold time violation on a 74HCT74 flip-flop results in no change in Q output. Figure 9 shows an instance where the data signal is transitioning about 300 ps after the clock edge. This is well below the 3 ns hold time specification a hold time violation. Again, notice that the Q output does not change state as expected. WWW.TEK.COM/5SeriesMSO 11

FIGURE 10. Automatic Setup and Hold violation triggering on a 74LVCG74 flip-flop captures many errors. Capturing Setup and Hold Violations MSOs have a specialized trigger mode designed to automatically capture every setup and/ or hold violation. The setup and hold trigger measures the timing relationship between the clock and data signal (or, with some MSOs, data signals) and captures signals when the setup time or hold time is below the specification. This capability simplifies debug, but also can be used for unattended monitoring of a design. After consulting the 74LVCG74 component data sheet, the setup and hold trigger parameters (2 ns and 1 ns, respectively) are set to capture any violations, as shown in Figure 10. The MSO automatically triggers on the first input condition that violates the specified parameters. 12 WWW.TEK.COM/5SeriesMSO

FIGURE 11. Pulse Width triggering captures a narrow glitch on the output of a 74LS74 flip-flop. In the previous example, setup and hold triggers were used on the inputs to the flip-flop. Another approach is to trigger on signal errors on the output of the device, and capture the input signals for analysis. In the next example, an older design based on the 74LS74 low-power Schottky TTL technology, is exhibiting intermittent errors. The minimum output voltage for a high is 2.4 V, so all high output signals should be at least that high. The design is based on a 20 MHz clock (50 ns period), so all output pulses should be at least that wide. Armed with these facts, the oscilloscope can quickly determine if the output signal is behaving as expected, and capture the inputs and outputs if it is not. Figure 11 shows a pulse width trigger finding a glitch, a signal where the pulse width is less than half of the minimum expected pulse width for this design. WWW.TEK.COM/5SeriesMSO 13

FIGURE 12. Runt triggering easily captures a low-amplitude, narrow pulse on the output of a 74LS74 flip-flop. Not only are there intermittent glitches on the output of the flip-flop, but some appear to have a low amplitude. Figure 12 shows a runt trigger capturing narrow, low-amplitude pulses which do not meet the component s specification. 14 WWW.TEK.COM/5SeriesMSO

FIGURE 13. Cursor measurement of Setup Time violation triggering on a 74LVCG74 flip-flop. Using either of these trigger setups, you can capture the input and output signals. Figure 13 shows a setup time measurement with cursors that clearly indicates a setup time violation (about 6 ns, which is much lower than the 20 ns minimum value). Mixed signal oscilloscopes combine basic logic analyzer functionality with the analog signal analysis of an oscilloscope. Tektronix MSOs and MDOs include setup and hold triggering, pulse triggering, and high resolution digital sampling to facilitate fast digital debugging. WWW.TEK.COM/5SeriesMSO 15

Appendix A THE TEKTRONIX MSO AND MDO SERIES OFFER A RANGE OF MODELS TO MEET YOUR NEEDS AND YOUR BUDGET 5 SERIES MSO MSO/DPO5000 SERIES MDO4000C SERIES MDO3000 SERIES MSO/DPO2000 SERIES Bandwidth 2 GHz, 1 GHz, 500 MHz, 350 MHz 2 GHz, 1 GHz, 500 MHz, 350 MHz 1 GHz, 500 MHz, 350 MHz, 200 MHz 1 GHz, 500 MHz, 350 MHz, 200 MHz, 100 MHz 200 MHz, 100 MHz, 70 MHz Analog Channels 4, 6, 8 4 4 2 or 4 2 or 4 Digital Channels 8 to 64 (opt.) 16 (MSO) 16 (opt.) 16 (opt.) 16 (MSO) Spectrum Analyzer Channels Arbitrary/ Function Generator -- -- 1 (opt.) 1 -- 1 (opt.) -- 1 (opt.) 1 (opt.) -- Record Length (All Channels) Sample Rate (Analog) Max. Sample Rate (Digital) 62.5 M (std.) 125 M (opt.) 25 M (std.) Up to 125 M (opt.) 20 M 10 M 1 M 70 MHz Up to 10 GS/s Up to 5 GS/s Up to 5 GS/s 1 GS/s 6.25 GS/s 500 MS/s (Full Record length) 16.5 GS/s (10 kpoints centered on the trigger) 500 MS/s (Full Record length) 16.5 GS/s (10 kpoints centered on the trigger) 500 MS/s (Full Record length) 8.25 GS/s (10 kpoints centered on the trigger) 1 GS/s (using any of channels D7 D0) 500 MS/s (using any of channels D15 D0) Color Display 15.6 in. HD 10.4 in. XGA 10.4 in. XGA 9 in. WVGA 7 in. WQVGA Parallel Bus Analysis Optional Serial Bus Triggering and Analysis Applications Number of Simultaneously Displayed Serial Buses Additional Application Support Yes Yes Yes Yes Yes I 2 C SPI RS-232/422/485/UART CAN LIN FlexRay USB 2.0 10/100BASE-T Ethernet I 2 S/LJ/RJ/TDM I 2 C SPI RS-232/422/485/UART CAN LIN FlexRay USB 2.0 10/100BASE-T Ethernet MIL-STD-1553 8b/10b decoding D-PHY MIPI decoding PCI Express decoding I 2 C SPI RS-232/422/485/UART CAN CAN FD LIN FlexRay USB 2.0 I 2 S/LJ/RJ/TDM MIL-STD-1553 I 2 C SPI RS-232/422/485/UART CAN CAN FD LIN FlexRay USB 2.0 I 2 S/LJ/RJ/TDM MIL-STD-1553 Essentially unlimited 16 3 2 2 Jitter and Timing Power Analysis Limit and Mask Testing Jitter and Timing USB 2.0 Compliance Ethernet Compliance BroadR-Reach Compliance MOST Compliance Visual Triggering Power Analysis HDTV & Custom Video Limit and Mask Testing Advanced RF Power Level Triggering Power Analysis HDTV & Custom Video Limit and Mask Testing I 2 C SPI RS-232/422/485/UART CAN LIN -- 16 WWW.TEK.COM/5SeriesMSO

WWW.TEK.COM/5SeriesMSO 17

Contact Information: Australia* 1 800 709 465 Austria 00800 2255 4835 Balkans, Israel, South Africa and other ISE Countries +41 52 675 3777 Belgium* 00800 2255 4835 Brazil +55 (11) 3759 7627 Canada 1 800 833 9200 Central East Europe / Baltics +41 52 675 3777 Central Europe / Greece +41 52 675 3777 Denmark +45 80 88 1401 Finland +41 52 675 3777 France* 00800 2255 4835 Germany* 00800 2255 4835 Hong Kong 400 820 5835 India 000 800 650 1835 Indonesia 007 803 601 5249 Italy 00800 2255 4835 Japan 81 (3) 6714 3010 Luxembourg +41 52 675 3777 Malaysia 1 800 22 55835 Mexico, Central/South America and Caribbean 52 (55) 56 04 50 90 Middle East, Asia, and North Africa +41 52 675 3777 The Netherlands* 00800 2255 4835 New Zealand 0800 800 238 Norway 800 16098 People s Republic of China 400 820 5835 Philippines 1 800 1601 0077 Poland +41 52 675 3777 Portugal 80 08 12370 Republic of Korea +82 2 6917 5000 Russia / CIS +7 (495) 6647564 Singapore 800 6011 473 South Africa +41 52 675 3777 Spain* 00800 2255 4835 Sweden* 00800 2255 4835 Switzerland* 00800 2255 4835 Taiwan 886 (2) 2656 6688 Thailand 1 800 011 931 United Kingdom / Ireland* 00800 2255 4835 USA 1 800 833 9200 Vietnam 12060128 * European toll-free number. If not accessible, call: +41 52 675 3777 Find more valuable resources at TEK.COM Copyright Tektronix. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specification and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. All other trade names referenced are the service marks, trademarks or registered trademarks of their respective companies. 06/17 EA 55W-61095-0