Viewing Serial Data on the Keysight Oscilloscopes

Similar documents
Viewing Serial Data on the Keysight Oscilloscopes

Agilent InfiniiVision 7000 Series Oscilloscopes

Agilent InfiniiVision 7000B Series Oscilloscopes

Advanced Troubleshooting with Oscilloscopes 9000 Scope Hands-on Labs

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

Agilent 6000 Series Oscilloscope Demo Guide

Serial Decode I2C TEN MINUTE TUTORIAL. December 21, 2011

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

RS232 Decoding (Option)

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

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

Experiment # 4 Counters and Logic Analyzer

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

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

APPLICATION NOTE # Monitoring DTMF Digits Transmitted by a Phone

Table of Contents Introduction

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

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

Using Manchester and NRZ Configurable Protocol Decoders

S op o e p C on o t n rol o s L arni n n i g n g O bj b e j ctiv i e v s

Oscilloscopes, logic analyzers ScopeLogicDAQ

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

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

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

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

Agilent DSO5014A Oscilloscope Tutorial

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

Arduino Hacking Village THOTCON 0x9

SignalTap Plus System Analyzer

Physics 123 Hints and Tips

BME 3512 Biomedical Laboratory Equipment List

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

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

Serial Triggering and Analysis Application Modules

The Measurement Tools and What They Do

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

University of Utah Electrical & Computer Engineering Department ECE1050/1060 Oscilloscope

R5 RIC Quickstart R5 RIC. R5 RIC Quickstart. Saab TransponderTech AB. Appendices. Project designation. Document title. Page 1 (25)

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

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

INSTRUCTION GUIDE. for the. Keysight (formally Agilent; Hewlett-Packard) Model #33509B. and. Tektronix. Fall 2017

PB-507. Advanced Analog & Digital Electronic Design Workstation Instruction Manual. Revision: 2/2014

DiD. LCD Video Monitor & Video Wall Universal User Manual. Digital Information Display

Quick Reference Manual

Burlington County College INSTRUCTION GUIDE. for the. Hewlett Packard. FUNCTION GENERATOR Model #33120A. and. Tektronix

About this Manual. Support for Your Product

Introduction Display...1 Mounting...1 Firmware Version...2. ADL Operation... 3

Activity P32: Variation of Light Intensity (Light Sensor)

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

SG-6005xl & SG-6006 PROTOCOL (VER 1.2)

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

FLEXRAY TRIGGER, DECODE, AND PHYSICAL LAYER TEST

Agilent I 2 C Debugging

Cable Calibration Function for the 2400B/C and 2500A/B Series Microwave Signal Generators. Technical Brief

EE 367 Lab Part 1: Sequential Logic

Laboratory 9 Digital Circuits: Flip Flops, One-Shot, Shift Register, Ripple Counter

successive approximation register (SAR) Q digital estimate

HAMEG. Oscilloscopes. Innovation right from the start. Oscilloscopes

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

medlab One Channel ECG OEM Module EG 01000

For warranty service, please contact Microframe at: A technician will gladly assist you.

University of Utah Electrical Engineering Department EE1050/1060 Oscilloscope. Name:, Lab TA:

Troubleshooting Your Design with Tektronix MSO and DPO Series Oscilloscopes

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

SE-1200 MU RS-232 Commands Protocol Guide. For the Control by the RMC-260 Remote Controller. December 4, 2017

USBee DX Test Pod Users Manual. CWAV

with Simulated Outputs Description Applications Features

Basic LabVIEW Programming Amit J Nimunkar, Sara Karle, Michele Lorenz, Emily Maslonkowski

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

Oscilloscope Guide Tektronix TDS3034B & TDS3052B

DS1000Z Deep Memory Data Collection Example

PicoScope 6 Training Manual

Extra long-range RFID (proximity) card reader

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

Anritsu Setup Procedure for GSP-1720 Measurements

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

Bel 2120B. Analogue/AES/SDI Shuffler. User s Guide Version /05/04

1 Synchronising Xsens with the Delsys Trigno EMG System

Introduction to Serial I/O

Page 1. Introduction to Serial I/O. Definitions. A Serial Channel CS/ECE 6780/5780. Al Davis. Today s topics: Serial I/O

FlexRay Physical Layer Eye-diagram Mask Testing

TV Character Generator

Lecture 14: Computer Peripherals

4X50 ETHERNET SYSTEM

Logic Analysis Basics

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

Logic Analysis Basics

Kramer Electronics, Ltd. USER MANUAL. Model: 900xl. Power Amplifier

QPHY-USB3 USB3.0 Serial Data Operator s Manual

Experiment 9A: Magnetism/The Oscilloscope

ZU 252. Incremental Counter Module With Analogue Output and Serial Interface. Operating Instructions. control motion interface

Essentials of HDMI 2.1 Protocols

RF Solution for LED Display Screen

Exercise 2-1. External Call Answering and Termination EXERCISE OBJECTIVE

imso-104 Manual Revised August 5, 2011

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

Beginners How to Test DSO138mini

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

General Information. Specifications. Introduction. Safety Instructions

2x50 ETHERNET MODULE

