Parallel and Serial Bus Analysis Instructor s Guide

Similar documents
Tektronix DPO Demo 1 Board Instruction Manual

Troubleshooting Ethernet Problems with Your Oscilloscope APPLICATION NOTE

Troubleshooting Ethernet Problems with Your Oscilloscope APPLICATION NOTE

How to Troubleshoot System Problems Using an Oscilloscope with I 2 C and SPI Decoding APPLICATION NOTE

TBS2000 Oscilloscope Demo Guide 28 JULY 2016

Front-Panel Menus and Controls

Digital Storage Oscilloscope

Digital Storage Oscilloscope

Help Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface

Help Volume Hewlett Packard Company. All rights reserved. Toolsets: IA Format Utility

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes

Keysight Technologies RS232/UART Protocol Triggering and Decode for Infiniium Series Oscilloscopes. Data Sheet

Digital Storage Oscilloscope

TDSPTD Protocol Trigger and Decode Application Online Help

Troubleshooting USB 2.0 Problems with Your Oscilloscope APPLICATION NOTE

Programmer Manual. DG2020A Data Generator

Serial Triggering and Analysis Application Modules AERO AUDIO AUTO AUTOMAX COMP EMBD FLEX USB ENET Datasheet

Training Kit for HP 1660/70 Series Logic Analyzers

Online Help. Protocol Trigger and Decode Adapted from the Protocol Trigger and Decode Online Help (May, 2005)

Serial I/O. 4: Serial I/O. CET360 Microprocessor Engineering. J. Sumey

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING. Principles of Computer Operation

USB 2.0 Application Software

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING

Specification. Current Consumption Range 8m * Rotational Angle +/- 50 degrees * Shear Angle +/- 40 degrees *

ECE251: Thursday November 8

USB 2.0 Application Software

PC Courseware Editor User Manual

Serial Triggering and Analysis Application Modules AERO AUDIO AUTO AUTOMAX COMP EMBD FLEX USB ENET Datasheet

Using the I 2 C Interface on the ATmega328P and MC908JL16

Laboratory Finite State Machines and Serial Communication

LogicStudio Training Guide

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

OEM Proximity Reader with Keypad Manual REV1

melabs Serial LCD Firmware Version 1.1 3/5/07

Overcoming PCI-Express Physical Layer Challenges

Serial Triggering and Analysis Application Modules AERO AUDIO AUTO AUTOMAX COMP EMBD FLEX USB ENET Datasheet

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

Serial Triggering and Analysis Application Modules

Sender Receiver Sender

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

LCD03 - I2C/Serial LCD Technical Documentation

Typical modules include interfaces to ARINC-429, ARINC-561, ARINC-629 and RS-422. Each module supports up to 8 Rx or 8Tx channels.

Serial RapidIO Gen2 Protocol Analyzer

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

Logic Analyzers by Link Instruments, Inc Logic Analyzers

Tektronix 4000 Series Oscilloscopes Declassification and Security Instructions

Digital Storage Oscilloscope

I/O232-A User s Guide

PC Based Logic Analyzer. Project Proposal

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

LCD03 - I2C/Serial LCD Technical Documentation

Chapter 9: Data Transmission

Lab5 2-Nov-18, due 16-Nov-18 (2 weeks duration) Lab6 16-Nov-19, due 30-Nov-18 (2 weeks duration)

1.1. INTRODUCTION 1.2. NUMBER SYSTEMS

TDS820 Digitizing Oscilloscope Declassification and Security Instructions

User s Manual. DL7440/DL7480 Digital Oscilloscope Serial Bus Signal Analysis Function

Linear Control Systems LABORATORY

LCD05 datasheet 1.0

Step 1. Overview. Goal. System Requirements - 1 x WaveAce passive probe. Setup

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes

UART Devices. ECE 480: Design Team 3. Application Note. By: Hoyoung Jung. Date: 4/3/15

Keysight Technologies I 2 C and SPI Protocol Triggering and Decode

