Viewing Serial Data on the Keysight Oscilloscopes

Similar documents
Viewing Serial Data on the Keysight Oscilloscopes

Agilent InfiniiVision 7000 Series Oscilloscopes

Advanced Troubleshooting with Oscilloscopes 9000 Scope Hands-on Labs

Agilent InfiniiVision 7000B Series Oscilloscopes

Agilent 6000 Series Oscilloscope Demo Guide

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

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

APPLICATION NOTE # Monitoring DTMF Digits Transmitted by a Phone

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

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

Table of Contents Introduction

Using Manchester and NRZ Configurable Protocol Decoders

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

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

Oscilloscopes, logic analyzers ScopeLogicDAQ

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

Agilent DSO5014A Oscilloscope Tutorial

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

Arduino Hacking Village THOTCON 0x9

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

BME 3512 Biomedical Laboratory Equipment List

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

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

SignalTap Plus System Analyzer

Physics 123 Hints and Tips

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

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

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

About this Manual. Support for Your Product

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

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

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

Activity P32: Variation of Light Intensity (Light Sensor)

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

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

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

FLEXRAY TRIGGER, DECODE, AND PHYSICAL LAYER TEST

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

Agilent I 2 C Debugging

Quick Reference Manual

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

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

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

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

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

Troubleshooting Your Design with Tektronix MSO and DPO Series Oscilloscopes

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

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

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

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

PicoScope 6 Training Manual

DS1000Z Deep Memory Data Collection Example

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

EE 367 Lab Part 1: Sequential Logic

1 Synchronising Xsens with the Delsys Trigno EMG System

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

successive approximation register (SAR) Q digital estimate

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

FlexRay Physical Layer Eye-diagram Mask Testing

USBee DX Test Pod Users Manual. CWAV

HAMEG. Oscilloscopes. Innovation right from the start. Oscilloscopes

Lecture 14: Computer Peripherals

4X50 ETHERNET SYSTEM

RF Solution for LED Display Screen

Essentials of HDMI 2.1 Protocols

imso-104 Manual Revised August 5, 2011

Oscilloscope Guide Tektronix TDS3034B & TDS3052B

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

O P E R A T I O N M A N U A L. RF-Reader. Stand-alone-Reader Leser 2plus with RS-232 interface

Beginners How to Test DSO138mini

Extra long-range RFID (proximity) card reader

with Simulated Outputs Description Applications Features

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

2x50 ETHERNET MODULE

Mounting Dimensions / Viewing 2 Mounting Options 3. Wiring Configuration 4. Quick Set up Procedure 5. Changing Intensity 6.

L, LTC, LTM, LT are registered trademarks of Linear Technology Corporation. Other product

Advanced Skills with Oscilloscopes

MS-32. Oscilloscope Mixed Signal Option. Add 32 Digital Channels to a 4 Channel Oscilloscope

PLASMA MONITOR (PT20 UVVis) USER GUIDE

LeCroy Digital Oscilloscopes

TV Character Generator

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

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

2 AORM Setup & View Wizard

Tuning Procedure for PGA450Q1EVM

medlab One Channel ECG OEM Module EG 01000

QPHY-USB3 USB3.0 Serial Data Operator s Manual

User Manual. Digital Storage Oscilloscopes Models 2534, 2540 & 2542

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/13/17 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/13/17 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 The RS-232 communication standard actually only refers to the hardware and electrical characteristics of the signals, but over the years many people also use the term to refer to the timing and format of the signals. True RS-232 uses signals that use positive and negative voltages like 8V for a logical 1, and +8V for a logical 0. In EE109 we often instead use what people sometimes call TTL serial which uses the same timing and signal format at normally used with RS-232 but uses +5V for a logical 1 and 0V for a logical 0. The Keysight scopes can display TTL serial signals in the same manner as the true RS-232 ones by making a couple changes to the settings. To view TTL serial signals, follow the steps below but look for places where it says to make changes for viewing the TTL serial signals. 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. EE 109L, Rev. 11/13/17 3

Figure 7: Keysight RS-232 bus configuration settings Figure 8: Keysight RS-232 signal display 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. 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 for true RS-232 since the signals go both positive and negative. For TTL serial, set to around +2.5V. 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. EE 109L, Rev. 11/13/17 4

12. On the Bus Configuration Menu, use the softkeys to set the RS-232 communications parameters. #Bits = 8 Parity = None Baud rate = whatever you are using Polarity = Idle low for true RS-232, idle high for TTL serial 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 RS-232 data. EE 109L, Rev. 11/13/17 5