Test & Measurement


Designers get a new ally in serial bus troubleshooting

22 February 2006 Test & Measurement

Tektronix has just released a new series of oscilloscopes that answer the growing demand for solutions that handle a wide range of general measurement tasks and meet application-specific needs.

One such class of applications is 'serial bus troubleshooting.' Studies have shown that approximately 60% of all electronic design engineers work with low speed serial buses as part of their routine design and debug chores. These designers want tools that can help them selectively capture data from serial streams, and then analyse the packet content and other relevant signals.

In serial bus architectures, a single signal path may carry address, control, data, and clock signals. Tektronix' new oscilloscopes, the DPO4000 Series, make an ideal platform for acquiring and analysing signals from some of today's most common low speed serial buses, including CAN, SPI, and I²C. The DPO4000's underlying bandwidth, sample rate, memory depth, and channel count are well-matched to the job. But most importantly, some innovative new features make serial debug work much easier.

Innovative features

Troubleshooting a serial bus is a process made up of several steps: trigger on a specified serial event; decode that event and interpret its content; and search the data for other occurrences or events of interest. Until now, no single platform has offered all this in an integrated, automated solution. The DPO4000 Series breaks new ground for serial bus troubleshooting with the following features:

* Plug-in application modules enable an engineer to trigger on serial packet content.

* Automated packet decoding and display presents the data in self-explanatory formats that express the content in instantly-readable form.

* Integral data search features find and mark individual serial events, and speed navigation from point to point within the 10 million sample standard waveform memory.

Triggering considerations

During troubleshooting, it is often necessary to confirm that a specific serial packet has been generated or sent across the bus. The packet contains embedded data values and other messages. Common scope functions such as state-triggering or pattern-triggering are not suitable for the purpose - they are meant for parallel data over multiple channels. What is needed is a trigger that can respond to the content of the serial stream.

When equipped with an optional DPO4EMBD application module for I²C and SPI and/or a DPO4AUTO module for CAN, the DPO4000 Series can respond to user-specified trigger conditions including serial data content, address start and stop messages, etc. The trigger has two immediate effects. Firstly, the instrument acquires the event and those surrounding it, to a capacity of 10 million samples. Secondly, the trigger proves that the specified event occurred.

Unique to the DPO4000 Series is a pair of front-panel 'Bus' buttons (B1 and B2) designed to speed serial analysis. In effect, each button selects a preset for a particular type of serial bus. The engineer creates the preset by defining which channels will receive the clock and data signals, respectively, and the thresholds that determine the two binary states (1 and 0). This set-up is re-usable ever after (unless it is overwritten) simply by invoking the appropriate Bus button. No longer is it necessary to repeatedly go to the trigger menu or set thresholds for serial buses. The Bus buttons save time when setting up to acquire serial data, especially when troubleshooting more than one bus configuration.

The beauty of 'Busforms'

A serial packet waveform appears on the oscilloscope display as a train of one and zero values. Trying to decode this information by tracking clock edges and their associated binary data values is cumbersome and prone to errors - yet that is the way many designers have had to interpret their serial bus acquisitions until now.

The DPO4000 Series automatically decodes the binary packets for I²C, SPI, and CAN buses. The display presents not only the waveform, but also a unique 'busform' view. Adapted from the most advanced Tektronix logic analyser platforms, the busform view is a trace made up of symbolic envelopes that align with the packet components on the waveform view. But instead of the individual 1 and 0 binary pulses, the busform typically contains a hexadecimal value representing decoded packet content (a binary format can be chosen if preferred). Now the designer can see at a glance what is happening on the bus without a long, painful, and manual decoding process. Equally important, there are symbols for other events and values: start, stop, address (including read or write status), and missing acknowledge events.

Yet another time-saving decoded view is available: the 'Event Table'. This presents decoded content in a tabular format with a timestamp for every entry, encompassing the entire acquisition. This makes it easy to view every single event on the bus and also enables easy timing measurements between messages. The DPO4000 Series oscilloscopes can produce Event Tables for any of the three serial buses.

Searching for answers

Once an acquisition has been made, it is often necessary to explore the entire record - up to 10 Msamples - to fully debug an issue. Even with the scope decoding each packet, it could still take a long time to manually look through every packet in the acquisition. The best solution would be a tool that automatically searches the existing acquisition data for events that meet user specified criteria: enter the DPO4000's 'Wave Inspector' feature.

In addition to searching on edges, pulse widths, runt pulses, logic conditions, set-up and hold violations, and rise/fall times, Wave Inspector can search on serial bus packets content. For example, it can isolate every CAN message with a specific pairing of address and data values, marking each occurrence with a small indicator symbol on the display screen. Navigating between the marks is a simple matter of pressing the front panel's Previous and Next buttons.

The DPO4000 Series brings powerful serial triggering, decoding, and search capabilities to design engineers looking for solutions to the serial debug problems they encounter every day, setting new standards for efficiency in embedded system troubleshooting.

In effect, the DPO4000 Series oscilloscope is doing what has been done 'by hand' until now - and doing it in microseconds.

For more information contact Channels Measurement Services, 0800 11 7850, [email protected]





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Compact high precision magnetometer
Future Electronics Test & Measurement
Bosch Sensortec has introduced the BMM350, a compact 16-bit, 3-axis magnetometer engineered to deliver high accuracy, low noise, and exceptional energy efficiency in space constrained designs.

Read more...
Ultra compact NTC thermistors
RS South Africa Test & Measurement
Murata Manufacturing Co. has expanded its compact NCU03 series of NTC thermistors with two ultra-small 0603M devices tailored for consumer and automotive designs.

Read more...
Omniflex uses LoRaWAN to track water usage
Omniflex Remote Monitoring Specialists Test & Measurement
Omniflex has helped New South Wales Ports improve its ability to track water usage by installing remote monitoring to 38 water meters at its Port Kembla site, sending the data to the NSWPorts web portal.

Read more...
Surviving the extremes: Understanding shock and vibration in MEMS sensors
Altron Arrow Editor's Choice Test & Measurement
By considering factors such as mechanical headroom, damping, and system-level robustness, designers can ensure that the chosen sensor not only survives, but performs reliably over time.

Read more...
Advanced pressure monitoring sensor
EBV Electrolink Test & Measurement
The Infineon KP497 is an advanced, highly integrated digital pressure sensor designed for demanding automotive and industrial applications, with a particular focus on battery management systems.

Read more...
Slimline 150 W bench PSU
Vepac Electronics Test & Measurement
The PeakTech P 6222 is the company’s new, slim laboratory power supply that offers precisely adjustable output values of 30 V and 5 A with a continuous power output of 150W.

Read more...
Redefining edge intelligence in RF analysis
Vepac Electronics Test & Measurement
The HAROGIC PXR Series bridges the gap between benchtop-grade RF performance and high-performance edge computing.

Read more...
Otto Wireless appointed as sole agent for Dragino Technology
Otto Wireless Solutions Test & Measurement
Dragino is a globally recognised leader in LoRaWAN and Internet of Things products and solutions, and is known for delivering reliable, cost-effective hardware.

Read more...
AI-ready rugged spectrum analysis for the field
Vepac Electronics Test & Measurement
The HAROGIC PXR Series is a rugged, benchtop-grade spectrum analyser and an AI-ready open platform in a single portable instrument.

Read more...
Digid announces its nanoscale temperature and force sensors are ready for mass deployment
Test & Measurement
Digid, a pioneer of nanoscale sensing technology, recently announced that its patented printed electronics fabrication technology has been fully qualified for volume production of temperature and force sensors as small as 1 µm long.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved