Debugging SENT Automotive Buses with an Oscilloscope APPLICATION NOTE

Similar documents
Verifying Power Supply Sequencing with an 8-Channel Oscilloscope APPLICATION NOTE

Automated Frequency Response Measurement with AFG31000, MDO3000 and TekBench Instrument Control Software APPLICATION NOTE

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

Simplifying DC-DC Converter Characterization using a 2600B System SourceMeter SMU Instrument and MSO/DPO5000 or DPO7000 Series Scope APPLICATION NOTE

Measuring Vgs on Wide Bandgap Semiconductors APPLICATION NOTE

KickStart Instrument Control Software Datasheet

Using the Model 4225-RPM Remote Amplifier/ Switch to Automate Switching Between DC I-V, C-V, and Pulsed I-V Measurements APPLICATION NOTE

SOURCE MEASURE UNITS. Make Multiple Measurements Accurately Using a Single Instrument All While Saving Space, Time and Money

Visual Triggering. Technical Brief

Soldering a P7500 to a Nexus DDR Component Interposer

Simplifying FET Testing with 2600B System SourceMeter SMU Instruments APPLICATION NOTE

Trouble-shooting Radio Links in Unlicensed Frequency Bands TUTORIAL

Stress Calibration for Jitter >1UI A Practical Method

Power Measurement and Analysis Software

Isolation Addresses Common Sources of Differential Measurement Error

Don t Let EMI/EMC Compliance Certification Slow You Down TUTORIAL

io n Data Sheet or The P5205 is a 100 MHz Active Differential Probe capable of measuring fast rise times of signals in floating circuits. This 1,300 V

Using the Ramp Rate Method for Making Quasistatic C-V Measurements with the 4200A-SCS Parameter Analyzer APPLICATION NOTE

Performing Safe Operating Area Analysis on MOSFETs and Other Switching Devices with an Oscilloscope APPLICATION NOTE

In-circuit Measurements of Inductors and Transformers in Switch Mode Power Supplies APPLICATION NOTE

Replicating Real World Signals with an Arbitrary/Function Generator

High-voltage Differential Probes

12.5 Gb/s PatternPro Programmable Pattern Generator PPG1251 Series Datasheet

P7500 Series Probes Tip Selection, Rework and Soldering Guide

S540 Power Semiconductor Test System Datasheet

20X Low Capacitance Probe P6158 Datasheet

Power Analysis Application Module DPO4PWR MDO3PWR Datasheet

Passive Voltage Probes

Tire Pressure Monitoring Systems and Remote/Passive Keyless Entry

30 A AC/DC Current Probe TCP0030A Datasheet

Passive High Voltage Probes P5100A-TPP0850-P5122-P5150-P6015A Datasheet

AC/DC Current Probe TCP0150 Datasheet

Measuring Wireless Power Charging Systems for Portable Electronics

S540 Power Semiconductor Test System Datasheet

PatternPro Error Detector PED3200 and PED4000 Series Datasheet

TekConnect Adapters TCA75 TCA-BNC TCA-SMA TCA-N TCA-292MM TCA292D Datasheet

Measurement Statistics, Histograms and Trend Plot Analysis Modes

12.5 Gb/s PatternPro Programmable Pattern Generator PPG1251 Series Datasheet

Measuring Power Supply Switching Loss with an Oscilloscope

Tektronix Logic Analyzer Probes P6800/P6900 Series Datasheet

100GBASE-KR4/CR4 & CAUI-4 Compliance and Characterization Solution

AC Current Probes CT1 CT2 CT6 Data Sheet

10 GHz Linear Amplifier PSPL5866 Datasheet

1.5 GHz Active Probe TAP1500 Datasheet

High-voltage Differential Probes TMDP THDP THDP P5200A - P5202A - P5205A - P5210A

Automotive EMI/EMC Pre-compliance Tests

Sophisticated Power Loss Analysis Using A Digital Phosphor Oscilloscope

Low Capacitance Probes Minimize Impact on Circuit Operation

Using the 4200A-CVIV Multi-Switch to Make High Voltage and High Current C-V Measurements APPLICATION NOTE

Active Power Factor Correction Verification Measurements with an Oscilloscope APPLICATION NOTE

Programmable Pulse Generators PSPL10050A, PSPL10060A, PSPL10070A Datasheet

12.5 Gb/s Driver Amplifier LABware Module PSPL8001 Datasheet

Differential Probes P6248 P6247 P6246 Datasheet

Keysight Technologies RS-232/UART Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes. Data Sheet

Programmable Pulse/Pattern Generator PSPL1P601 and PSPL1P602 Datasheet

P7600 Series TriMode Probes