This document contains the firmware release notes for two models. The SDS1202X-E is a dual channel 200 MHz scope.

Stalker Sports Speed Sensor User Manual

1. Draw general diagram of computer showing different logical components (3)

Parallel-to-Serial and Serial-to-Parallel Converters

DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide

I 2 C and SPI Protocol Triggering and Decode for Infiniium 8000 and Series Oscilloscopes

2a. Codes and number systems (continued) How to get the binary representation of an integer: special case of application of the inverse Horner scheme

UNIT 7A Data Representation: Numbers and Text. Digital Data

User s Guide. LA5034 Operation Manual

S-Series Sensor ASCII Protocol v8.1.0

Falcon and Raptor Series Application Note: Tech Support Frequently Asked Questions

School of Computer Science Faculty of Engineering and Computer Science Student ID Number. Lab Cover Page. Lab Date and Time:

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

ENG-7680: SCADA Laboratory Experiments

The Gray Code. Script

Data Representation and Binary Arithmetic. Lecture 2

Data Communication/MIDI. Juan P Bello

Modbus Installation and Troubleshooting for AP9635/AP9635CH Network Management Card By Gary Ware. Introduction

PCI-express data acquisition card DAQ0504M User Guide

Logic Analyzer Software Manual

NORITAKE ITRON VFD MODULES GU192x16H-K612C5

Table of Contents 1. INTRODUCTION SYSTEM DESCRIPTION...1

USB 2.0 Application Software USB 2.0 Decoding, Triggering, and Compliance Testing Software

melabs Serial LCD Firmware Version 1.0 2/7/07

About this Manual. Support for Your Product

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

APPLICATION NOTE #xx. Modbus Installation and Troubleshooting for AP9635/AP9635CH Network Management Card By Gary Ware.

CAN/ LIN Bus Decoder App

Multi-protocol monitoring using oscilloscopes

HP 16522A 200-M Vectors/s Pattern Generator

zigb232 & zigb485 User Guide User Guide TANGENT TECHNOLABS

GNOME485. Ethernet to RS485 converter Eas y to use. Security features. Virtual serial port. 2/16/2006 w w w. p a p o u c h.

Cross-Bus Analysis Reveals Interactions and Speeds Troubleshooting

Embedded Systems and Software

FCA3000, FCA3100, and MCA3000 Series Connectivity Installation Manual

HDLC-PCIE. Synchronous Serial Card. Rev. Dec 22, Datasheet. Website:

Hints and tips when using RC1xx0 RF Modules

A GUIDE TO RS-232 COMMUNICATION WITH FX PLCS

Transcription:

A collection of lab exercises to explore analysis of parallel and serial buses with a digital oscilloscope. Revision 1.0 Page 1 of 21

Copyright Notice and Reproduction Rights 2009 Tektronix, Inc. This document may be reprinted, modified and distributed in whole or in part for the limited purpose of training users or prospective users of Tektronix oscilloscopes and instrumentation. Any reproduction must include a copy of this page containing this notice. Revision 1.0 Page 2 of 21

Table of Contents LABORATORY EXPERIMENT INSTRUCTOR S GUIDE INTRODUCTION...4 OBJECTIVES...4 LABORATORY EXPERIMENT INTRODUCTION...4 OBJECTIVES...4 EQUIPMENT LIST...4 OVERVIEW OF PARALLEL BUSES...5 PARALLEL BUS ANALYSIS...7 DECODING AND ANALYZING PARALLEL BUS TRAFFIC...7 OVERVIEW OF THE RS-232 SERIAL BUS...12 RS-232 SERIAL BUS ANALYSIS...15 DECODING AND ANALYZING RS-232 SERIAL BUS TRAFFIC...15 FINAL EXERCISE...19 Revision 1.0 Page 3 of 21

