Agilent I 2 C Debugging

Similar documents
Agilent MSO and CEBus PL Communications Testing Application Note 1352

Debugging Digital Cameras: Detecting Redundant Pixels

Agilent 11713A Attenuator/Switch Driver

Agilent N9355/6 Power Limiters 0.01 to 18, 26.5 and 50 GHz

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

Broadcast Television Measurements

Agilent 81600B Tunable Laser Source Family

Agilent 87075C Multiport Test Set Product Overview

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

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

Agilent 81600B Tunable Laser Source Family Technical Specifications August New model: nm, low SSE output!

Agilent E5100A Network Analyzer

Agilent 86120B, 86120C, 86122A Multi-Wavelength Meters Technical Specifications

Full-featured CW Microwave Counters for Field, Factory or Lab

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

Mixed Analog and Digital Signal Debug and Analysis Using a Mixed-Signal Oscilloscope Wireless LAN Example Application

Agilent Technologies N5454A Segmented Memory Acquisition for Agilent InfiniiVision Series Oscilloscopes

Agilent E5500 Series Phase Noise Measurement Solutions Product Overview

Agilent PN Time-Capture Capabilities of the Agilent Series Vector Signal Analyzers Product Note

Agilent 83437A Broadband Light Source Agilent 83438A Erbium ASE Source

Time-Saving Features in Economy Oscilloscopes Streamline Test

Agilent CSA Spectrum Analyzer N1996A

Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details

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

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

Agilent N5183A MXG Microwave Signal Generator

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

Agilent Understanding the Agilent 34405A DMM Operation Application Note

Memory-Depth Requirements for Serial Data Analysis in a Real-Time Oscilloscope

We bring quality to light. SNT 10 DC Power Supply

Evaluating Oscilloscopes for Best Signal Visibility

Logic Analysis Fundamentals

1 scope channel. 2 scope channels* 200 MSa/s 4 MB memory/ch. 200 MSa/s 2 MB memory/ch. 200 MSa/s 2 MB memory/ch

Agilent N5120A Baseband Studio for CPRI RE Test

Agilent N7744A 4-Channel Optical Multiport Power Meter N7745A 8-Channel Optical Multiport Power Meter. Fully compliant to LXI Class C specification

Microwave Counter, Power Meter and DVM in One Portable Package

Agilent 87075C 75 Ohm Multiport Test Sets for use with Agilent E5061A ENA-L Network Analyzers

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

Agilent Technologies Pulse Pattern and Data Generators Digital Stimulus Solutions

Logic Analyzer Triggering Techniques to Capture Elusive Problems

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

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

Logic Analysis Basics

Logic Analysis Basics

Agilent Migration from 8712/8714 Series to ENA-L Network Analyzers

Agilent E4887A HDMI TMDS Signal Generator Platform

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

Debugging a Mixed Signal Design with a Tektronix Mixed Signal Oscilloscope

Evaluating Oscilloscope Mask Testing for Six Sigma Quality Standards

Keysight Technologies Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details. Application Note

Selecting the Right Oscilloscope for Protocol Analysis Applications

The Measurement Tools and What They Do

FlexRay Physical Layer Eye-diagram Mask Testing

Solutions to Embedded System Design Challenges Part II

Choosing an Oscilloscope

Portable Performance for Debug and Validation

Viewing Serial Data on the Keysight Oscilloscopes

What to look for when choosing an oscilloscope

FlexRay Measurements (Option FLX) for Agilent s InfiniiVision Series Oscilloscopes

Viewing Serial Data on the Keysight Oscilloscopes

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

Agilent ESA Series Spectrum Analyzers

Troubleshooting Analog to Digital Converter Offset using a Mixed Signal Oscilloscope APPLICATION NOTE

Expect to Make Waves.

Keysight Technologies Segmented Memory Acquisition for InfiniiVision Series Oscilloscopes. Data Sheet

Debugging Embedded Mixed-Signal Designs Using Mixed Signal Oscilloscopes

RADIO FREQUENCY SYSTEMS

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

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

Agilent E4416A/E4417A EPM-P Series Power Meters and E-Series E9320 Peak and Average Power Sensors

Triple RTD. On-board Digital Signal Processor. Linearization RTDs 20 Hz averaged outputs 16-bit precision comparator function.

Agilent Agilent 86120B, 86120C, 86122A Multi-Wavelength Meters Data Sheet

Scope of the art Scope Rider Handheld digital oscilloscope

MS-32 OSCILLOSCOPE MIXED SIGNAL OPTION. Add 32 Digital Channels to a 4 Channel Oscilloscope