Wave Inspector Navigation and Search: Simplifying Waveform Analysis. Introduction. Application Note

Ethernet Transmitter Test Application Software TekExpress 10GBASE-T and NBASE-T Datasheet

Fundamentals of AC Power Measurements

Time and Frequency Measurements for Oscillator Manufacturers

Be Sure to Capture the Complete Picture

Switching Between C-V and I-V Measurements Using the 4200A-CVIV Multi-Switch and 4200A-SCS Parameter Analyzer APPLICATION NOTE

12.5 Gb/s Driver Amplifier PSPL5865 Datasheet

Low Cost RF Sensors. application note

30 Gb/s and 32 Gb/s Programmable Pattern Generator PPG Series Datasheet

Advanced Statistical Analysis Using Waveform Database Acquisition

High-impedance Buffer Amplifier System

100GBASE-KR4, 100GBASE-CR4, & CAUI-4 Compliance and Characterization Solution for Real Time Scopes

Keysight N8803C CAN, LIN, FlexRay, and CAN-FD Protocol Triggering and Decode Software. Data Sheet

16 Gb/s, 30 Gb/s Gb/s, and 32 Gb/s Programmable PatternPro Pattern Generator PPG PPG1600, PPG3000, and PPG3200 Series Datasheet Key features

TriMode Probe Family P7700 Series TriMode Probes

Keysight Technologies Triggering on and Decoding the PSI5 Sensor Serial Bus

Choosing an Oscilloscope for Coherent Optical Modulation Analysis

16 Gb/s, 30 Gb/s, and 32 Gb/s PatternPro Pattern Generator PPG1600, PPG3000, and PPG3200 Series Datasheet Key features

Advanced Test Equipment Rentals ATEC (2832)

Keysight Technologies CAN, LIN and FlexRay Protocol Triggering and Decode for Infiniium 9000 and S-Series Oscilloscopes.

If I Could... Imagine Perfect Vision

LE160 LE320 Linear Equalizer Datasheet Tektronix Linear Equalizer

Programmable DC Electronic Loads. Series Programmable DC Electronic Loads. Programmable DC electronic loads DC POWER SUPPLIES

Wave Inspector Navigation and Search: Simplifying Waveform Analysis APPLICATION NOTE

DPO7OE1 33 GHz Optical Probe

46 GBaud Multi-Format Optical Transmitter OM5110 Datasheet

10GBASE-KR/KR4 Compliance and Debug Solution

Passive High Voltage Probes P5100 P5102 P5120 P6015A

Z-Active Differential Probe Family P7313 P7380A P7360A P7340A Datasheet

16 Gb/s, 30 Gb/s, and 32 Gb/s PatternPro Pattern Generator PPG1600, PPG3000, and PPG3200 Series Datasheet Notice to EU customers

AC/DC Current Measurement Systems TCPA300, TCP312A, TCP305A, TCP303, TCPA400, TCP404XL Datasheet

10 FACTORS IN CHOOSING A BASIC OSCILLOSCOPE

AC/DC Current Measurement Systems TCPA300, TCP312A, TCP305A, TCP303, TCPA400, TCP404XL Datasheet

TriMode Probe Family. P7500 Series Data Sheet. Features & Benefits. Applications

50MHz arbitrary waveform/function generator

Testing with Versatile Pulse Generation Solutions

GENERAL PURPOSE POWER SUPPLIES, SPECIAL PURPOSE POWER SUPPLIES, AND ELECTRONIC LOADS SELECTOR GUIDE

TriMode Probe Family. P7500 Series Datasheet. Features & Benefits. Applications

Evaluating and Optimizing Radio Frequency Identification (RFID) Systems Using Real-Time Spectrum Analysis

Performing Cyclic Voltammetry Measurements Using Model 2450-EC or 2460-EC Electrochemistry Lab System

Characterize Phase-Locked Loop Systems Using Real Time Oscilloscopes

Frame through-beam sensors

Creating Calibrated UWB WiMedia Signals

AC/DC Current Measurement Systems

Transcription:

Debugging SENT Automotive Buses with an Oscilloscope

