User manual

PicoScope 6 User's Guide 179
Copyright © 2007-2013 Pico Technology Ltd. All rights reserved. psw.en r32
9.6.2
LIN protocol
You can decode LIN data using the serial decoding feature built into PicoScope.
About LIN
LIN (Local Interconnect Network) is a serial protocol used in automotive electronics to
allow microcontrollers to communicate with low-speed peripherals. The standard was
defined by the LIN Consortium, a group of five vehicle manufacturers. It uses a single
wire pair with a master-slave topology.
The in-window view of the data looks like this:
The columns in the data table are as follows:
Column
Description
No.
Serial number of the frame (decimal). If Accumulate mode is off,
this counts from the start of the selected waveform. If
Accumulate mode is on, this counts from the start of the first
waveform in the waveform buffer.
Frame
LIN Bus data is divided into frames, each consisting of a number
of bits. A frame can be any of the following types:
Unconditional: all subscribers must receive this frame.
Event-triggered: multiple slaves may respond to this, but only if
they have new data.
Sporadic: transmitted by the master when it knows that the
slave contains updated data.
Diagnostic: contains diagnostic or configuration data.
User-Defined: depends on your application.
Reserved: should not be used.
Break
The start-of-frame notifier.
Sync
A fixed value (0x55) used for automatic baud rate detection.
Frame ID
A six-bit value to identify the type of data carried by the frame.
Parity
A two-bit value calculated on the data.
Data count
Number of bytes of data in the frame.
Data bytes
The data content of the message.