Agilent N4876A 28 Gb/s Multiplexer 2:1

Digital Audio Design Validation and Debugging Using PGY-I2C

Identifying Setup and Hold Violations with a Mixed Signal Oscilloscope APPLICATION NOTE

Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster

BUSES IN COMPUTER ARCHITECTURE

Agilent M9362A-D01-F26 PXIe Quad Downconverter

Keysight Technologies Oscilloscope Memory Architectures Why All Acquisition Memory is Not Created Equal. Application Note

Your partner in testing the Internet of Things

WAVESURFER XS SERIES. The Everyday Oscilloscope that s Easy to Use

What's the difference between history and sequence. function?

Agilent 6000 Series Oscilloscope Demo Guide

Experiment # 4 Counters and Logic Analyzer

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

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

SignalTap Analysis in the Quartus II Software Version 2.0

Advanced Test Equipment Rentals ATEC (2832)

Quick Signal Integrity Troubleshooting with Integrated Logic Analyzers & Oscilloscopes

Exceptional performance

Digital Storage Oscilloscopes 2550 Series

World s smallest 5MP stand-alone vision system. Powerful Cognex vision tool library including new PatMax RedLine and JavaScript support

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

Universal DiSEqC controller USER MANUAL

Universal DiSEqC controller USER MANUAL SAT CONTROL

Single-Output 2000 W

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

Model: AV D Keyboard Controller. User Manual. Please Read this User Manual throughout before using.

Transcription:

546D Agilent I C Debugging Application Note1351 With embedded systems shrinking, I C (Inter-integrated Circuit) protocol is being utilized as the communication channel of choice because it only needs two I/O lines for full implementation. However, with the benefit of using only two I/O lines comes the hassle of a complicated protocol. So, having a tool on the bench that eases I C troubleshooting is sure to add days to embedded engineers life spans everywhere. The new Agilent Technologies 546D oscilloscope adds a few more arrows to the embedded engineer s quiver of debugging tools. The 546D extends the MSO (Mixed Signal Oscilloscope) line of test instruments which was started with the 54645D. It includes two analog channels and 16 digital channels, all of which can capture data at 00 MSamples/second and 400 Msamples/second, respectively. This is all fairly routine for anyone familiar with the 54645D; however the 546D exceeds the earlier scope with its powerful trigger capabilities that are reminiscent of a logic analyzer. Specifically, the 546D offers a full suite of I C triggering capabilities. The I C connections to the 546D are fully configurable. The SCL line and the SDA line can be assigned to any of the scope s 16 digital channels or to the two analog channels. In addition, there are six I C-specific triggers that are detailed below. Figure 1 shows the I C trigger menu on the 546D. Figure 1 also shows how the I C lines can be configured to any channel in this case the SCL line set on analog channel 1 and the SDA line set on analog channel.

Start Condition: This triggers the scope anytime there is an I C start condition. Stop Condition: This triggers the scope anytime there is an I C stop condition. Frame(Start: Addr: Read: Ack: Data): The scope only triggers after the combination of start bit, control byte configuring the slave to be read from, valid acknowledge, and then another byte. Both the control byte and the secondary byte can be set using the "Address" and the "Data" settings. Frame(Start: Addr: Write: Ack: Data): This is the same as the previous trigger, except the slave must be configured to be written to. Frame(Start: ~ [Addr: Read: Ack: Data]): This trigger fires if any bit in the control byte, or the read bits, ack bits, or data bits do not match what is entered. This allows for triggering deep into an I C communication or to find spurious communication. Frame(Start: ~ [Addr: Write: Ack: Data]): This is the same as the previous trigger, except it looks for the absence of a write bit. this with two separate instruments!). Figure 1. Shows the I C trigger menu Both the stop and start condition triggers could also be accomplished using a pattern trigger, edge trigger, or the like, which is common on most DSOs. It is the other four triggers that really ease an embedded designer s task of troubleshooting an I C system. For example, one common problem when using the I C bus is a master not receiving any communication back from a slave device on the I C bus. While this problem could be troubleshot with a standard DSO with a deep memory, the 546D greatly speeds up the process. With a conventional DSO, the entire sequence must be captured and then zoomed-in and the individual transitions and data bytes must be analyzed one-by-one. This can become a tedious process in large systems with near-constant I C communication where individual triggering is nigh on impossible. With the new MSO, likely trouble spots are easily triggered on and analyzed.