Introduction Increasingly, automotive designs are adopting Single Edge Nibble Transmission (SENT) protocol for low-cost, asynchronous, point-topoint transmission of high-resolution data. SENT buses are well-defined and are designed to be robust and easy to integrate, but communications can be affected by noise, board layout, reset issues, and subtle differences in implementations. These can sometimes result in bus errors and system malfunctions. Unlike basic protocol analyzers, oscilloscopes equipped with protocol decoding, can be used to see both the decoded bus traffic, as well as signal quality. This ability to see bus signals and decoded traffic makes oscilloscopes the best choice for visualizing overall system operation. Perhaps more importantly, oscilloscopes can be used to troubleshoot problems at the system level. Automobiles rely on extensive networks of sensors, actuators and displays, and many problems involve bus timing relative to I/O events or values. Oscilloscopes are well-suited for looking at I/O signals and bus transactions at the same instant. Because of this capability, they are the instrument of choice for system-level debugging. THIS Gives a brief orientation on the physical layer and packet structures of SENT, with a goal of providing just enough detail to help with troubleshooting Explains how to set up decoding on an oscilloscope equipped with SENT decoding Explains how to interpret fast and slow channel packet data on an oscilloscope equipped with SENT decoding Explains what triggering and searching options are available on an oscilloscope equipped with SENT serial triggering and analysis With the optional serial triggering and analysis capability, Tektronix oscilloscopes become powerful tools for embedded system designers working with SENT buses. In this application note the 5 Series MSO is used to demonstrate SENT serial bus decoding and triggering. 1 1 Support for serial bus standards vary depending on the oscilloscope model. To learn which buses are supported by different Tektronix oscilloscopes, please visit www.tektronix.com. 2 WWW.TEK.COM/5SeriesMSO

SENT Also known as SAE J2716, SENT is used for communication between power-train sensors and Electronic Control Units (ECUs). SENT provides higher precision than analog PWM techniques and, at 30 kb/s, it has a higher data rate than LIN. HOW IT WORKS A typical SENT transmission looks like this: Calibration / Sync Pulse 56 ticks Status Nibble Data Nibble 1 Data Nibble 2 Data Nibble 3 Data Nibble 4 Data Nibble 5 Data Nibble 6 CRC (data only) Pause (optional) Bit 3 Start Bit Bit 2 Serial Data Bit Bit 1 Reserved Bit 0 Reserved The physical layer of the SENT interface consists of a signal line, a +5V supply voltage line, and a ground. The signal line logic levels are low < 0.5V and high > 4.1V. Start 5 Ticks Encoded Nibble 12 to 27 Ticks SENT transmits data in 4-bit nibbles between two falling edges, hence the name Single Edge Nibble. Timing of the SENT bus is measured in ticks, with each tick typically 3 μs wide. Each nibble starts with a logic-low period of at least 5 ticks, followed by a variablelength logic-high period representing the encoded data value. A 0000 binary data value is represented by a logic-high duration of 12 ticks. A 0001 binary data value is represented by a logic-high duration of 13 ticks, and so on, up to a 1111 binary data value is represented by a logic-high duration of 27 ticks. The SENT fast channel message begins with a sync pulse where the time between successive falling edges is 56 clock ticks. The SENT message is 32 bits long, consisting of: of status / communication information () six, 4-bit nibbles of data (representing one or two measurement channels, per nibble) of CRC for error detection () Optionally, a 20-bit message (where the 12 data bits represent one measurement channel) can be sent, followed by a pause pulse, resulting in the same overall message rate. WWW.TEK.COM/5SeriesMSO 3

For example, when two 12-bit fast channels are used, the transmission looks like this: Sync Status FC1 MSN FC1 MidN FC1 LSN FC2 LSN FC2 MidN FC2 MSN CRC Nibble Pause (optional) The SENT standard also supports slow channel messages, where data is transmitted 1-2 bits at a time via bits 2 and 3 of the 4-bit status / serial communication nibble in 16 or 18 successive fast channel messages. These bits are accumulated to build the slow channel message. For example, the Enhanced Serial Message with 12-bit Data and 8-bit ID Format is identified by the initial bit pattern 11111100 and transmits an 8-bit ID value, a 6-bit CRC, and a 12-bit data value: SENT Message 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Status Bit 3 1 1 1 1 1 1 0 0 ID Bits 7-4 0 ID Bits 3-0 0 Status Bit 2 CRC (6 bits) Data (12 bits) 4 WWW.TEK.COM/5SeriesMSO

SETTING UP SENT BUS DECODING On Tektronix oscilloscopes equipped with SENT decoding and triggering, pressing the front panel Bus button enables you to define inputs to the scope as a bus. To enable the oscilloscope to decode the packet data, you enter some basic parameters, including: Input channel Voltage threshold Signal polarity Number of fast channels and channel format Number of slow channels and channel format Pause pulse The SENT bus is a single-ended, ground-reference signal. Although the oscilloscope can acquire and decode the bus using standard singleended probing, the signal fidelity and noise immunity may be improved by using differential probing. WWW.TEK.COM/5SeriesMSO 5

