Keysight Technologies Triggering on and Decoding the PSI5 Sensor Serial Bus

Similar documents
Keysight DSOXT3FRA/DSOX4FRA/DSOX6FRA Frequency Response Analyzer (FRA) Option

Keysight Technologies Using an External Trigger to Generate Pulses with the B2960A

Keysight Technologies

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

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

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

Keysight Technologies

Keysight Technologies Migrating Balanced Measurements from the

Keysight E5063A ENA Series Network Analyzer

Keysight Technologies Waveguide Power Sensors. Data Sheet

Keysight Technologies Accurate NBTI Characterization Using Timing-on-the-fly Sampling Mode. Application Note

Keysight Technologies How to Read Your Power Supply s Data Sheet. Application Note

Keysight Technologies How to Easily Create an Arbitrary Waveform Without Programming. Application Note

Keysight Technologies Making Field Effect Transistor Characterization Using SMU

Keysight Technologies 8490G Coaxial Attenuators. Technical Overview

Keysight Technologies Improving Test Efficiency of MEMS Electrostatic Actuators Using the E4980A Precision LCR Meter.

Keysight Technologies MATLAB Data Analysis Software Packages

Keysight Technologies Measuring Low Current Consumption with a Digital Multimeter

Keysight Technologies Improving the Test Efficiency of MEMS Capacitive Sensors Using the E4980A Precision LCR Meter.

Keysight Technologies VOR and ILS Radio Navigation Receiver Test Using Option 302 for Keysight Signal Sources. Application Note

Keysight Technologies Simultaneous Measurements with a Digital Multimeter

Keysight Technologies Accurate Evaluation of MEMS Piezoelectric Sensors and Actuators Using the E4990A Impedance Analyzer.

Keysight Technologies Making Current-Voltage Measurement Using SMU

Keysight Technologies Using a Scope s Segmented Memory to Capture Signals More Efficiently. Application Note

Keysight Technologies Make Better AC RMS Measurements with Your Digital Multimeter. Application Note

Keysight Technologies N2792A/N2818A 200 MHz and N2793A/N2819A 800 MHz Differential Probes. Data Sheet

Keysight Quickly Generate Power Transients for Testing Automotive Electronics. Application Note

Keysight Technologies Making Simpler DC Power Measurements with a Digital Multimeter

Keysight Technologies Precise Low Resistance Measurements Using the B2961A and 34420A

Keysight Technologies N6850A Broadband Omnidirectional Antenna. Data Sheet

Keysight Technologies Differences in Application Between Power Dividers and Power Splitters. Application Note

Keysight Technologies RF & Microwave Attenuators. Performance you can count on

Keysight Technologies N9398C/F/G and N9399C/F DC Block. Technical Overview

Keysight Technologies Electronic Calibration (ECal) Modules for Vector Network Analyzers

Keysight N9311X RF and Microwave Accessory Kit for Low-cost Handheld and Benchtop Solutions. Technical Overview

Keysight Technologies Automotive Serial Bus Testing

Keysight Technologies N1918A Power Analysis Manager and U2000 Series USB Power Sensors. Demo Guide

Keysight Technologies N9310A RF Signal Generator

Introduction. Part 1. Introduction...2

Keysight U1882B Measurement Application for Infiniium Oscilloscopes. Data Sheet

Keysight Technologies Phase Noise X-Series Measurement Application

Keysight E5063A ENA Vector Network Analyzer

Keysight N8836A PAM-4 Measurement Application For Infiniium S-Series, 90000A, V-Series, X-Series, Q-Series, and Z-Series Oscilloscopes

Keysight Technologies InfiniiScan Event Identification Software

Keysight Technologies USB Preamplifiers

Keysight Technologies Precise Current Profile Measurements of Bluetooth Low Energy Devices using the CX3300. Application Brief

Keysight Technologies, Inc. UWB Antenna Measurements with the 20 GHz E5071C ENA Network Analyzer. Application Note

Keysight Technologies N2750A/51A/52A InfiniiMode Differential Active Probes. Data Sheet

Keysight Technologies Automotive ECU Transient Testing Using Captured Power System Waveforms. Application Note

Keysight Technologies Understanding the Importance of Maximum Power Point Tracking Efficiency for Solar Inverters.

Keysight Technologies 87405C 100 MHz to 18 GHz Preamplifier. Technical Overview

