Using Manchester and NRZ Configurable Protocol Decoders

Similar documents
Instruction Manual. Manchester and NRZ Decoder Software

Manchester and NRZ Configurable Protocol Decode

Instruction Manual. Manchester and NRZ Decoder

Serial Decode I2C TEN MINUTE TUTORIAL. December 21, 2011

Instruction Manual. USB3.0bus Decoder Software

Quick Reference Manual

Viewing Serial Data on the Keysight Oscilloscopes

Viewing Serial Data on the Keysight Oscilloscopes

FLEXRAY TRIGGER, DECODE, AND PHYSICAL LAYER TEST

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

MIPI DigRF 3G and v4 Decode

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

Advanced Troubleshooting with Oscilloscopes 9000 Scope Hands-on Labs

Digital Audio Design Validation and Debugging Using PGY-I2C

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

FIRMWARE RELEASE NOTE

The DataView PowerPad III Control Panel

2G Video Wall Guide Just Add Power HD over IP Page1 2G VIDEO WALL GUIDE. Revised

The Measurement Tools and What They Do

PCIe: EYE DIAGRAM ANALYSIS IN HYPERLYNX

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

SpikePac User s Guide

R3B Si TRACKER CABLE TEST REPORT

Logic Analysis Basics

Logic Analysis Basics

Cisco Spectrum Expert Software Overview

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

DigiView User's Guide TechTools

1 OVERVIEW 2 WHAT IS THE CORRECT TIME ANYWAY? Application Note 3 Transmitting Time of Day using XDS Packets 2.1 UTC AND TIMEZONES

Statement SmartLCT User s Manual Welcome to use the product from Xi an NovaStar Tech Co., Ltd. (hereinafter referred to as NovaStar ). It is our great

RS232 Decoding (Option)

X-Stream DSO Version 3.6 Release Notes

1 Synchronising Xsens with the Delsys Trigno EMG System

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

ATI Multimedia Center 7.6 Guide to New Features

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

Import and quantification of a micro titer plate image

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

BLOCK CODING & DECODING

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

Configuring the Stack ST8961 VS Module when used in conjunction with a Stack ST81xx series display.

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

Linkage 3.6. User s Guide

EAN-Performance and Latency

TekExpress Ethernet Tx Compliance Solution Printable Application Help

VISSIM TUTORIALS This document includes tutorials that provide help in using VISSIM to accomplish the six tasks listed in the table below.

Application Note. Serial Line Coding Converters AN-CM-264

DisplayPort 1.4 Link Layer Compliance

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

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

SignalTap: An In-System Logic Analyzer

Eye Doctor II Advanced Signal Integrity Tools

QPHY-USB3 USB3.0 Serial Data Operator s Manual

User manual. English. Perception CSI Extension Harmonic Analysis Sheet. A en

VIBRIO. User Manual. by Toast Mobile

EdgeConnect Module Quick Start Guide ITERIS INNOVATION FOR BETTER MOBILITY

Dewesoft Instructions: Chapter Needed files. Contents:

User Manual. Product Link:

B2 Spice A/D Tutorial Author: B. Mealy revised: July 27, 2006

Essentials of HDMI 2.1 Protocols

To fully utilize Media 100 s genlocking capability, you ll need the following equipment connected to your system:

CAP240 First semester 1430/1431. Sheet 4

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

Sapera LT 8.0 Acquisition Parameters Reference Manual

Digital Video User s Guide THE FUTURE NOW SHOWING

VIDEO GRABBER. DisplayPort. User Manual

Agilent InfiniiVision 7000 Series Oscilloscopes

Troubleshooting and Analyzing Digital Video Signals with CaptureVu

WaveView. and. WaveCal

BER MEASUREMENT IN THE NOISY CHANNEL

EDL8 Race Dash Manual Engine Management Systems

ASK THE EXPERTS: Procedure for Verifying Magnetic Pickup Signal Integrity Using a Windrock Portable Analyzer

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

Weschler AMT Software for the Enhanced Version Transformer Advantage

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

Event recording (or logging) with a Fluke 287/289 Digital Multimeter

Installation & Operational Manual

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

Agilent Parallel Bit Error Ratio Tester. System Setup Examples

Using SignalTap II in the Quartus II Software