INTERPRETING THE SENT BUS The time-correlated waveform and bus decode display is a familiar and useful format for many hardware engineers. The decoded bus waveform indicates the elements of a SENT fast-channel message. SENT FAST CHANNEL BUS ELEMENT Sync (56 ticks wide) Status INDICATED BY Data CRC Pause 6 WWW.TEK.COM/5SeriesMSO

The decoded SENT bus can display both fast and slow channel packets in a single waveform display, with the slow channel packets shown below the fast channel packets. SENT SLOW CHANNEL BUS ELEMENT Identifier INDICATED BY Data CRC WWW.TEK.COM/5SeriesMSO 7

For firmware engineers, the Results Table format may be more useful. This time-stamped display of bus activity can be easily compared to software listings, and allows easy calculation of the execution speed. When the SENT bus contains both fast and slow channel data, the Results Table provides side-by-side readouts of the two data channels. Notice that, since the slow channel data is spread across 18 successive fast channel packets, there are 18 fast channel messages from the start to the completion of the slow channel data message. The Results Table also provides linkage back to the waveform displays. You can tap a line in the tabular display and the oscilloscope automatically zooms in on the corresponding bus signals and resulting decoded bus waveform, shown in the lower section of the screen. 8 WWW.TEK.COM/5SeriesMSO

TRIGGERING ON THE SENT BUS When debugging a system based on one or more serial buses, one of the key capabilities of the oscilloscope is isolating and capturing specific events with a bus trigger. When the bus trigger is correctly set up, the oscilloscope will capture all the input signals and one specified bus event will be positioned at the trigger point. This example demonstrates triggering on status value of 0000 binary, fast channel 1 data value 0x27F, and fast channel 2 data value 0xC72. TRIGGER ON Start of Packet Fast Channel Error DESCRIPTION Triggers when sync pulse is detected. Triggers when the specified status/communication bit pattern and the specified fast channel data value(s) occur. Triggers whenever incorrect CRC values occur. WWW.TEK.COM/5SeriesMSO 9

SEARCHING THE SENT BUS On a Tektronix oscilloscope, you can use the automated Wave Inspector search to find all the bus events that meet search criteria and determine how many of them occurred. The setup is similar to the bus trigger setup, and allows the oscilloscope to find and mark all of the specified bus events. In this example, the automatic search is looking for specified fast channel data values. This data pattern occurs 12 time in the acquired waveforms and the positions of the specified serial data packets are shown with the pink bracket icons. SEARCH ON Start of Packet Fast Channel Slow Channel Pause Pulse Error DESCRIPTION Marks when sync pulse is detected. Marks when the specified status/communication bit pattern and the specified fast channel data value(s) occur. Marks when the specified message ID and the specified slow channel data value occur. Marks when a pause pulse of the specified duration occurs. Marks whenever an incorrect frame length or incorrect CRC value occurs. 10 WWW.TEK.COM/5SeriesMSO

WWW.TEK.COM/5SeriesMSO 11

Contact Information: Australia* 1 800 709 465 Austria 00800 2255 4835 Balkans, Israel, South Africa and other ISE Countries +41 52 675 3777 Belgium* 00800 2255 4835 Brazil +55 (11) 3759 7627 Canada 1 800 833 9200 Central East Europe / Baltics +41 52 675 3777 Central Europe / Greece +41 52 675 3777 Denmark +45 80 88 1401 Finland +41 52 675 3777 France* 00800 2255 4835 Germany* 00800 2255 4835 Hong Kong 400 820 5835 India 000 800 650 1835 Indonesia 007 803 601 5249 Italy 00800 2255 4835 Japan 81 (3) 6714 3010 Luxembourg +41 52 675 3777 Malaysia 1 800 22 55835 Mexico, Central/South America and Caribbean 52 (55) 56 04 50 90 Middle East, Asia, and North Africa +41 52 675 3777 The Netherlands* 00800 2255 4835 New Zealand 0800 800 238 Norway 800 16098 People s Republic of China 400 820 5835 Philippines 1 800 1601 0077 Poland +41 52 675 3777 Portugal 80 08 12370 Republic of Korea +82 2 6917 5000 Russia / CIS +7 (495) 6647564 Singapore 800 6011 473 South Africa +41 52 675 3777 Spain* 00800 2255 4835 Sweden* 00800 2255 4835 Switzerland* 00800 2255 4835 Taiwan 886 (2) 2656 6688 Thailand 1 800 011 931 United Kingdom / Ireland* 00800 2255 4835 USA 1 800 833 9200 Vietnam 12060128 * European toll-free number. If not accessible, call: +41 52 675 3777 Find more valuable resources at TEK.COM Copyright Tektronix. All rights reserved. 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. 02/18 EA 55W-61326-0