Keysight Technologies VSA Software for Simulation Environments BE/89601 BNE

Keysight Technologies N4983A Multiplexer and Demultiplexer. Data Sheet

Keysight Technologies FFT and Pulsed RF Measurements with 3000T X-Series Oscilloscopes. Application Note

Keysight HMMC-1002 DC 50 GHz Variable Attenuator

Keysight Technologies How to Measure 5 ns Rise/Fall Time on an RF Pulsed Power Amplifier Using the 8990B Peak Power Analyzer.

Keysight Technologies, Inc. Overcome PCB Loss and Deliver a Clean Eye to Your DUT Using Multi-tap De-emphasis

Keysight 8474B/C/E Planar-Doped Barrier Diode Detectors 0.01 to 50 GHz. Data Sheet

Keysight Technologies 423B, 8470B, 8472B, 8473B/C Low Barrier Schottky Diode Detectors

Keysight Technologies P9400A/C Solid State PIN Diode Transfer Switches

Keysight Technologies Migrating from the 4268A/4288A Capacitance Meter to the E4981A Capacitance Meter. Technical Overview

Keysight Technologies 7 Hints That Every Engineer Should Know When Making Power Measurements with Oscilloscopes. Application Note

Keysight Technologies N4985A System Amplifiers

Keysight Technologies DSOX3PWR/DSOX4PWR/DSOX6PWR Power Measurement Options

Keysight Technologies Measuring Group Delay of Frequency Converters with Embedded Local Oscillators. Application Note

Keysight Technologies Overcoming LTE-A RF Test Challenges. Application Note

Introduction. Part 1. Introduction...2

Keysight Redefines 50 GHz Portability. Get a $30k Credit When You Move Up to FieldFox

Keysight Technologies Accurate Capacitance Characterization at the Wafer Level

Keysight Technologies MEMS On-wafer Evaluation in Mass Production

Keysight Technologies Medalist i1000d Boundary Scan Debug

Keysight Technologies NFC Device Turn-on and Debug

Keysight Technologies Using a Network and Impedance Analyzer to Evaluate MHz RFID Tags and Readers/Writers

Keysight Technologies Secondary Radar Transponder Testing Using the 8990B Peak Power Analyzer. Application Note

Keysight Technologies HMMC GHz High-Gain Amplifier

Keysight Measuring High Impedance Sources Using the U8903B Audio Analyzer. Application Note

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

Keysight Technologies How to Take Fast, Simultaneous Measurements of Two or More Signals Using BenchVue Software. Application Note

Keysight Technologies PXI Vector Network Analyzer Series. Drive down the size of test

Keysight Technologies Alliance for Wireless Power (A4WP) Measurements Using an Oscilloscope (Part 3)

Keysight Technologies NFA Noise Figure Analyzer. Configuration Guide

Keysight N2806A Calibration Pulse Generator The world s fastest differential pulse generator. Data Sheet

Keysight Technologies Automated Receiver Sensitivity Measurements Using U8903B. Application Note

Keysight N9310A RF Signal Generator

Keysight Technologies Direct Power MOSFET Capacitance Measurement at 3000 V

Keysight Technologies Network Analyzer Measurements: Filter and Amplifier Examples. Application Note

Keysight M9485A PXIe Multiport Vector Network Analyzer

Keysight Technologies Improve the Accuracy and Efficiency for Organic-Thin Film Transistor (Organic-TFT) Characterization

Keysight Technologies Achieving Accurate E-band Power Measurements with E8486A Waveguide Power Sensors. Application Note

Keysight Technologies Power of Impedance Analyzer

Keysight Technologies A Flexible Testbed to Evaluate Potential Co-Existence Issues Between Radar and Wireless

Keysight Technologies Split Post Dielectric Resonators for Dielectric Measurements of Substrates. Application Note

Keysight Technologies N2790A 100 MHz, N2791A 25 MHz and N2891A 70 MHz High-voltage Differential Probes. Data Sheet

Keysight Technologies Achieving Accurate RF and Microwave Power Measurements for Satellite Thermal Vacuum Test. Application Note

Keysight Technologies Maximizing the Life Span of Your Relays

Keysight M940xA PXIe Optical Extenders for Instrumentation. Data Sheet

Keysight Technologies 89601B-SSA/89601BN-SSA Spectrum Analysis VSA Software

