User manual
56
Serial BUS Analysis
with ground reference to the vehicle mass. A LIN BUS has
the following properties:
❙ Serial single-wire communication protocol (byte-oriented)
❙ Master-slave communication (generally up to 12 knots)
❙ Master-controlled communication (master initiates /
coordinates communication)
The data is transmitted in bytes without parity (based on
UART). Each byte consists of a start bit, 8 data bits and a
stop bit.
12.8.1 LIN BUS Conguration
After choosing the BUS type LIN in the BUS menu press
the soft menu key CONFIGURATION. In the menu that
opens you can press the top soft menu key DATA to select
the desired channel via universal knob in the CURSOR/
MENU section. The soft menu key POLARITY allows you
to toggle between High and Low; the active function will
be highlighted in blue. An analog or a digital channel can
be connected to LIN-High or LIN-Low. You can select any
version for the LIN standard (version 1x, version 2x, J2602
or any) via soft menu key VERSION and universal knob.
The option BIT RATE allows you to specify the number
of transmitted bits per second. You can use the univer-
salknobtochoosefrompredenedstandarddatarates
anduser-deneddatarates(USER).Thehighestpossible
user-deneddatarateis4MBit/s.Youcanentertheuser-
denedvalueviauniversalknobornumericinput(KEYPAD
button).
Fig. 12.20: Layout LIN byte structure
Prior to the BUS conguration it is necessary to set the correct
logic level (threshold). Please refer to chapter 4.5. The default
setting is 500 mV.
Fig.12.21:MenuforthedenitionofaLINBUS
12.8.2 LIN BUS Triggerung
After the BUSconguration,itwillbepossibletotrigger
on various events. Press the TYPE button in the TRIGGER
section of the control panel and choose the soft menu key
SERIAL BUSES. Then press the SOURCE button in the
TRIGGER section and choose LIN. This will only be availa-
bleifitwasconguredearlier.PresstheFILTERbuttonin
the TRIGGER section of the control panel to list all available
CAN trigger conditions:
❙ START OF FRAME: Triggers on the stop bit of the
synchronizingeld.
❙ WAKE UP: Triggers after a wake-up frame.
❙ ERROR C:Identiesvariouserrorsinaframe.Thismenu
allows you to choose one or several error message types
as trigger condition. LIN BUS applies a complex
checksum calculation (Cyclic Redundancy Check). The
transmitter calculates the CRC and transmits the result in
a CRC sequence. The receiver calculates the CRC in the
same manner. A CRC error occurs if the calculated result
deviates from the received CRC sequence. With soft
menu key PARITY triggering occurs on a parity error.
Paritybitsarebit6andbit7oftheidentier.Thecorrect
transferoftheidentierisveried.Withthesoftmenu
key SYNCHRONISATION triggering occurs if the
synchronizingeldindicatesanerror.
❙ ID: With the soft menu key IDENTIFIER you can set the
triggertoaspecicidentieroraspecicidentierrange.
ThesoftmenukeyCOMPAREdenesthecomparison
function. If the pattern includes at least one X (don’t care),
it is possible to trigger on a value equal or not equal to the
speciedvalue.Ifthepatternincludesonly0or1,itis
possible to trigger on an area greater than or less than the
speciedvalue.ThePATTERNINPUTmaybebinaryor
hexadecimal. If you choose the binary input, the soft
menu key BIT and the universal knob allow you to select
which individual bits within the data are to be edited.
Select the option STATE to assign a logic state to each bit
(High = H = 1, Low = L = 0 or X = don’t care). The state X
denesanystate.Ifyouchoosethehexadecimalinput,
Fig. 12.22: LIN data trigger menu
If LIN standard VERSION J2602 is selected, you may only choose
from the predened standard data rates via bottom menu item
and universal knob.