Laboratory Experiment Introduction Objectives 1. The purpose of this is to: a. Expand the training steps with additional oscilloscope screen and front panel images to assist students who may have questions. b. Provide answers for each exercise. 2. Instructor s notes are in bold blue text. Laboratory Experiment Introduction Objectives 1. Describe and demonstrate using the Tektronix MSO2000 series mixed signal oscilloscope to decode and analyze parallel buses. 2. Describe and demonstrate using the Tektronix MSO2000 series mixed signal oscilloscope to decode and analyze the RS-232 serial bus. Equipment List 1. One Tektronix MSO2000 Series digital oscilloscope. 2. One Tektronix DPO2COMP application module. It can be installed in either of the application module slots on the upper right corner of the front panel of the instrument. The oscilloscope should be OFF when the module is installed. 3. One Tektronix P6316 logic probe. 4. One Tektronix P2221 1X/10X passive probe. 5. One Host/Device USB Cable. 6. One Tektronix 878-0456-xx demonstration board. Revision 1.0 Page 4 of 21

Overview of Parallel Buses Embedded systems can contain many different types of devices including microcontrollers, microprocessors, DSPs, RAM, EPROMs, FPGAs, A/Ds, D/As and I/O. These various devices have traditionally communicated with each other and the outside world using wide parallel buses. Even though many designs today use serial buses for communication, parallel buses are still common. With a parallel architecture, each component of the bus has its own signal path. There may be multiple address lines, multiple data lines, a clock line and various other control signals. Address or data values sent over the bus are transferred at the same time over all the parallel lines. Parallel Bus Data Value: 1001 0000 Figure 1: Example of Parallel Bus Lines One signal in the parallel bus is defined as the least significant digit and the other signals represent the other digits of the binary number up to the most significant digit. You can manually decode the bus data by evaluating each signal as high (1) or low (0) at each horizontal location. For example in the highlighted area above, the binary value for D7-D0 is 1001 0000. If all signals are logic low, the bus state is 0000,0000 binary. If only the least significant digit is high, the bus state is 0000,0001 binary. If only the most significant digit is high the bus state is 1000,0000 binary and if all the signals are high the bus state is 1111,1111 binary. Most engineers would prefer to use hexadecimal or hex notation, rather than binary. You can use the following chart to translate each group of 4 binary bits to a hex character: Binary Hex Binary Hex 0000 0 1000 8 0001 1 1001 9 0010 2 1010 A 0011 3 1011 B 0100 4 1100 C 0101 5 1101 D 0110 6 1110 E 0111 7 1111 F Revision 1.0 Page 5 of 21

Key Points to Remember 1. Each component of a parallel bus has its own signal path. 2. Address or data values sent over the bus are transferred at the same time over all the parallel lines. 3. One signal in the parallel bus is defined as the least significant digit and the other signals represent the other digits of the binary number up to the most significant digit. Exercise 1. What is the binary value of the parallel bus below at the point highlighted? Answer: 1001 0011 2. What is the parallel bus data value in hexadecimal notation? The hexadecimal notation is 93 hex. Revision 1.0 Page 6 of 21

Parallel Bus Analysis Decoding and Analyzing Parallel Bus Traffic 1. This section explores using the MSO2000 to decode and analyze a sample parallel bus. Location of key controls for this lab experiment: Cursors Search Wave Inspector Autoset Trigger Menu Power On D15 D0 Button Default Digital Setup Channels Bus Buttons a. Power up the MSO2000 Series oscilloscope by pressing the power switch on the lower left corner of the instrument. b. Press the front panel Default Setup button to set the oscilloscope to a known state. c. Plug the USB cable into the USB host port on the front of the MSO2000 Series oscilloscope and the USB device port on the demo board. d. Verify the demo board s green POWER LED is lit. e. Connect the P6316 digital probe to the front panel connector on the MSO2000 Series oscilloscope. Revision 1.0 Page 7 of 21