For example, Figures and 3 show a bad and good communication sequence between a master device and an I C temperature sensor. In this case, the temperature sensor was not sending information back to the master unit correctly. The 546D was used to sift through a whole string of I C data to analyze just the temperature sensor data. Eventually the problem was narrowed down to the "Read Temperature" command sent to the temperature sensor. This was easily triggered on by using the "write" trigger after the scope sees a start bit, control byte 48 (hex) configured to write (this is the temperature sensor s address), then data AA (hex) (the read temperature command), the scope triggers. After the trigger, the master should put the temperature sensor into read mode by sending a start bit and then a 48 (hex) control byte configured to read. As shown in Figure, after the trigger the master sends the 48 (hex), unfortunately a start bit does not preface the 48 (hex), thereby causing the temperature sensor to ignore the command. Figure 3 shows the correct sequence. After the master was configured to send the start bit correctly, the temperature sensor started sending the correct temperature. With I C enjoying widespread industry support, debugging situations like the one described above are and will remain commonplace. The 546D helps embedded engineers everywhere implement the bus with much less hassle. Figure. Shows a bad communication sequence Figure 3. Shows the correct sequence 3

Figure 4. Five models to satisfy your bandwidth, channel count and budget needs Unique +16 channel mixed signal oscilloscope and or 4 channel models all optimized for mixed analog and digital debug: MB of MegaZoom deep memory on all channels New high-definition analog-like display system with 3 levels of intensity Powerful triggering including edge, pulse width, pattern and new I C Standard RS-3 and parallel ports for PC and printer connectivity Built-in floppy for data, image and setup storage Measurements and math functions including FFTs standard Quick Help in 11 languages Optional GPIB interface module Optional integrated thermal printer Model Number 5461A 5461D 546A 546D 5464A Bandwidth Sample Rate Channel Count + 16 + 16 4 Memory Depth Price 60 MHz 60 MHz $,801 $4,031 $3,403 $5,35 $,07 4

www.agilent.com Agilent Technologies Test and Measurement Support, Services, and Assistance Agilent Technologies aims to maximize the value you receive, while minimizing your risk and problems. We strive to ensure that you get the test and measurement capabilities you paid for and obtain the support you need. Our extensive support resources and services can help you choose the right Agilent products for your applications and apply them successfully. Every instrument and system we sell has a global warranty. Support is available for at least five years beyond the production life of the product. Two concepts underlie Agilent's overall support policy: "Our Promise" and "Your Advantage." Our Promise Our Promise means your Agilent test and measurement equipment will meet its advertised performance and functionality. When you are choosing new equipment, we will help you with product information, including realistic performance specifications and practical recommendations from experienced test engineers. When you use Agilent equipment, we can verify that it works properly, help with product operation, and provide basic measurement assistance for the use of specified capabilities, at no extra cost upon request. Many self-help tools are available. Your Advantage Your Advantage means that Agilent offers a wide range of additional expert test and measurement services, which you can purchase according to your unique technical and business needs. Solve problems efficiently and gain a competitive edge by contracting with us for calibration, extra-cost upgrades, out-of-warranty repairs, and on-site education and training, as well as design, system integration, project management, and other professional engineering services. Experienced Agilent engineers and technicians worldwide can help you maximize your productivity, optimize the return on investment of your Agilent instruments and systems, and obtain dependable measurement accuracy for the life of those products. www.agilent.com/find/emailupdates Get the latest information on the products and applications you select. Agilent Direct www.agilent.com/find/agilentdirect Quickly choose and use your test equipment solutions with confidence. Agilent T&M Software and Connectivity Agilent's Test and Measurement software and connectivity products, solutions and developer network allows you to take time out of connecting your instruments to your computer with tools based on PC standards, so you can focus on your tasks, not on your connections. Visit www.agilent.com/find/connectivity for more information. By internet, phone, or fax, get assistance with all your test & measurement needs Online assistance: www.agilent.com/find/assist Phone or Fax United States: (tel) 800 89 4444 Canada: (tel) 877 894 4414 (fax) 800 8 6495 China: (tel) 800 810 0189 (fax) 800 80 816 Europe: (tel) (31 0) 547 33 (fax) (31 0) 547 390 Japan: (tel) (81) 46 56 783 (fax) (81) 46 56 7840 Korea: (tel) (8 ) 004 5004 (fax) (8 ) 004 5115 Latin America: (tel) (305) 69 7500 (fax) (305) 69 7599 Taiwan: (tel) 0800 047 866 (fax) 0800 86 331 Other Asia Pacific Countries: (tel) (65) 6375 8100 (fax) (65) 6836 05 Email: tm_asia@agilent.com Product specifications and descriptions in this document subject to change without notice. Agilent Technologies, Inc. 004 Printed in USA November 15, 004 5980-0796EUS