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:

60 MHz 16-bit AWG
Vepac Electronics Test & Measurement
Siglent’s SDG1000X Plus series function/arbitrary waveform generator offers a maximum output frequency of 60 MHz, 16-bit vertical resolution, 1 GSa/s sampling rate, and 8 Mpts arbitrary waveform length.

Read more...
AC programmable power
Accutronics Test & Measurement
TDK Corporation has announced the introduction of the TDK-Lambda brand GENESYS AC and GENESYS AC PRO series of 2 kVA and 3 kVA rated programmable AC power sources.

Read more...
QA introduces large chisel tip style probes
Techmet Test & Measurement
The two new probes have a larger diameter to provide better contact reliability.

Read more...
Digital PSU with four variable outputs
Vepac Electronics Test & Measurement
The PeakTech 6215 is a laboratory power supply with four separate voltage outputs, each one infinitely variable using the rotary controls on the front of the unit.

Read more...
High-voltage insulation resistance testers
Comtest Test & Measurement
Two new high-voltage insulation resistance testers, from Fluke, deliver accuracy and speed in industrial and solar PV applications.

Read more...
Digital accelerometer for high dynamics applications
RS South Africa Test & Measurement
TDK extends its Tronics portfolio with the AXO314, a high-performance digital MEMS accelerometer with ±14 g input range for industrial applications operating under shock and vibration.

Read more...
Acceleration sensors for wearables
Future Electronics Test & Measurement
Bosch Sensortec has introduced two new acceleration sensors, the BMA530 and BMA580, both offered in a compact size of only 1,2 x 0,8 x 0,55 mm.

Read more...
Accurate laser measurement
Avnet Silica Test & Measurement
Online Teaser: Panasonic Industry’s laser sensor has a resolution of up to 0,5 µm, a linearity of ±0,05% FS, and a high-speed sampling of 100 µs.

Read more...
Handheld analyser with wide frequency range
Vepac Electronics Test & Measurement
The PXN-400 from Harogic is a handheld spectrum analyser that covers a frequency range of 9 kHz to 40 GHz, with an analytical bandwidth of 100 MHz.

Read more...
Real-time portable spectrum analyser
Vepac Electronics Test & Measurement
The SA series from HAROGIC Technologies is designed as a compact USB real-time spectrum analyser using low SWaP principles.

Read more...