Selecting the Right Oscilloscope for Protocol Analysis Applications

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

Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster

Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details

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

Logic Analysis Fundamentals

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

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

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

Time-Saving Features in Economy Oscilloscopes Streamline Test

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

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

Evaluating Oscilloscope Mask Testing for Six Sigma Quality Standards

Agilent Series Harmonic Mixers

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

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

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

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

FlexRay Physical Layer Eye-diagram Mask Testing

Keysight Technologies Multi-Channel Audio Test using the Keysight U8903A Audio Analyzer

Agilent Technologies N5454A Segmented Memory Acquisition for Agilent InfiniiVision Series Oscilloscopes

Agilent 87405C 100 MHz to 18 GHz Preamplifier

Debugging a Mixed Signal Design with a Tektronix Mixed Signal Oscilloscope

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

Exceptional performance

Advanced Troubleshooting with Oscilloscopes 9000 Scope Hands-on Labs

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

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

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

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

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

Keysight N9355/6 Power Limiters 0.01 to 18, 26.5 and 50 GHz High Performance Power Limiters. Technical Overview

Evaluating Oscilloscopes for Best Signal Visibility

Keysight N9355/6 Power Limiters 0.01 to 18, 26.5 and 50 GHz High Performance Power Limiters. Technical Overview

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

Agilent M9362A-D01-F26 PXIe Quad Downconverter

Low-speed serial buses are used in wide variety of electronics products. Various low-speed buses exist in different

Logic Analysis Basics

Logic Analysis Basics

FlexRay Measurements (Option FLX) for Agilent s InfiniiVision Series Oscilloscopes

Keysight Technologies ad Integrated RF Test Solution

Keysight Technologies High-Power Measurements Using the E5072A ENA Series Network Analyzer. Application Note

Agilent N4876A 28 Gb/s Multiplexer 2:1

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

Keysight Technologies Millimeter Wave Frequency Extenders From Virginia Diodes Inc. for the Keysight X-Series Signal Analyzers. Technical Overview

Keysight Technologies

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

Keysight Technologies N5998A HDMI Protocol/Audio/Video Analyzer and Generator

Agilent N4876A 28 Gb/s Multiplexer 2:1

Agilent Understanding the Agilent 34405A DMM Operation Application Note

Keysight Technologies CAN/LIN Measurements (Option AMS) for InfiniiVision Series Oscilloscopes

Agilent N5183A MXG Microwave Signal Generator

Agilent I 2 C Debugging

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

Agilent N4965A Multi-Channel BERT 12.5 Gb/s Data Sheet

Keysight N1085A PAM-4 Measurement Application For 86100D DCA-X Series Oscilloscopes. Data Sheet

Logic Analyzer Triggering Techniques to Capture Elusive Problems

A Simple, Yet Powerful Method to Characterize Differential Interconnects

Keysight Technologies FlexRay Measurements (Option FLX) for Keysight s InfiniiVision Series Oscilloscopes. Data Sheet

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

Agilent MSO and CEBus PL Communications Testing Application Note 1352

Quick Signal Integrity Troubleshooting with Integrated Logic Analyzers & Oscilloscopes

Agilent 86120B, 86120C, 86122B Multi-Wavelength Meters. Data Sheet

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

E6607A EXT Wireless Communications Test Set. Non-signaling Test Overview. Application Note

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

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

Agilent Migration from 8712/8714 Series to ENA-L Network Analyzers

Agilent M9361A PXI Downconverter

Keysight Technologies Evaluating Oscilloscope Vertical Noise Characteristics. Application Note

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

Debugging Digital Cameras: Detecting Redundant Pixels

Keysight Technologies x1149 Boundary Scan Analyzer. Technical Overview

Memory Interface Electrical Verification and Debug

Keysight Technologies ad Waveform Generation & Analysis Testbed, Reference Solution

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

Agilent 87075C 75 Ohm Multiport Test Sets for use with Agilent E5061A ENA-L Network Analyzers

Agilent Technologies Series of RF and Universal Frequency Counter/Timers. Family Overview

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

Keysight Technologies Understanding and Improving Network Analyzer Dynamic Range. Application Note

Memory Interface Electrical Verification and Debug

Keysight Technologies N5431A XAUI Electrical Validation Application for Infiniium Oscilloscopes and Digital Signal Analyzers.

Evaluating Oscilloscope Vertical Noise Characteristics

Serial Triggering and Analysis Application Modules