Keysight Technologies E1834E/G/J/M/Z Mounted Beam Delivery Optics. Preliminary Data Sheet

Keysight Technologies N9398C/F/G and N9399C/F DC Block. Technical Overview

Debugging SENT Automotive Buses with an Oscilloscope APPLICATION NOTE

Transcription:

Keysight Technologies Triggering on and Decoding the PSI5 Sensor Serial Bus Using Keysight InfiniiVision X-Series Oscilloscopes Application Note

Introduction The Peripheral Sensor Interface 5 (PSI5) serial bus is used in automotive sensor monitoring applications including airbag systems. The PSI5 bus is based on a 2-wire current-modulated interface with Manchester encoding. This interface supplies power to PSI5 intelligent sensors and sensor-to-ecu data transmission is achieved via current modulation over the same 2-wire interface. Though the most common baud rate for PSI5 is 125 kbps, this bus can operate up to 189 kbps. Keysight s InfiniiVision X-Series oscilloscopes offer a wide range of licensed application options that allow you to set up the scope to decode and trigger on a wide range complex automotive serial bus communication, including PSI5. Having the ability to synchronize on and decode PSI5 communication will enhance your ability to test, debug, and verify proper bus operation and signal integrity of the physical layer. Triggering on and decoding the PSI5 bus can be accomplished using Keysight s User-definable Manchester/NRZ Trigger and Decode option (DSOXT3NRZ/DSOX4NRZ/DSOX6NRZ). This application note provides an overview of the structure of the PSI5 protocol/bit timing, followed by step-by-step instructions on how to set up an InfiniiVision oscilloscope to decode then trigger on a PSI5 serial bus.

03 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note PSI5 Protocol and Timing Overview PS15 serial communication is based on Manchester encoding where transitions near the mid-point of bit periods determine the polarity of the transmitted and/or received bit. A rising transition/edge in the middle of a bit period corresponds to a logic 0 while a falling transition during the middle of a bit period corresponds to logic 1 as shown in the waveform timing diagram of Figure 1. Transitions at or near bit boundaries are ignored. I S Bit #0 Bit #1 Bit #2 Bit #3 Bit #4 Bit #5 Bit #6 Bit #7 Bit #8 Bit #9 0 0 0 1 1 1 0 1 1 1 I S,HIGH I Threshold I S,Low T BIT Figure 1. Bit polarities based on Manchester encoding.

04 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note PSI5 Protocol and Timing Overview (Continued) PSI5 data frames consists of three primary fields/regions including a 2-bit start field (polarity always 0 ), a 10- to 28-bit payload/data field, which can be further segmented into optional and mandatory sub-fields, and a 1- or 3-bit Parity/CRC field. This is shown in Figure 2 with additional explanations in Table 1. PSI5 frame (p = 13 33 bit) Data LSB D0 D1 D2 Payload data region (k = 1 28 bit) Data MSB D[k-3] D[k-2] D[k-1] CRC MSB CRC LSB S1 S2 M0 M1 F0... F[q-1] E0 E[r-1] B0 B1... B[m-1] A0... A[n-3] A[n-2] A[n-1] C2 C1 C0 Start bits 2 bit Messaging (optional) 0, 2 bit Frame control (optional) 0, 1, 2, 3, 4 bit Status (optional) 0, 1, or 2 bit Data region B (optional) m = 0 12 bit 1 bit granularity Data region A n = 10 24 bit 1 bit granularity CRC or parity 1, 3 bit Figure 2. PSI5 data frame structure (based on PSI5 Technical Specification, v2.2). Table 1. PSI5 frame region/field definitions Optional payload Bits Function Number of bits Comments S1, S2 Start bits 2 0 polarity (mandatory) M0, M1 Messaging 0, 2 Serial messaging channel (optional) F0 F[q-1] Frame control 0, 1, 2, 3, 4 Indicates type of frame or data content. or identifies sensor (optional) E0 E[r-1] Status 0, 1, 2 Error flag (optional) B0 B[m-1] Payload data 0, 1, 2,, 12 Data region B (optional) A0 A[n-1} Payload data 10,, 24 Data region A (mandatory) C2, C1, C0 Parity bit or CRC 1, 3 Mandatory

