You need to test, we're here to help.

You need to test, we're here to help.
Showing posts with label serial data measurements. Show all posts
Showing posts with label serial data measurements. Show all posts

21 November 2022

Oscilloscope Serial Data Measurements and DAC: Trigger, Decode, Measure/Graph and Eye Diagram Software

Table of serial bus measurement parameters
Figure 1. Serial bus measurements made available
with "TDME" and "TDMP "decoder options.
All Teledyne LeCroy oscilloscopes support a rich set of standard waveform measurement parameters, but the installation of any "TDME" or "TDMP" serial decoder software option adds special parameters designed for measuring serial data buses. Besides automating the measurement of serial bus timing, these parameters allow you to access encoded serial data and extract it to analog values for what is essentially a Digital-to-Analog Converter (DAC)!

What’s in a Name?

Teledyne LeCroy has adopted the convention of using a key in the name of our serial trigger and decode products that tells you what capabilities they offer.  The “ME” or “MP” in the name of a Teledyne LeCroy serial decoder option (e.g., CAN FDbus TDME or USB4-SB TDMP) refers to "Measure/Graph and Eye Diagram" or "Measure/Graph and Physical Layer Tests." All these options include the following 10 serial bus measurements. Physical Layer Test options will also include measurements designed specifically to meet the requirements of the standard.

14 November 2022

SDAIII and QualiPHY Software: Oscilloscope Eye Diagrams for Compliance and Debug

Figure 1. SDAIII enables eye diagrams and eye measurements of four lanes of  streaming data.
Figure 1. SDAIII enables eye diagrams and eye
measurements of four lanes of  streaming data.
Besides the serial TDME and TDMP options discussed earlier, there are other ways to generate eye diagrams on your Teledyne LeCroy oscilloscope for compliance testing and debug.

SDAIII Serial Data Analysis Software

SDAIII offers the most comprehensive eye diagram capabilities for Teledyne LeCroy oscilloscopes, with tools for optimizing the displayed eye that are especially useful to high-speed serial data analysis.

11 November 2022

Serial Trigger, Decode, Measure/Graph & Eye Diagram (TDME) Software: Oscilloscope Eye Diagrams for Debug

Eye diagrams generated from two serial decodes.
Figure 1. Two eye diagrams generated from 
three active USB serial decoders.
Click any image to enlarge it.

The eye diagram is a general-purpose tool for analyzing the signal integrity of serial digital communications signals. It shows the effects of additive vertical noise, horizontal jitter, duty cycle distortion, inter-symbol interference, and crosstalk on a serial data stream. The vertical opening of the eye is affected by these elements, as well as gain differences between devices on the bus, so that the more problems with signal integrity, the more “sleepy” the eye appears. A wide open eye is indicative of good signal integrity.

It is commonplace to use an oscilloscope with decoder software to analyze the health of serial data streams, where the combination of the electrical waveform and the link layer decoding shows if and where the protocol breaks down at the physical layer, but an eye diagram can better show the degree of signal interference that may be impacting the serial logic—especially if it could be generated for particular devices or packets.

05 October 2022

Oscilloscope Measurements of 10Base-T1S Automotive Ethernet PLCA Cycle Timing

10Base-T1S frame with color-coded decoder overlay
Figure 1. Color-coded decoding of 10Base-T1S
stream makes it easy to measure timing between
signal elements. Click on any image to enlarge.
The 10Base-T1S Trigger-Decode (TD) and 10Base-T1S Trigger, Decode, Measure/Graph & Eye Diagram (TDME) options enable Teledyne LeCroy oscilloscope users to trigger on and decode Ethernet control and payload data from 10Base-T1S Automotive Ethernet signals. The decoding is color-coded to provide fast, intuitive understanding of the relationship between message frames and other time-synchronous events. Knowing the location of the various protocol elements makes it easy to measure Physical Layer Collision Avoidance (PLCA) cycle timing using either standard oscilloscope tools, or special serial bus measurements included with the TDME options.

PLCA cycle timing is measured to assure interoperability of the attached nodes in a 10Base-T1S mixed-segment, multidrop bus. This class of tests measures the timing between events on the bus relative to a specific bus event, usually the BEACON signal initiated by the Master node. 

Let’s look at a simple example of a 10Base-T1S network with two nodes, the Master (Node 0) and a device (Node 3). The acquired waveform is shown in Figure 2, decoded using the 10Base-T1S TDME option. The top grid shows the complete acquisition, which consists mostly of BEACON signals over a record of twenty-five million samples. Toward the end of the acquisition are two packets from the other nodes. The table at the bottom of the screen lists all the elements decoded in the full acquisition.

20 September 2021

Testing Power Rail Sequences in Complex Embedded Systems

Figure 1. Four power rail signals on a single grid, with cursors measuring the time delay between the first pair in the sequence.
Figure 1. Four power rail signals on a single grid, with cursors
measuring the time delay between the first pair in the sequence.
Embedded computing systems generally require multiple supply voltages to deliver power to the microprocessor, memory and other on-board devices. There is usually a 12- or 15-volt DC primary supply, and numerous buck or boost converters working off the primary to help provide various voltages throughout the embedded system. Most microcontrollers have a prescribed order in which the voltages must be applied to prevent problems like lockups, so an area of concern when designing deeply embedded systems is the proper sequencing of power rails as they power up or down. Power management IC’s (PMIC) or power sequencers perform many of the sequencing tasks, but during validation and when troubleshooting, the order and timing of the power sequence should be verified.

13 September 2021

Correlating Sensor and Serial Data in Complex Embedded Systems

Figure 1: Voltage output of a temperature sensor. As the temperature rises, the output voltage falls.
Figure 1: Voltage output of a temperature sensor.
As the temperature rises, the output voltage falls. 
The microcontrollers/microprocessors in deeply embedded systems often are set up to monitor and control operational parameters.  Take, for example, a deeply embedded system where a microcontroller is used to control temperature that has been sensed by a temperature sensor.  The sensor is read through one of the microcontrollers analog interfaces.  As temperature changes are sensed, the microcontroller adjusts the speed of a cooling fan, which is driven by a pulse width modulated signal. The microcontroller uses a program algorithm to convert the DC level of the sensor into a PWM signal with an appropriate duty cycle to set the fan speed to correct any changes in temperature. 

Where it is possible to probe the temperature sensor, the output is a DC signal that changes very slowly over time.  Figure 1 shows a direct measurement of the temperature sensor using a heavily filtered oscilloscope channel to minimize noise pickup.

07 September 2021

Correlating Low to High-Speed Events in Complex Embedded Systems

Figure 1: A challenge when testing embedded systems is to correlate events in a low-speed interface like SPI to events in a high-speed interface like PCIe.
Figure 1: A challenge when testing embedded systems
is to correlate events in a low-speed interface like SPI
to events in a high-speed interface like PCIe.
A common requirement when testing embedded systems is to measure the timing between signals with low data rates and those with high data rates. Looking at the functional block diagram of our typical deeply embedded system in Figure 1, we see low-speed serial interfaces like SPI and I2C along with high-speed serial links, like PCIe (often serving as the high-speed serial PHY in our diagram).

Take for example testing the initialization of the system. When power is first turned on, the ROM bios and flash memory initialize program elements that are required by the embedded system’s microprocessor. Once the initialization is complete, the microprocessor has to notify the motherboard via PCIe that it is active and ready to receive data via the high-speed serial bus. This all has to happen within 200 milliseconds.