Keysight Technologies U3801A/02A IoT Fundamentals Applied Courseware. Data Sheet

L7208. Portable consumer electronics spindle and VCM motor controller. General features. Spindle driver. Description. VCM driver.

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

Choosing an Oscilloscope

Automated Limit Testing

Keysight 1GC DC GHz Packaged Biasable Integrated Diode Limited

Keysight Technologies

SignalCorrect Software and TCS70902 Calibration Source Option SC SignalCorrect software

Tektronix Logic Analyzer Probes P6900 Series Datasheet for DDR Memory Applications

How to Use a Mixed Signal Oscilloscope to Test Digital Circuits

Agilent E6701G GSM/GPRS and E6704A EGPRS Lab Applications

Agilent InfiniiVision 7000 Series Oscilloscopes

GM68020H. DisplayPort receiver. Features. Applications

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

Agilent ESA Series Spectrum Analyzers

GM60028H. DisplayPort transmitter. Features. Applications

Timesaving Tips for Digital Debugging with a Logic Analyzer

Transcription:

Selecting the Right Oscilloscope for Protocol Analysis Applications Application Note Serial buses are pervasive in today s electronic designs to provide critical communication between ICs, subsystems, boards and systems. I 2 C and SPI have found their way into a broad array of chips and peripherals including FPGAs, a variety of I/O, ADCs, sensors, ASICs and processors. JTAG serial buses, test chips and boards also provide debug ports for microprocessors and other integrated circuits. CAN, LIN and FlexRay enable noise-immune communication networks for automotive and industrial products. USB ports have become pervasive on mobile and other consumer products, and PCIe has gained a foothold by passing large amounts of data quickly. Even legacy serial buses like RS-232/485/485 and MIL-STD 1553 continue to prosper despite their age. Low cost, minimal pin usage and a protocol layer that eases software implementation make serial buses ideal for a wide variety of applications across a range of industries. All major oscilloscope vendors now offer scope-based protocol applications that enable you to gain faster and better insight when debugging systems with serial buses. These applications let oscilloscopes trigger on and display packets in addition to parametric signal detail. They help you answer questions, including How are the devices on each end of the bus negotiating the link? and What values are being passed on the bus? With the right combination of oscilloscope and protocol application, you can resolve issues quickly, saving days to weeks of time. Although all major scope vendors offer protocol decode and triggering applications, the applications vary in capability and quality. When evaluating a new oscilloscope that will include protocol applications, you should consider the following six questions.

1. What protocols are supported and to what degree? Make sure the oscilloscope vendor has support for protocols that you currently use or are likely to use in the near future. It s easy to check a Web page to see if the protocol you are interested in is supported on a particular scope. Getting a trial license is a great way to make a determination. You need to pull up the application on an oscilloscope or look through detail in the datasheet, to determine how well the particular protocol is supported. Figure 1. View product web pages to see if the protocol you are interested in is supported on a particular scope. For example, if you are using SPI, what is the fastest data rate that is supported? Does the application support 2-, 3- and 4-wire SPI or only a subset? If you are using USB 2.0, does the application support the low-, full- and high-speed versions of the specification as well as HSIC? If using I 2 C, how well does the application support I 2 C where the read/ write bit is included in the address field? Figure 2. Try out a protocol application on your oscilloscope to better determine its capabilities. 2

1. What protocols are supported and to what degree? (continued) Do you need to look at simultaneous decode of more than one serial bus (Figure 3)? How easy is it to set up decode of multiple buses, navigate between buses or change which bus is being used as the trigger source? Figure 3. Agilent Infiniium scopes support simultaneous, timecorrelated decode of up to 4 serial buses. Check with your oscilloscope vendor to determine which serial buses they support with a protocol application. You will need the information to meet current needs and plan for future needs. Serial Bus Protocol CAN and CAN.dbc symbols Infiniium Oscilloscope Family S-Series 90000 Series 90000 X-Series Ethernet 10GBase-KR FlexRay HDMI Up to 740 Mbps I 2 C JTAG LIN MIPI PCIe RS-232/485/488 SAS SATA Up to 1.5 Gbs SPI SVID USB Xaui 8B/10B Table 1. Infiniium scopes support a wide array of serial protocols. 3