f. Connect the probe s Group 1 probe pod to the counter output connector, being careful to align the colored label with the signals on the right side of the connector. g. Turn off channel 1 by pressing the yellow 1 front panel button twice. h. Press the blue front panel D15-D0 button to turn on the digital input menu. i. Press the D15-D0 On/Off bottom bezel button. j. Press the Turn on D7-D0 side bezel button. k. Press the front panel Autoset button. Autoset will automatically adjust the horizontal, vertical and trigger settings to obtain a usable display. l. Press the blue front panel D15-D0 button to turn on the digital input menu. m. Press the Height bottom bezel button until medium waveform size M is selected. n. Press the Thresholds bottom bezel button. Notice that the digital threshold value has been set to 1.4V, which is a reasonable value for these digital signals. o. Press the Menu Off button twice to remove the menus. p. Set the horizontal Scale to 1 µs/div. q. Press the Single button. r. The oscilloscope display should now look like this: 2. The MSO2000 Series oscilloscope s cursors can be used to automatically decode the individual points on a parallel bus. The following series of steps will use this functionality. a. Press the Cursors front panel button once. b. Using the multipurpose controls, position the cursors on two different points on the bus. The cursors may initially be off screen. Revision 1.0 Page 8 of 21

c. The cursor readouts in the upper right corner of the display provide automatic decoding of individual points on a parallel bus. d. Press the Cursors front panel button once to turn cursors off. 3. The MSO2000 Series oscilloscope can also be configured to automatically decode the entire parallel bus traffic. In the following series of steps, you will set up the oscilloscope to decode the bus. a. Press the purple front panel B1 button to enable a parallel bus. b. Press the Define Inputs bottom bezel button. c. Using the multipurpose a control, set the Number of Data Bits to 8. d. Press the Menu Off button once to clear the side menu. e. Using the multipurpose a control, position the decoded bus waveform in the top half of the display. f. Press the Menu Off button once to clear the menus. g. Parallel bus decoding provides automatic decoding of all points on a parallel bus. Decoded Parallel Bus 4. In the previous steps, the oscilloscope is triggering on the rising edge of the D0 digital signal. (Autoset sets the trigger source to the lowest active channel.) The oscilloscope can also be set to trigger on parallel bus values. a. Press the Trigger Menu button. b. Press the Type bottom bezel button. c. Turn the multipurpose a control fully counter-clockwise to select Bus triggering. d. Press the Data bottom bezel button. e. Turn the multipurpose a control fully clockwise to select the hex data word. Revision 1.0 Page 9 of 21

f. Using the multipurpose b control, select the value 10h. The oscilloscope is now set up to trigger on a parallel data value of 10h. g. Press the Menu Off button twice to clear the menus. h. Press the front panel Single button. Trigger occurred at hex value 10h 5. You can now search the stored data for specific values as described in the following steps. a. Press the front panel Search button. b. Press the Search bottom bezel button. c. Press the Search side bezel button until On is selected. d. Press the Search Type bottom bezel button. e. Turn the multipurpose a control fully counter-clockwise to select Bus searching. f. Press the Data bottom bezel button. g. Using the multipurpose a control, highlight the least significant digit of the Hex value. h. Using the multipurpose b control, select the value X0h. Wave Inspector will now search for any data value that ends in 0. Notice the white carets at the top of the display showing all bus values which match the search specification. i. Press the Menu Off button twice to clear the menus. Search marks Revision 1.0 Page 10 of 21

Key Points to Remember 1. Cursors can be used to automatically decode individual points on a parallel bus. 2. The MSO2000 Series oscilloscope can be configured to automatically decode all points on a parallel bus. 3. The MSO2000 Series can trigger on specific parallel bus data values. 4. The MSO2000 Series can search on specific parallel bus data values and mark these values with special marks. Exercise 1. Using what you ve learned and your current lab configuration, create the following display. Write down the parallel data value you used for your trigger. This display shows triggering on 7F hex or 0111 1111 binary. Notice that the trigger point is at the first point where the MSB goes low and the rest of the bits are all high. Revision 1.0 Page 11 of 21