05 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note Decoding PSI5 Now learn how to set up an InfiniiVision X-Series oscilloscope to decode a stream of PSI5 signals/frames that consists of two start bits, a 10-bit data field, and a single parity bit. Begin by probing the PSI5 bus with a high-sensitively current probe such as Keysight s N2821A. Then properly scale (Amps/div) and trigger on a repetitive PSI5 signal while initially using the default edge trigger mode so the scope displays one or more frames on screen. Note that triggering on specific PSI5 frames must be established after properly setting up decode on the scope. Next, select the Manchester protocol decode mode in the scope s Serial menu as shown in Figure 3. Progress from left to right within this menu to define decoding based on the PSI5 protocol. Figure 3. Scaling the waveform and then selecting to decode based on User-definable Manchester. Select the Signals sub-menu and define the following parameters as shown in Figure 4: Source = 1 (assuming you re probing the bus with channel-1 to capture the PSI5 signal) Threshold = ~50% of waveform swing Baud Rate = 125 kb/s Baud Rate Tolerance = 20% Figure 4. Defining the input channel source, threshold, baud rate, and baud rate tolerance in the Signals menu.

06 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note Decoding PSI5 (Continued) Since the serial decoding on the InfiniiVision oscilloscope is based on hardware technology, the decoding threshold level is the same as the trigger level. So if you set up the scope to trigger on either rising or falling edge transitions with the trigger level near 50% of the peak-to-peak swing of the waveform, you should achieve a valid threshold level for decoding. After establishing settings in the Signals sub-menu, press the Back key to return to the main Manchester decode menu. Select the Bus Config sub-menu and define the following parameters as shown in Figure 5: Display Format = Word Sync Size = 2 (number of start bits) Header Size = 0 Number of Words = 1 (single data word within payload/data field) Data Word Size = 10 Trailer Size = 1 (1 parity bit) Figure 5. Defining the fields/regions of each PSI5 frame. Note that if we were attempting to decode PSI5 frames that contain any of the optional fields/ regions, we could specify the Header Size as another unique field for decoding. After establishing settings in the Bus Config sub-menu, press the Back key once again to return to the main Manchester decode menu. Select the Settings sub-menu and define the following parameters as shown in Figure 6: Start Edge # = 1 (1st edge after 2 start bits) Polarity = falling edge: 1 (falling edge in the middle of bit time = 1, rising edge in the middle of a bit time = 0) Bit Order = LSB (data field bit order) Idle Bits = 1.5 (minimum number of bits/gap between frames) Decode Base = Hex Figure 6. Defining parameters within the Settings menu. Note that bit order applies to the entire frame. This means if your PSI5 frames include a 3-bit CRC field, then this field will be decoded in reverse order.

07 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note Triggering on PSI5 Though the scope should now be decoding this PSI5 serial bus, it s not yet triggering on anything specific, other than random edge transitions. To set up a unique PSI5 trigger condition, select the Trigger menu, and then select to trigger on Manchester. You can also turn on the protocol Lister display by selecting the Lister tab at the top of the scope s waveform display as shown in Figure 7. InfiniiVision scopes have the ability to display protocol decoding in two different formats. A time-correlated decode trace always appears below waveforms showing the contents of each frame. The Lister display can be turned on to show decoding in a tabular format in the top half of the scope s display. Figure 7. Triggering on the start of any PSI5 frame. The default Manchester trigger condition is start-of-frame (SOF). However, you also have the ability to establish a more specific trigger condition by specifying a serial bit pattern value in binary format (entered in order of bit received by the scope), or trigger on Manchester errors. In this example there is the occurrence of an occasional Manchester error as shown in the lister display. A Manchester error is defined as the non-occurrence of an edge in the middle of any bit period within the tolerance setting. Now we set up the scope to trigger on this Manchester error to uncover the specific timing problem.

08 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note Triggering on PSI5 (Continued) Figure 8 illustrates the scope triggering on the Manchester error while decoding in a binary bit display/decoding format. The orange triangle above the waveform (near right side of the display) marks the trigger point, which is at the end of the bit time following the Manchester error. With timebase set at 8 µs/div (same as a PSI5 bus bit time), we should observe a rising or falling edge very close to the mid-point between each vertical display graticules (8 µs between vertical graticules). We can see the transition that should have occurred in the middle of the 7th bit was interrupted early (prior to the middle of the bit period). This interruption produced a falling edge outside of the tolerance setting. The scope immediately detects this error at the end of that bit time, triggers on the error, and displays the MANCH error message highlighted in red. Figure 8. Using Manchester error triggering to uncover a bit timing problem.

