Serial Decode I2C TEN MINUTE TUTORIAL. December 21, 2011

Similar documents
Using Manchester and NRZ Configurable Protocol Decoders

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

Logic Analyzer Auto Run / Stop Channels / trigger / Measuring Tools Axis control panel Status Display

Advanced Troubleshooting with Oscilloscopes 9000 Scope Hands-on Labs

Viewing Serial Data on the Keysight Oscilloscopes

Viewing Serial Data on the Keysight Oscilloscopes

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

PicoScope 6 Training Manual

Quick Reference Manual

RS232 Decoding (Option)

FLEXRAY TRIGGER, DECODE, AND PHYSICAL LAYER TEST

Analog Discovery Scope and Waveform Generator Edited 11/15/2016 by Eric Scotti & DGH

Operator's Manual. MS-250 Mixed Signal Oscilloscope Option

Agilent InfiniiVision 7000B Series Oscilloscopes

WAVEJET 300 SERIES OSCILLOSCOPES. New Cover to Come. Unmatched Performance, Portability, and Value

Getting Started Manual WaveRunner 6 Zi and 12-Bit HRO Oscilloscopes

Thank you for purchasing a LeCroy Zi Oscilloscope Synchronization ProBus Module (Zi 8CH SYNCH module).

PRELIMINARY INFORMATION. Professional Signal Generation and Monitoring Options for RIFEforLIFE Research Equipment

WaveSurfer MXs. The Specs You Want The Features You Need 200 MHz to 1 GHz

What's the SPO technology?

WAVEJET 300 SERIES OSCILLOSCOPES. Unmatched Performance, Portability, and Value

Portable Performance for Debug and Validation

QPHY-USB3 USB3.0 Serial Data Operator s Manual

X-Stream DSO Version 3.6 Release Notes

Working with a Tektronix TDS 3012B Oscilloscope EE 310: ELECTRONIC CIRCUIT DESIGN I

Instrument Firmware Release Notes

Agilent InfiniiVision 7000 Series Oscilloscopes

Expect to Make Waves.

Overview. Know Your Oscilloscope. Front Panel. Rear Panel. Sharing Agilent s Resources with Engineering Educators

Agilent 6000 Series Oscilloscope Demo Guide

Table of Contents Introduction

Use xtimecomposer and xscope to trace data in real-time

Reference. TDS7000 Series Digital Phosphor Oscilloscopes

Manchester and NRZ Configurable Protocol Decode

The Measurement Tools and What They Do

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

WAVERUNNER XI SERIES OSCILLOSCOPES

MSO/DPO2000, MSO/DPO3000, and MSO/DPO4000 Series Oscilloscope Demo 2 Board

SPI Serial Communication and Nokia 5110 LCD Screen

Troubleshooting Your Design with Tektronix MSO and DPO Series Oscilloscopes

EAN-Performance and Latency

MINI PC SCOPE PCSU01. User manual. test leads software download USB cable design enclosure

USBee DX Test Pod Users Manual. CWAV

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

Getting Started Manual. WaveRunner 6 Zi Oscilloscopes

User Manual. This document applies to firmware version 2.2 and above.

Agilent DSO5014A Oscilloscope Tutorial

Logic Analysis Basics

Digital Audio Design Validation and Debugging Using PGY-I2C

Logic Analysis Basics

GDB-03 Demo Module USER MANUAL GW INSTEK PART NO. 82DB-03000M01 ISO-9001 CERTIFIED MANUFACTURER

ASYNCHRONOUS COUNTER CIRCUITS

Oscilloscope Guide Tektronix TDS3034B & TDS3052B

MIPI DigRF 3G and v4 Decode

Zeroplus Logic Analyzer Multi-LA Stack and LA-Oscilloscope Stack

WaveSurfer 3000 Oscilloscopes 200 MHz 500 MHz

Experiment # 4 Counters and Logic Analyzer

Choosing an Oscilloscope

Introduction to the oscilloscope and digital data acquisition

WAVERUNNER 104XI AND 204XI

Fluke 190-Series II Firmware Upgrade V11.44

PoScope4 USER MANUAL. PoScope4 version 2.9

PCIe: EYE DIAGRAM ANALYSIS IN HYPERLYNX

Troubleshooting Your Design with the TDS3000C Series Oscilloscopes

ECT 224: Digital Computer Fundamentals Digital Circuit Simulation & Timing Analysis

Beginners How to Test DSO138mini