Overview of the RS-232 Serial Bus RS-232 stands for Recommended Standard 232, a communication standard from the Electronic Industries Alliance (EIA), which was developed in the early 1960s for interconnection between teletype terminals and modems. The standard was updated to RS-232C in 1969 to specify electrical signal characteristics, mechanical interconnects, etc. RS-232 provides two single-ended signals for point-to-point, full-duplex communication (simultaneous transmitted and received data). The standard does not specify character encoding, data framing, or protocols. It was designed for short-distance, low-speed serial data communication. Although the maximum cable length is not specified, a distance of less than 15 meters is recommended. The maximum data rate is not also specified, but rates <20 kb/s are recommended. RS-232 data transmission is asynchronous, meaning that the clock is not transmitted and must be programmed in advance at both the transmitter and the receiver. Each character begins with a start bit, a high value which equates to a logic 0. The character is comprised of 7 or 8 data bits, which must also be programmed. The data bits are transmitted in least-significant to most-significant bit order. The optional Parity bit is next. If not used, the bit is ignored. If used, the polarity must be programmed, and provides simple error detection by indicating whether there are an odd or even number of 1s in the data word. Finally, the character is usually terminated in one to two stop bits. Start Data 0 Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 opt. Data 7 opt. Parity Stop opt. Stop 1-bit 1-bit 1-bit 1-bit 1-bit 1-bit 1-bits 1-bit 1-bit 1-bit 1-bit 1-bit Each RS-232 character can be encoded in various formats, but ASCII format is most commonly used. ASCII, short for American Standard Code for Information Interchange, is a 7-bit code (a range from 0 to 127) which is used to represent characters. Of the 128 possible codes, 95 (numbered 32 to 126) represent printable characters. Many of the remaining non-printing characters are control characters which control how text is processed. (Examples of control characters include backspace, tab, carriage return, and line feed.) Since most computer memories are based on 8-bit bytes, the eighth bit of the stored ASCII character can be used for parity, a simple error-detection scheme. Revision 1.0 Page 12 of 21