Agilent E4430B 1 GHz, E4431B 2 GHz, E4432B 3 GHz, E4433B 4 GHz Measuring Bit Error Rate Using the ESG-D Series RF Signal Generators, Option UN7

quantumdata 980 Series Test Systems Overview of Applications

Defining and Labeling Circuits and Electrical Phasing in PLS-CADD

Serial Triggering and Analysis Application Modules

Quick Start for TrueRTA (v3.5) on Windows XP (and earlier)

PQ-Box 100 Quick Start Instructions

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

Point-to-Point Links

For the SIA. Applications of Propagation Delay & Skew tool. Introduction. Theory of Operation. Propagation Delay & Skew Tool

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

The Kaffeine Handbook. Jürgen Kofler Christophe Thommeret Mauro Carvalho Chehab

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

How-to Setup Motion Detection on a Dahua DVR/NVR

Quick Start manual for Nova

VSP 168HD Quick Start

The Challenges of Measuring PAM4 Signals

De-embedding Gigaprobes Using Time Domain Gating with the LeCroy SPARQ

PicoScope 9300 Series migration guide

Transcription:

Using Manchester and NRZ Configurable Protocol Decoders TECHNICAL BRIEF March 14, 2013 Summary Manchester and NRZ encoding schemes serve as building blocks for industrystandard and custom protocols. Here s how to use a Teledyne LeCroy oscilloscope to decode them properly. Introduction Teledyne LeCroy oscilloscopes can be equipped with software-based decoders for a large number of industry-standard serial-data protocols such as I2C, SPI, CAN, USB, and Ethernet, for example. Although many protocols are supported with dedicated decode tools, still many have no decode tools available. Additionally, many designers develop custom or proprietary protocols for which no decode tools exist. Teledyne LeCroy now offers the industry s first configurable protocol decode capabilities for signals using Manchester and NRZ encoding schemes, enabling unprecedented debug capabilities for systems using a variety of protocols, both standard and custom. What follows is a tutorial in their usage. Start by acquiring a signal. For purposes of this document, the signal is a 1-Mb/s, NRZ-encoded signal representative of a custom or proprietary protocol, as shown in Figure 1. The steps and process for a Manchester signal are much the same. Figure 1: A 1-Mb/s NRZ signal Teledyne LeCroy Using Manchester & NRZ Configurable Protocol Decoders page 1 of 5

Once the signal is acquired and suitably displayed on the oscilloscope screen, use the Analysis drop-down menu at the top of the screen to access the Serial Decode dialog box, as shown in Figure 2. Figure 2: The Serial Decode dialog box Pressing the Protocol button in the Decode 1 row brings up a popup menu of different protocols (what appears in the menu is determined by which serial-decode software options are installed in the oscilloscope). The decode options are shown in Figure 3: Figure 3: The Protocol popup menu in the Serial Decode dialog box Select NRZ in the Protocol popup menu. Next, designate the source of the on-screen trace in the Data column (in this case, the trace is stored in Memory 1 or M1). In the Serial Decode dialog box, assign the on-screen trace to Decode 1 by turning Decode 1 on. Then press the Setup button for Decode 1, which opens the Decode Setup tab in the dialog box. The Three Tabs: Basic, Decode, and Levels Upon entering the Decode Setup tab, note its layout as shown in Figure 4: Figure 4: The Decode Setup dialog box Teledyne LeCroy Using Manchester & NRZ Configurable Protocol Decoders page 2 of 5

Be sure to check the View Decode box. Note that Source 1 (Data) is set to M1 and the Protocol to NRZ. The Basic tab will be open on the right by default. Try switching between the Basic, Decode, and Levels tabs and come back to the Basic tab for the next section of the tutorial. The Basic Tab The Basic tab, shown at right in Figure 4, provides all of the fundamental controls required to allow proper bitlevel decoding. The configurable Manchester and NRZ decoders support a wide range of bit rates. Input the appropriate Bit Rate using the Bit Rate field in the Physical Layer portion of the Basic tab. The Timeout Definition for the gap between bursts comprises two parameters, Units and # Bits. The former can be set to either Bits or Seconds. If Bits is chosen, the range is from 1 to 100. If Seconds is used, the range is from 1 to 99.99 µs. The Idle State, which complements the Timeout Definition parameters, may be set to either IdleHigh, IdleLow, or Don t Care. Setting the Idle State helps to precisely define the separation gap between data bursts. For NRZ, the Polarity may be set to either Low = 0 or Low = 1. For Manchester, it may be set to either falling = 0 or falling = 1. Manchester protocol logic levels of 0 or 1 are determined by transitions of edges, while NRZ protocol logic levels are determined by voltage levels. In both cases, the Polarity setting determines whether an edge falling through the threshold level is decoded as a logical 0 or a logical 1. The next section of this tutorial will cover the Decode tab. But to ensure that the bit-level decode is correct, click on the Decode tab and temporarily set the Data Mode to Words. Then zoom in on a portion of the decoded signal by drawing a rectangle around it on the screen. This opens a zoomed view of that portion as shown in the lower portion of the screen capture in Figure 5. Figure 5: Verifying correct bit-level decode with a zoomed view Teledyne LeCroy Using Manchester & NRZ Configurable Protocol Decoders page 3 of 5