2. How easy is it to set up protocol decode? Engineers excel at problem solving. Anytime too much brain power or time is required for a task, engineers will find another less taxing method of attacking a problem. Setting up a oscilloscope to take a protocol measurement should take you a minute or less. To configure the scope for protocol decode, select which channels are probing specific serial signals and set the threshold value to determine when the signal is high and when it is low. Although the concept seems simple enough, when you set up protocol decode for a serial bus with 3, 4 or 5 signals, the task becomes more complex than originally anticipated. If decode is set up for multiple simultaneous serial buses, the task becomes even trickier. Agilent offers Auto Setup for decode (Figure 4). After you assign channels, Auto Setup works a bit like autoscale. Auto Setup determines the correct threshold level for each signal and scales the timebase appropriately. This feature is particularly effective for users who don t often make decode measurements or set up of multiple decodes simultaneously. Figure 4. Auto Setup lets you set up protocol decode on one or more buses in less than 30 seconds. 4

3. How is the protocol decode displayed? Although all vendors provide some level of decode, decode quality varies dramatically. Start by displaying protocol decode for the bus you are interested in on the oscilloscope you are considering. Decode on waveforms is the most common method of displaying protocol packets (Figure 5). Packet content is aligned in time with parametric signal detail. Figure 5. Decode on waveforms enables you to see time-aligned packets with the serial signal sources, but requires you to zoom in to see packet detail. Agilent colorizes packets to make it easier to determine packet sequence even with larger timebase settings when packet detail is too compressed to see detail. Figure 6. Agilent colorizes packets to make it easier to determine packet sequence. Some vendors decode the entire acquisition memory, while others decode only what is on screen. Decoding only onscreen information can cause problems. If the entire packet isn t displayed on-screen, the oscilloscope won t decode any of the packet, or worse, decode it incorrectly. To correct the problem, users are forced to create a main display with all acquisition memory and a second zoom window to show decode detail, as shown in Figure 7. Figure 7. Zoom in on detail in the waveform area while protocol packets from off-screen capture is still shown in the listing area. 5

3. How is the protocol decode displayed? (continued) Most vendors also offer a lister that will display decode of sequential packets. Listings let users see the flow of packets in a more condensed format (Figure 8). Unlike decode in waveform areas, listings show packet detail independent of timebase settings. But be aware that listing detail can vary greatly from vendor to vendor and scope to scope. Are lister rows colorized to match waveform decode color for rapid transition between physical and protocol layers? Figure 8. Infiniium protocol listers let you move quickly between physical and protocol layer with the advantage of seeing packet detail in the lister while zoomed out, as shown in this USB example. When evaluating protocol decode on oscilloscopes that incorporate a lister, ensure that your vendor provides time alignment between each row in the lister and signals in the waveform display. With time alignment, users can move between physical layer and packet layer quickly and with confidence (Figure 9). Some vendors provide listers with minimal or no time alignment with signal detail. Figure 9. Time-aligned markers on Infiniium oscilloscopes track in the listing when moved in the waveform area or track in the waveform area when a new row of the lister is highlighted, as shown in this SPI example. 6

3. How is the protocol decode displayed? (continued) Does your oscilloscope allow different views of packet content? Here s an example of Agilent s Infiniium protocol viewer. In addition to seeing packet detail, users can see specified packet content in different formats. For example, see data packet payloads and packet detail in the header section as it would appear in a databook. Figure 10. Packet details, payload, and header show additional info for the packet highlighted by the blue alignment bar. Does your oscilloscope allow the listers to go full screen to display a greater number of packets at once? Infiniium oscilloscopes allow users to determine how much of the display to dedicate to the lister versus the waveform area. Figure 11. Infiniium oscilloscope with full screen lister. On Infiniium oscilloscopes, a Demo Center stores saved files that can be quickly loaded into the scope for all supported protocol decodes. You can rapidly evaluate how decode is displayed for your particular protocol. Figure 12. Connect to a live target or use built-in previously captured signals to evaluate decode and trigger capability for a specific protocol application. 7