Transcription:

Ming Hsieh Department of Electrical Engineering EE 109L - Introduction to Embedded Systems Viewing Serial Data on the Keysight Oscilloscopes by Allan G. Weber 1 Introduction The four-channel Keysight (ex-agilent) MSO-X 3024A oscilloscopes have special triggering modes that allow them to capture I 2 C and RS-232 serial data transfers and display them. These triggering modes should be used whenever looking at these signals rather than just using the standard edge triggering. This document briefly describes how to setup the scopes to acquire I 2 C and RS-232 data and display it. 2 Viewing I 2 C Transfers To view I 2 C or Two-Wire data transfers follow the steps below. If at any time during the setup you want to make a menu disappear from the screen, press the Back button near the lower right corner of the screen. 1. Turn on the scope and then turn on two of four input channels by pressing the buttons with numbers on them in the vertical section of controls until the traces appear on the screen (Fig. 1). In this example we ll use channels 1 and 2. Figure 1: Keysight channel settings Figure 2: Keysight serial mode set for I 2 C 2. Use the large knobs above the 1 and 2 buttons to adjust the input levels for both channels to 5 Volts per division. The levels for the channels are shown in the upper left part of the screen. 3. Use the small knobs below channel buttons to vertically position the two traces on the screen where both can be viewed. EE 109L, Rev. 11/19/15 1

Figure 3: Keysight I 2 C input settings Figure 4: Keysight I 2 C signal display 4. Use the large knob in the horizontal section of the controls to change the horizontal sweep speed to 100µs (time/division). The sweep speed is shown in the upper right portion of the screen. 5. The small knob in the right part of the horizontal section changes the horizontal position of the displayed signal. First press the knob to center the signal on the screen, and then rotate the knob to move the small orange triangle at the top of the screen over closer to the left side of the screen. When an I 2 C signal is captured, it will be displayed with the starting point of the signal at this position. 6. Connect two scope probes to channels 1 and 2 of the scope and then connect the probe tips to the I 2 C clock and data lines on your project board. Either one can be attached to either signal but make note of which way they are connected. Connect the black ground lead of one of the probes to ground on the breadboard. Both probe s ground leads can be connected to the breadboard ground but only one is required.. 7. The Keysight scopes can have two stored configurations for working with serial signals like I 2 C. To setup a one for I 2 C, press the Serial button in right portion of the screen. This brings up the Serial Decode Menu along the bottom of the screen. Press the left soft key and it should show the two Serial selections. If Serial 1 doesn t have the box next to it filled in with a blue square, press the button again to select it. 8. The label for the second softkey from the left shows the current protocol selection for the bus. If it doesn t say I 2 C, press the softkey below the label to bring up a vertical menu for selecting the protocol type. Using the knob with the illuminated green arrow just to the right of the screen, select the I 2 C setting for Serial 1 as shown in Fig. 2. 9. Press the third softkey from the left labeled Signals. This brings up the screen shown in Fig. 3. The current settings for which channel is clock (SCL) and which is data (SDA) is shown along the bottom of the screen. Use the softkeys below the channel destinations and the selector knob to change these to match how you connected the probes to the hardware under test. 10. For each channel, press the Threshold softkeys and then use the selector knob to adjust the voltage thresholds. The thresholds need to be set to something around the middle of the zero to 5 volt range. Use the selector knob to set each of the thresholds to 2.4 to 2.6 Volts 11. Press the Trigger button in the Trigger section of the controls. Press the Trigger Type soft key to bring up the vertical menu of triggering types, and use the selector knob to scroll down near the bottom and select Serial 1. EE 109L, Rev. 11/19/15 2

12. The Trigger on: softkey is used to select the I 2 C condition that will cause the scope to acquire data. For most purposes a Start condition works best. If the softkey doesn t say Start, press it to bring up the Trigger on: menu and use the selector knob to set it for triggering on an I 2 C Start condition. 13. Press the Mode/Coupling button in the Triggers section of the controls. Use the left softkey that says Mode to set the triggering mode to Normal. At this point the scope is configured to trigger on a I 2 C Start condition. Press the Single button in the upper right to put the scope in a state where it will wait for the next Start condition on the I 2 C bus and then capture the data. Do whatever is needed on your project board to get it to generate the I 2 C transfer, and once the data has been captured it will be displayed on the screen (Fig. 4). The bottom portion of the screen should show the contents of each byte in the the I 2 C transfer in hexadecimal. In addition it will mark various protocol bits in the transfer: S = Start, R = read, W = write, a = ACK. The captured data can be expanded or shrunk horizontally using the horizontal scale control. If you shrink the data to try to see more of it, it may not show up since the scope only stored the part that was to be displayed. In this case you will have to repeat the acquisition of the data to capture more data. The smaller knob in the horizontal section can be used to move the display left or right to see all parts of the I 2 C data. 3 Viewing RS-232 Transfers To view RS-232 data transfers follow the steps below. If at any time during the setup you want to make a menu disappear from the screen, press the Back button near the lower right corner of the screen. 1. Turn on the scope and then turn on input channel 1 by pressing the button with number 1 on it in the vertical section of controls until the trace appear on the screen (Fig. 5). Figure 5: Keysight channel settings Figure 6: Keysight serial mode set for RS- 232 2. Use the large knobs above the 1 button to adjust the input levels for the channel to 5 Volts per division. The levels for the channels are shown in the upper left part of the screen. 3. Use the small knobs below channel buttons to vertically position the yellow trace in about the middle of the screen. 4. Use the large knob in the horizontal section of the controls to change the horizontal sweep speed to 1ms (time/division). The sweep speed is shown in the upper right portion of the screen. EE 109L, Rev. 11/19/15 3