Instruction Manual. USB3.0bus Decoder Software

WaveSurfer Xs-A and MXs-A Oscilloscopes

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

imso-104 Manual Revised August 5, 2011

SignalTap Plus System Analyzer

LeCroy Digital Oscilloscopes

WaveSurfer MXs-B and MSO MXs-B Oscilloscopes

Dewesoft Instructions: Chapter Needed files. Contents:

Exercise 5-1. Troubleshooting Techniques EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. Signal flow tracing

HAMEG. Oscilloscopes. Innovation right from the start. Oscilloscopes

PoScope4 USER MANUAL. PoScope4 Version 2.4

Table of content. Table of content Introduction Concepts Hardware setup...4

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

What is oscilloscope? What an oscilloscope looks like. Oscilloscopes, accessories, applications Ján Šaliga

BusFinder Series. LA3000 Series 2 in 1 Analyzer (Protocol + Logic) Manual

imso-104 Manual Revised July 19, 2012

Embest DSO2300. Feature. General Description:

DDA-UG-E Rev E ISSUED: December 1999 ²

LeCroy Corporation 700 Chestnut Ridge Road Chestnut Ridge, NY Tel: (845) Fax: (845)

Appendix Lightolier Compose System

4CH/2 CH Digital Storage Oscilloscopes Mixed Signal Oscilloscopes

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

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

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

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

PicoScope. User guide. Copyright 2005 Pico Technology Limited. All rights reserved. PSW044 v1.5

Performing Signal Integrity Analyses

Dave Jones Design Phone: (607) Lake St., Owego, NY USA

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

SigPlay User s Guide

Experiment 7: Bit Error Rate (BER) Measurement in the Noisy Channel

Operator s Manual. WaveJet Touch Oscilloscopes

Automated Limit Testing

Digital Storage Oscilloscopes 2550 Series

Transcription:

Serial Decode I2C TEN MINUTE TUTORIAL December 21, 2011 Summary LeCroy oscilloscopes have the ability to trigger on and decode multiple serial data protocols. The decode in binary, hex, or ASCII format, is displayed in an intuitive manner that is very easy to understand. Inter Integrated Circuit (Inter IC or I 2 C) I 2 C is a master/slave synchronous communications system developed by Phillips with rates of up to 3.4 Mb/s. I 2 C uses two bidirectional lines with clock (SCL) and data (SDA) signals. Slaves are addressed using unique address codes which can be in a 7 or 10 bit format, multiple masters can be used in a single I 2 C system, each with a unique address. Data transfer is initiated by the master with a start bit followed by the address of the desired slave and a read/write bit signaling that it wants to read from or write to the slave. The slave responds with an acknowledge bit (ACK). This tutorial will get you familiar with the LeCroy I2C Decode & Trigger Option. Equipment Requirements: A LeCroy Xi or Zi series oscilloscope with the I2C option keycode installed. 2 passive Probes WaveSource 100 demonstration signal source The WS 100 Demonstration Signal Source The WS 100 signal source is a USB powered circuit board which has 6 sets of output waveforms. There are two sets of duplicate output connections on the WS 100 which are marked Ch1, CH2, and Trig. Table 1 summarizes all the available outputs. In this tutorial we will use selection S2 (I2C). LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 1 of 7