4. What type of packet triggering and searching is standard or incorporated in the protocol application? Determining when to have the oscilloscope trigger and begin acquiring packets is critical for debug. Traditional edge, width and pattern trigger are not sufficient for packet triggering. Oscillocope vendors typically bundle packet-based triggers with each decode application. These packet-based triggers can be implemented in software or hardware, and knowing this level of detail is important if you plan to trigger on infrequent events. Hardware-based serial packet triggers are implemented in hardware typically an FPGA and run in real time. The vendor implements a real-time state machine that tracks incoming packet content. When a specified condition is met, this hardware interacts with the scope s trigger circuitry. For single-shot protocol acquisitions that require a trigger, hardware-based triggering is a requirement (Figure 13). Software-based serial packet triggers are implemented in software. After each acquisition, the software analyzes the acquired packets and determines if any meet the trigger condition. If so, the oscilloscope displays the acquired signals. Alternatively, if the software searches the decoded packets and doesn t find the specified trigger condition, the oscilloscope discards the acquisition without display and acquires a new acquisition, starting the process again. Software-based triggering has significant dead time between acquisitions, which makes it likely it will miss trigger conditions that occur infrequently. As memory depth increases, so does processing time, making dead time between acquisitions for software-based triggering even larger. Given the superiority of hardware-based protocol triggering, why would a protocol app offer only software-based triggering? It s likely that hardware-based triggering for that specific protocol wasn t developed. Pull up a serial trigger on your vendor s oscilloscope for the protocol you are working with. See what types of packet-based triggering are available and whether the trigger is implemented in hardware or software. Figure 13. Hardware-based protocol triggers will absolutely enable the oscilloscope to trigger on a specified condition no matter how infrequent or brief the specified event is, with minimal latency between successive triggers. Shown is an USB enumeration trigger example. 8

5. How much memory does your scope support for packet capture? Capturing a sufficient number of protocol packets is critical for effective debug. Oscilloscopes acquire asynchronously and therefore use memory more quickly than dedicated protocol analyzers or state-based logic analyzers. For this reason, scope users with protocol analysis needs benefit greatly from deep-memory oscilloscopes. To maximize memory and display utilization, check to see if your scope vendor allows you to set memory depth, sample rate and timebase independently. This capability makes it dramatically easier to capture and view protocol signals with full memory depth. Oscilloscopes ship with a fixed amount of standard memory and users enable optional acquisition memory. To get a first order approximation of how many packets you can acquire in a single run, you can do a quick calculation by using the required sample rate for a specific bus coupled with the oscilloscope s timebase and optional memory. Most oscilloscope vendors have channel interleaving, which doubles memory depth only when 2 of the 4 analog channels are used. For example, Agilent Infiniium oscilloscopes ship with 50 Mpts memory standard on 4 channels or 100 Mpts standard on 2 channels. Users can enable optional memory to 400 Mpts on 4 channels and 800 Mpts on 2 channels (Figure 14). Serial traffic often incorporates periods of dense activity followed by relatively long periods of dead time. Using the oscilloscope s segmented memory mode enables you to capture significantly longer periods with the same amount of memory. Each segment is started when the oscilloscope sees a specified trigger condition. For example, the trigger might be when a USB device enumerates a number of packets are sent, each with a SETUP packet. Using segmented memory, this sequence of events can be captured using 100 times less memory (Figure 15). Check to make sure your oscilloscope vendor supports decode in segmented memory mode. Figure 14. How much memory does your scope have? In this example, Infiniium S-Series used 100 Mpts memory sampling at 100 MSa/s to capture over 2 full seconds of USB traffic, including a USB enumeration sequence in its entirety. Figure 15. Infiniium s segmented memory mode supports protocal decode. Using segmented memory mode, the required acquisition memory was reduced by 100 times, from 50 Mpts to 500 Kpts, to capture 6 seconds of time including the USB enumeration sequence. 9

6. If using mixed-signal oscilloscope for protocol analysis, what else should you consider? Mixed Signal Oscilloscopes (MSOs) are a great choice for protocol analysis for several reasons. First, they free up analog channels for viewing other system activity. Second, if you are viewing more than one serial bus, MSOs offer additional channels, unlike digital storage oscilloscopes with only four channels. Third, some vendors have more standard MSO acquisition memory than is available on the analog channels, enabling capture of additional packets when the MSO digital channels are used rather than the scope s analog channels (Figure 16). This may be surprising, but many vendors do not support segmented memory with MSO digital channels. This means that the MSO channels cannot provide protocol decode when you use segmented memory mode. Be sure to see if your oscilloscope vendor supports segmented memory on the MSO channels. Figure 16. Check with your oscilloscope vendor to see if acquisition memory is shared between analog and digital channels or if each has separate acquisition memory. If separate, see how much memory, is available for MSO channels. For example, Agilent Infiniium MSO digital channels offer separate acquisition memory, with 128 Mpts of memory on digital channels versus 20 Mpts standard on analog channels. Figure 17. MSO channels are a great choice for protocol triggering and decode, as shown in this SPI example. 10