Figure 7: Keysight RS-232 bus configuration settings Figure 8: Keysight RS-232 signal display 5. The small knob in the right part of the horizontal section changes the horizontal position of the displayed signal. First press the knob to center the signal on the screen, and then rotate the knob to move the small orange triangle at the top of the screen over closer to the left side of the screen. When an RS-232 signal is captured, it will be displayed with the starting point of the signal at this position. 6. Connect a scope probe to channel 1 of the scope and then connect the probe tip to the source of the RS-232 data. Connect the black ground lead of the probe to ground on the breadboard. 7. The Keysight scopes can have two stored configurations for working with serial signals like RS-232. To setup a one for RS-232, press the Serial button in right portion of the screen. This brings up the Serial Decode Menu along the bottom of the screen as shown in Fig. 6. Press the left soft key and it should show the two Serial selections. If Serial 1 doesn t have the box next to it filled in with a blue square, press the button again to select it. 8. The label for the second softkey from the left shows the current protocol selection for the bus. If it doesn t say UART/RS232, press the softkey below the label to bring up a vertical menu for selecting the protocol type. Using the knob with the illuminated green arrow just to the right of the screen, select the UART/RS232 setting for Serial 1. 9. Press the third softkey from the left labeled Signals. The serial data triggering mode is designed to look at two RS-232 data streams at the same time, and one is called the Tx or transmitted data and the other is the Rx or received data. For looking at just one data stream either can be used but for this example we ll use the Rx channel. The labels above the softkeys show which scope channels are assumed to have the Rx and the Tx data connected to them. If the number below the Rx label is not 1, press that softkey and use the knob to change the channel setting to 1. 10. For the Rx channel, press the Threshold softkey and then use the selector knob to adjust the voltage threshold. The threshold should be set to something around the 0 volts since the signals go both positive and negative. 11. Press the Back button to get back to the Serial Decode Menu and then press the Bus Config softkey. This brings up the screen shown in Fig. 7. 12. On the Bus Configuration Menu, use the softkeys to set the RS-232 communications parameters. #Bits = 8 Parity = None EE 109L, Rev. 11/19/15 4

Baud rate = whatever you are using Polarity = Idle low Bit Order = LSB 13. Press the Trigger button in the Trigger section of the controls to bring up the Trigger Menu. 14. Press the Trigger Type softkey to bring up the vertical menu of triggering types, and use the selector knob to scroll down near the bottom and select Serial 1. 15. Press the Trigger Setup softkey to bring up the UART/RS232 Trigger Setup Menu. 16. The Trigger softkey is used to select the RS-232 condition that will cause the scope to acquire data. For most purposes we want to trigger on the RS-232 start bit that indicates the beginning of the data transfer. We re using the Rx channel so if it doesn t say Rx Start on the label, press the softkey to bring up the Trigger menu and use the selector knob to set it for triggering on an Rx Start Bit. 17. Press the Mode/Coupling button in the Triggers section of the controls. Use the left softkey that says Mode to set the triggering mode to Normal. At this point the scope is configured to trigger on a RS-232 start bit. Press the Single button in the upper right to put the scope in a state where it will wait for the next start bit and then capture the data. Do whatever is needed on your project board to get it to generate the RS-232 transfer, and once the data has been captured it will be displayed on the screen (Fig. 8). The bottom portion of the screen should show the contents of each byte in the the RS-232 transfer in hexadecimal. The hex values only show the 8-bits contents, not the start or stop bits. The captured data can be expanded or shrunk horizontally using the horizontal scale control. If you shrink the data to try to see more of it, it may not show up since the scope only stored the part that was to be displayed. In this case you will have to repeat the acquisition of the data to capture more data. The smaller knob in the horizontal section can be used to move the display left or right to see all parts of the I 2 C data. 4 Viewing TTL-Serial Transfers The term TTL-Serial usually refers to asynchronous data communications that uses the same protocol as RS-232, but use 0 volt and 5 volt logic levels instead of the bipolar levels used by RS-232. The transmitted data logic signals that go into a RS-232 converter, or the received signals that come from the converter are in this mode. The Keysight scopes can display these signals in the same manner as the RS-232 ones by making a couple changes to the settings. Follow all the steps above for viewing RS-232 with the following changes. On the UART/RS232 Signals Menu, set the trigger threshold for the channel to about 2.5 volts rather than 0 volts. On the Bus Configuration Menu, set the Polarity to Idle high. After that, do the same steps to complete the configuration and acquire the data. EE 109L, Rev. 11/19/15 5