Figure 1: An outline drawing of the WS 100 demonstration signal source. Use the push button to select one of 6 waveform choices Table 1: The Signal Outputs Available from the WS 100 Demonstration Signal Source SIGNAL OUTPUTS SIGNAL PROTOCOL CHANNEL 1 CHANNEL 2 S1 SPI DATA (SDO) CLOCK (SCK) S2 I2C DATA (SDA) CLOCK (SCL) S3 UART Not Used TRANSMIT (100 kbits/sec) S4 S5 RUNT PWM RUNT (positive) JITTER (35%) PERSISTENCE (9 pulse widths incrementing in width and quantity RISE TIME (slow = 100 nsec) GLITCH (pos. width = 165 nsec) JITTER (35%) LONG MEMORY (500 KHz and 750 KHz, 33 msec delay) S6 SIG Not Used NON MONOTONIC Edge RUNT (negative) LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 2 of 7

Displays shown in the tutorial are based on the following initial setup on a WaveRunner 6 Zi scope: 1. Recall the default setup: File pull down > Recall Setup> Recall Default. 2. Verify that the input coupling on both channels 1 and 2 is DC 1 MΩ: Touch or click the channel 1 annotation box>touch or click on the coupling field >select DC 1MΩ. Repeat for channel 2 if necessary 3. Using the C1 dialog box or the front panel vertical scale control, set the channel 1 vertical scale to 1 V/division and the vertical offset to -3V. Repeat this action for channel 2 4. Touch or click the Trigger annotation box on the display of the oscilloscope. Set up the trigger as follows: Edge-Trigger, Source :C1, Coupling : DC, Slope: Positive, Trigger Level: 2.5 V 5. Press the Normal button in the Trigger area on the oscilloscope s front panel. 6. Connect the WS 100 to a front panel USB connector. If the Found New Hardware Wizard appears press the cancel button. Select S2 (I2C) of the WaveSource100. 7. Connect one passive probe to Ch1 of the scope and Ch1 of the WS 100. Ch1 is the data of the I2C signal. 8. Connect one passive probe to Ch2 of the scope and Ch2 of the WS 100. Ch2 is the clock of the I2C signal. 9. Touch or click the Timebase annotation box on the display of the oscilloscope. Set Time/Division: 20 ms, Select Set Maximum Memory and set Maximum Sample Points to 2.5MS. 10. Press the Stop button in the Trigger area on the oscilloscope s front panel. 11. This completes the initial setup. The scope display should be similar to Figure 2. Figure 2: The acquired I2C signals; Channel 1 is the data and channel 2 is the clock LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 3 of 7

Use the Analysis pull down menu and select Serial Decode (Figure 3) or press the Decode button adjacent to the WavePilot SuperKnob (WaveRunner 6 Zi only) this will bring up the Serial Decode dialog box. In the Serial Decode dialog box check the Decode 1 Decode On check box. Select the Decode 1 Protocol to be I2C. If not already selected choose C1 and C2 to be the source channels. Turn off the channel 2 trace. Finally, check the Link to Trigger On checkbox. Select the Decode setup tab. Set the Table # Rows entry to 8, as shown in Figure 4. Figure 3 Figure 4: Setting up I2C decode using the serial decode dialog box LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 4 of 7

Turn on zoom by pressing the Zoom button on the front panel or by touching the Zoom key on the WavePilot SuperKnob. Click or touch any entry on the decode table, a popup will appear offering you five choices shown in Figure 5: Figure 5: Using the hyperlinked decode table Off Turn off serial decode Zoom Turn on Zoom and expand the selected decode Setup Turn on the Serial Decode dialog box Export Save the decode table in.csv format Measure - Select a decode related measurement (optional, requires ProtoSync Measure and Graph) Choose Zoom. Note that the zoom trace is updated to show the selected decode. You can also use the WavePilot SuperKnob to scroll through the decode table selections. Serial Triggering Touch or click on the Trigger annotation box or press the Setup button in the front panel trigger group. This will cause the trigger dialog box to appear. We have already linked the trigger to the serial decode setup so the I2C tab will be displayed as shown in Figure 6. Figure 6: The serial decode trigger setup for I2C LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 5 of 7

Having checked the Link to Trigger box on the serial decode setup you will find that the basic configuration of the signals sources has been automatically transferred to the trigger setup. There are 8 trigger types to choose from. We will setup a trigger based on the I2C address and data content. Press the button that is labeled Addr+Data in the Trigger type section of the I2C trigger setup. The grayed out areas in the Address Setup and Data Pattern setup will activate. Enter the value 4C into the Address field in the Address Setup. Enter the value 65 into the Data Value field in the Data Pattern Setup. Touch or click the Zoom (Z1) trace annotation box. When the Zoom dialog box appears press the reset zoom button. This will reset the zoom so that the trigger point is centered on the screen. Use the Horizontal In button to expand the zoom trace. The trace will expand about the trigger point so we can see the packet that is aligned with the trigger point as shown in Figure 7. Press the Normal button in the front panel trigger group. Figure 7: Displaying the packet corresponding to the trigger point Your display should be similar to Figure 8. Only packets with address 4C and with Data value equal to 0x65 will trigger the scope. Go back to the Decode Setup. On the Basic tab change the Viewing selection from Hex to ASCII. The decode content will now be displayed as ASCII text. Note that you also have the option to see the data in Binary. LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 6 of 7

Figure 8: ASCII decode readout This completes this tutorial LeCroy Corporation Ten Minute Tutorial Serial Decode l2c page 7 of 7