Hex Char Hex Char Chart of ASCII Characters Hex Char Hex Char Hex Char Hex Char 20 Space 30 0 40 @ 50 P 60 ` 70 p 21! 31 1 41 A 51 Q 61 a 71 q 22 32 2 42 B 52 R 62 b 72 r 23 # 33 3 43 C 53 S 63 c 73 s 24 $ 34 4 44 D 54 T 64 d 74 t 25 % 35 5 45 E 55 U 65 e 75 u 26 & 36 6 46 F 56 V 66 f 76 v 27 ' 37 7 47 G 57 W 67 g 77 w 28 ( 38 8 48 H 58 X 68 h 78 x 29 ) 39 9 49 I 59 Y 69 I 79 y 2A * 3A : 4A J 5A Z 6A j 7A z 2B + 3B ; 4B K 5B [ 6B k 7B { 2C, 3C < 4C L 5C \ 6C l 7C 2D - 3D = 4D M 5D ] 6D m 7D } 2E. 3E > 4E N 5E ^ 6E n 7E ~ 2F / 3F? 4F O 5F _ 6F o 7F DEL Key Points to Remember The following is a brief listing of RS-232 characteristics: 1. Point-to-point, serial data communication 2. Full-duplex communication 3. Asynchronous 4. Short-distance (about 15 meters) 5. Low-speed (<20 kb/s) 6. 7 or 8 bits per character (ASCII format is most common format) 7. Optional parity bit Revision 1.0 Page 13 of 21

Exercise 1. In this exercise, you will manually decode RS-232 serial bus traffic. In this case, the RS-232 serial bus has a data rate of 9600 baud, meaning a bit is transmitted about every 100 µs. The signal is expected to consist of a start bit, 8 data bits, no parity bit, and a stop bit. a. Decode the following serial data stream one bit at a time. Each red arrow points to a transmitted bit; the arrows are 100 µs apart. Remember, RS-232 inverts the signal when transmitting, so a high digital value represents 0 and a low value represents a 1. The start and stop bits have been skipped, meaning the arrows only point to data bits. Write the bit stream here: 0000 0100 0010 1010 (Remember, RS-232 inverts the signal when transmitting.) b. Now, RS-232 transmits data bits in order from least-significant to most-significant. Write the binary value for each bit stream of 8-bits here. Bit stream 1: 0010 0000 Bit stream 2: 0101 0100 c. Write down the hexadecimal notation for each bit stream. Bit stream 1: 20 hex Bit stream 2: 54 hex d. What ASCII characters does this serial data stream represent? Bit stream 1 (20 hex) represents a space. Bit stream 2 (54 hex) represents a capital T. Revision 1.0 Page 14 of 21

RS-232 Serial Bus Analysis Decoding and Analyzing RS-232 Serial Bus Traffic 1. With the DPO2COMP application module installed, the MSO/DPO2000 Series oscilloscope can trigger, decode and search RS-232 serial bus traffic. For this lab exercise, the RS-232 serial signal on the demo board will be used. In the following steps, you will decode and analyze an RS-232 serial bus. a. Press the front panel Default Setup button to set the oscilloscope to a known state. b. Connect the P2221 1X/10X passive probe to the channel 1 input and set the 1X/10X slider switch to the 10X position. c. Connect the channel 1 probe tip to the RS-232 signal on the demo board and the probe ground lead to the demo board GND (ground) clip. d. Using the front panel Trigger Level control, set the trigger level to about 1 V. e. Set the horizontal Scale to 10 ms/div. f. Press the front panel Single button. g. Press the Menu Off button to remove the menu. h. The RS-232 serial signal looks about like this. 2. The MSO2000 Series oscilloscope can be used to automatically decode the serial bus data. In the following steps, you ll set up the oscilloscope to decode the RS-232 serial data stream. a. Turn the inner Wave Inspector knob clockwise until the zoom factor (displayed at the top of the display) is set to 25X. b. Press the purple front panel B1 button to enable bus decoding. c. Press the Bus B1 bottom bezel button. d. Using the multipurpose a control, select RS-232. e. Serial bus decoding provides automatic decoding of all data values on the RS-232 serial signal. f. Press the Thresholds bottom bezel button. Notice that the Tx(1) digital threshold has been set to the same value as the edge trigger level. Revision 1.0 Page 15 of 21

g. The display format for the decoded data defaults to hexadecimal, but binary and ASCII formats are also available. Press the Bus Display bottom bezel button and press the ASCII side bezel button. h. Press the Event Table bottom bezel button. i. Press the Event Table side bezel button until On is selected. j. The Event Table display of this RS-232 serial signal looks like this: (invisible characters such as spaces appear as diamonds in the decoded display) k. The Event Table shows all captured transmit (Tx) data packets in a tabular view. Packets are time stamped and listed consecutively. l. When you are done, press the Event Table side bezel button until Off is selected 3. In the previous steps, the oscilloscope was just triggering on a rising edge of the channel 1 signal. The oscilloscope can also be set up to trigger on serial bus values, such as the T character which is demonstrated in the following steps. a. Press the Trigger Menu button. b. Press the Type bottom bezel button. Turn the multipurpose a control fully counter-clockwise to select Bus triggering. c. Press the Trigger On bottom bezel button. Using the multipurpose a control, select Tx Data. d. Press the Data bottom bezel button. e. Press the Data side bezel button. Turn the multipurpose a control until the ASCII character is highlighted. Using the multipurpose b control, select the capital T character. f. Press the front panel Single button to capture the RS-232 serial data. Revision 1.0 Page 16 of 21

g. Press the Menu Off button twice to clear the menus. The oscilloscope has triggered on the serial packet that represents the ASCII character T. 2. In the next series of steps, you ll use Wave Inspector to search for specific serial bus values. a. Press the Search front panel button. b. Press the Search bottom bezel button. Press the Search side bezel button to select the On state. c. Press the Search Type bottom bezel button. Use the multipurpose a knob to select the Bus option. d. Press the Search For bottom bezel button. Use the multipurpose a knob to select the TxData option. e. Press the Data bottom bezel button. f. Press the Data side bezel button. Use the multipurpose a button to select the ASCII option in the side bezel menu. Use the multipurpose b button to select an ASCII T character. g. Press the Menu Off button twice to remove the menus. h. Notice that several instances of a T have been found as indicated by the white carets. i. Press the and arrows to step between the T characters. Key Points to Remember 1. It is difficult to manually decode serial bus data. The MSO/DPO2000 Series can be used to decode this data automatically. 2. The MSO/DPO2000 Series oscilloscope can trigger on specific serial data values. 3. Wave Inspector can be used to search for specific serial data values. Revision 1.0 Page 17 of 21

Exercise 1. Using what you ve learned and your current lab configuration, set up the oscilloscope to trigger on serial data value 78 hex. a. Write down your steps here. Press the front panel Trigger Menu button and the Data bottom bezel button. If the data selection menu is not displayed, press the Data side bezel button. Using the multipurpose a control, select both hex digits. Using the multipurpose b control, set the value to 78. Then press Single and press the Menu Off button twice. b. How many instances of data value 78 hex are in your acquisition? Press Search front panel button Press Search bottom bezel button and Copy Trigger Settings to Search side bezel button (or Press Data bottom bezel button and dial in 78 hex) Answer: About 5. Revision 1.0 Page 18 of 21

Final Exercise 1. In which type of bus does each component of the bus have its own signal path? a. Serial b. Parallel Answer: b 2. The hexadecimal notation of 1000,0000 binary is. Answer: 80 hex. 3. RS-232 data transmission is synchronous, meaning that the clock is transmitted. a. True b. False Answer: False. The baud rate must be agreed upon before the signal is transmitted and received. 4. The RS-232 mandatory Parity bit provides a simple error detection method by indicating whether there are an odd or even number of 1s in the data word. a. True b. False Answer: True. 5. The ASCII code 35 (hex) is used to indicate which character? a. 5 b. A c. T d. Answer: a. 6. Using what you have learned and your current lab configuration, press the oscilloscope front panel Default Setup button and then create the following display. Using the front panel Trigger Level control, set the trigger level to about 1 V. Set the horizontal Scale to 1 ms/div. Press the purple front panel B1 button to enable bus decoding. Press the Bus B1 bottom bezel button. Using the multipurpose a control, select RS-232. Press the Bus Display bottom bezel button and press the Binary side bezel button. Press the Trigger Menu button. Press the Type bottom bezel button. Turn the multipurpose a control fully counterclockwise to select Bus triggering. Press the Trigger On bottom bezel button. Using the multipurpose a control, select Tx Data. Press the Data bottom bezel button. Press the Data side bezel button. Turn the multipurpose a control until the binary bit stream is highlighted. Using the multipurpose b control, dial in 0110 1011. Press the Single button. Press the Menu Off button twice. Revision 1.0 Page 19 of 21

a. Using the oscilloscope, determine the hexadecimal notations for the serial packets on the display. Press the purple Bus B1 front panel button. Press the Bus Display bottom bezel button. Press the Hex side bezel button. Answer shown below: b. Using the oscilloscope, determine the ASCII characters represented by these packets. Press the ASCII side bezel button. Answer shown below: Revision 1.0 Page 20 of 21

c. How many serial packets representing the ASCII character n are in your acquisition? Press the Search front panel button. Press the Search bottom bezel button. Press the Search side bezel button to select the On state. Press the Search Type bottom bezel button. Use the multipurpose a knob to select the Bus option. Press the Search For bottom bezel button. Use the multipurpose a knob to select the Tx Data option. Press the Data bottom bezel button Press the Data side bezel button. Use the multipurpose a button to select the ASCII option in the side bezel menu. Use the multipurpose b button to select an ASCII n character. Answer: 1, as shown below. d. Set the horizontal scale factor to 4 ms/div. Set up the oscilloscope to trigger on ASCII character k. What is spelled out by the RS-232 bus packets? Answer: Tektronix Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specification and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. All other trade names referenced are the service marks, trademarks or registered trademarks of their respective companies. 06/09 GB/WWW 3GW-24325-0 Guide Revision 1.0 Page 21 of 21