Note that in the zoomed view Z1, which corresponds to the highlighted portion in M1, all of the bit transitions are aligned with the signal transitions and the logical interpretation of the bits is consistent to the settings made at the physical level in the Basic tab. In this case, Polarity is set to physical Low = 1. Tap the Z1 annotation box and uncheck Trace On at the upper left. Close the Zoom dialog and reopen the Decode Setup dialog by tapping the NRZ data table. On the Decode tab, set Data Mode back to Words. The Decode Tab The next series of steps will cover the Decode tab (Figure 6), where decode at the word level is set up. First, note that when the Data Mode is switched to Bits, all of the word-level parameters on the tab are greyed out. Switching the Data Mode back to Words makes them all active. Figure 6: The Decode tab in the Decode Setup dialog The First Transition Used (FTU) parameter accounts for items that may precede the actual data payload. These might include such elements as a preamble or a synchronization sequence. The default setting for FTU is zero; it can range in increments of one to a maximum of 400. The Bit Stretch Tolerance parameter comes into play more directly in Manchester decoding, where transitions often occur at mid-bit. Due to hardware or signal-propagation issues, these mid-bits may not be perfectly equidistant. This parameter is adjusted to better decode jittery signals. After setting the Bit Rate on the Basic tab, the Bit Stretch Tolerance may require adjustment from its default setting of 20% to achieve stable decoding. At the bottom of the Decode tab is a number of parameters for Grouping of Bits into Words. Figure 7 shows the 1 M-bit/s NRZ-encoded signal grouped into its constituent parts. Figure 7: A Manchester signal shown decoded in Word Mode Teledyne LeCroy Using Manchester & NRZ Configurable Protocol Decoders page 4 of 5

The first step in the process is to ensure that the Data Mode is set to Words. Both the NRZ and Manchester provide the same tools and capabilities to group bits into Sync Bits, PrePad, Data Bits, and PostPad. PrePad bits (from zero to 32) might comprise addresses, preambles, subaddresses, or other content. In Figure 7, they are the portions of the bit stream seen with a purple overlay. Data bits, in numbers from 1 to 32, comprise single words. They are seen with a blue overlay. PostPad bits serve to group information following the data bits. Numbering from zero to 32, PostPad bits can represent a CRC, a checksum, or other protocol constructs. PostPad bits are displayed with a yellow overlay. The Level Tab The last of the three tabs in the Decode Setup dialog box is the Level tab, shown in Figure 8. Figure 8: The Levels tab in the Decode Setup dialog box Levels can be set using either percentage or absolute voltage values as determined by the Level Type setting. The Level setting itself determines the threshold that transitions must cross to be counted as transitions. The default value is 50% or 1.5 V for percentage and absolute level types, respectively. Hysteresis settings are used to account for noisy signals with spikes that may create false transitions if they cross the Level threshold. It appears as a blue-shaded band centered vertically on the Level setting. The default Hysteresis value is 15%, but it may be varied from zero to 50%. Conclusion Teledyne LeCroy s configurable Manchester and NRZ decoders are extremely capable tools, enabling users to explore the intricacies of signals encoded with these schemes. Armed with a bit of foreknowledge of the signal under test, users may exploit the decoders nearly unlimited flexibility with respect to signal parameters to cleanly decode and display signals and extract data relative to their physical characteristics. Teledyne LeCroy Using Manchester & NRZ Configurable Protocol Decoders page 5 of 5