Conclusion Adding protocol analysis capabilities to a oscilloscope enables you to debug a wider range of issues faster. Evaluating both specific protocol applications and the scope s underlying ability to effectively perform packetbased triggering and decode will help you select the scope that best meets your needs. Agilent encourages oscilloscope users to compare Infiniium protocol trigger and decode capabilities and performance with any other oscilloscope on the market. Only Agilent Infiniium offers the following combination of protocol features: - Auto setup - Time-alignment marker between waveforms and lister - Color-coded lister rows - Multi-tab protocol viewer - Decode of off-screen acquisition - Independent setting of sample rate, timebase, and memory depth - Deepest memory for capturing more packets up to 1 Gpt/ch) - Full screen lister - Demo center with pre-saved waveforms for rapid evaluation - Free 14-day trial license - Decode of up to 4 serial buses with lister selection - Fast update rate with decode - Extensive packet searching - Decode support with segmented memory (including MSO channels) - Standard MSO memory (128 Mpts) Agilent Technologies Oscilloscopes Multiple form factors from 20 MHz to >90 GHz Industry leading specs Powerful applications 11

Related literature Agilent Infiniium S-Series Oscilloscopes (500 MHz to 8 GHz), Data sheet 5991-3904EN Agilent Infiniium 90000A Series Oscilloscopes (2.5 GHz to 13 GHz), Data sheet 5989-7819EN Agilent Infiniium 90000 X-Series Oscilloscopes (13 GHz to 33 GHz), Data sheet 5990-5271EN Evaluating Oscilloscope Fundamentals, Application note 5989-8064EN To download these documents, insert the publication number in the URL: http://cp.literature.agilent.com/litweb/pdf/xxxx-xxxxen.pdf Product web site For the most up-to-date and complete application and product information, please visit our product web site at: http://www.agilent.com/find/s-series 12

www.agilent.com www.agilent.com/find/s-series myagilent myagilent www.agilent.com/find/myagilent A personalized view into the information most relevant to you. www.lxistandard.org LAN extensions for Instruments puts the power of Ethernet and the Web inside your test systems. Agilent is a founding member of the LXI consortium. Three-Year Warranty www.agilent.com/find/threeyearwarranty Beyond product specification, changing the ownership experience. Agilent is the only test and measurement company that offers three-year warranty on all instruments, worldwide. Agilent Assurance Plans www.agilent.com/find/assuranceplans Five years of protection and no budgetary surprises to ensure your instruments are operating to specifications and you can continually rely on accurate measurements. www.agilent.com/quality Agilent Electronic Measurement Group DEKRA Certified ISO 9001:2008 Quality Management System Agilent Channel Partners www.agilent.com/find/channelpartners Get the best of both worlds: Agilent s measurement expertise and product breadth, combined with channel partner convenience. Agilent Solution Partners www.agilent.com/find/solutionpartners Get the best of both worlds: Agilent s measurement expertise and product breadth, combined with solution partner convenience. For more information on Agilent Technologies products, applications or services, please contact your local Agilent office. The complete list is available at: www.agilent.com/find/contactus Americas Canada (877) 894 4414 Brazil (11) 4197 3600 Mexico 01800 5064 800 United States (800) 829 4444 Asia Pacific Australia 1 800 629 485 China 800 810 0189 Hong Kong 800 938 693 India 1 800 112 929 Japan 0120 (421) 345 Korea 080 769 0800 Malaysia 1 800 888 848 Singapore 1 800 375 8100 Taiwan 0800 047 866 Other AP Countries (65) 375 8100 Europe & Middle East Belgium 32 (0) 2 404 93 40 Denmark 45 45 80 12 15 Finland 358 (0) 10 855 2100 France 0825 010 700* *0.125 /minute Germany 49 (0) 7031 464 6333 Ireland 1890 924 204 Israel 972-3-9288-504/544 Italy 39 02 92 60 8484 Netherlands 31 (0) 20 547 2111 Spain 34 (91) 631 3300 Sweden 0200-88 22 55 United Kingdom 44 (0) 118 927 6201 For other unlisted countries: www.agilent.com/find/contactus (BP-01-15-14) Product specifications and descriptions in this document subject to change without notice. Agilent Technologies, Inc. 2014 Published in USA, April 17, 2014 5990-8359EN