09 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note Summary Using Keysight s User-definable Manchester/NRZ Serial Trigger and Decode option on an InfiniiVision X-Series oscilloscope (except 2000X) allows you to quickly test and debug the PSI5 automotive sensor bus. Keysight also offers licensed options commonly used for automotive measurement applications including CAN, CAN FD, LIN, FlexRay, SENT, I 2 C, SPI, etc. To learn more about testing automotive serial buses, refer to documents in Related Literature section at the end of this application note. To view short videos focused on automotive measurement applications, go to www.keysight.com/find/scopes-auto. Related Literature Publication title InfiniiVision 3000T X-Series Oscilloscopes - Data Sheet InfiniiVision 4000 X-Series Oscilloscopes - Data Sheet InfiniiVision 6000 X-Series Oscilloscopes - Data Sheet Serial Bus Options for InfiniiVision X-Series Oscilloscopes - Data Sheet N2820A/21A High-Sensitivity, High Dynamic Range Current Probes - Data Sheet Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster - Application Note Using Oscilloscope Segmented Memory for Serial Bus Applications - Application Note Publication number 5992-0140EN 5991-1103EN 5991-4087EN 5990-6677EN 5991-1711EN 5991-0512EN 5990-5817EN To download these documents directly, insert the publication number in the URL: http://literature.cdn.keysight.com/litweb/pdf/xxxx-xxxxen.pdf

10 Keysight Triggering on and Decoding the PSI5 Sensor Serial Bus - Application Note Evolving Our unique combination of hardware, software, support, and people can help you reach your next breakthrough. We are unlocking the future of technology. For more information on Keysight Technologies products, applications or services, please contact your local Keysight office. The complete list is available at: www.keysight.com/find/contactus Americas Canada (877) 894 4414 Brazil 55 11 3351 7010 Mexico 001 800 254 2440 United States (800) 829 4444 From Hewlett-Packard to Agilent to Keysight mykeysight www.keysight.com/find/mykeysight A personalized view into the information most relevant to you. Keysight Services www.keysight.com/find/service Our deep offering in design, test, and measurement services deploys an industry-leading array of people, processes, and tools. The result? We help you implement new technologies and engineer improved processes that lower costs. Three-Year Warranty www.keysight.com/find/threeyearwarranty Keysight s committed to superior product quality and lower total cost of ownership. Keysight is the only test and measurement company with three-year warranty standard on all instruments, worldwide. And, we provide a one-year warranty on many accessories, calibration devices, systems and custom products. Keysight Assurance Plans www.keysight.com/find/assuranceplans Up to ten years of protection and no budgetary surprises to ensure your instruments are operating to specification, so you can rely on accurate measurements. Keysight Channel Partners www.keysight.com/find/channelpartners Get the best of both worlds: Keysight s measurement expertise and product breadth, combined with channel partner convenience. www.keysight.com/find/scopes-auto Asia Pacific Australia 1 800 629 485 China 800 810 0189 Hong Kong 800 938 693 India 1 800 11 2626 Japan 0120 (421) 345 Korea 080 769 0800 Malaysia 1 800 888 848 Singapore 1 800 375 8100 Taiwan 0800 047 866 Other AP Countries (65) 6375 8100 Europe & Middle East Austria 0800 001122 Belgium 0800 58580 Finland 0800 523252 France 0805 980333 Germany 0800 6270999 Ireland 1800 832700 Israel 1 809 343051 Italy 800 599100 Luxembourg +32 800 58580 Netherlands 0800 0233200 Russia 8800 5009286 Spain 800 000154 Sweden 0200 882255 Switzerland 0800 805353 Opt. 1 (DE) Opt. 2 (FR) Opt. 3 (IT) United Kingdom 0800 0260637 For other unlisted countries: www.keysight.com/find/contactus (BP-2-23-17) DEKRA Certified ISO9001 Quality Management System www.keysight.com/go/quality Keysight Technologies, Inc. DEKRA Certified ISO 9001:2015 Quality Management System This information is subject to change without notice. Keysight Technologies, 2017 Published in USA, April 3, 2017 5992-2269EN www.keysight.com