Skip to main content

Sample Program Overview

This page describes the LIN sample lineup and communication settings.

Lineup​

TypeDescription
Monitor ProgramMonitors the LIN bus and displays received frame logs (no frame transmission).
Master Simulation ProgramMonitors the LIN bus, operates as a master node, and displays TX/RX logs.
Slave Simulation ProgramMonitors the LIN bus, operates as a slave node, and displays TX/RX logs.

Supported Samples by Development Environment​

Development EnvironmentMonitorMaster SimulationSlave Simulation
G++OOO
PythonOOO

Communication Settings Used in Sample Programs​

ItemSetting
Revision2.1
Baudrate19200 bps
Bit widthSyncBreak width13 bit
SyncBreak delimiter width1 bit
HeadSpace width1 bit
ResponseSpace width1 bit
ByteSpace width1 bit
ID definitionDLPer ID:
00H-1FH: 2, 20H-2FH: 4, 30H-3FH: 8
ChecksumClassic for all IDs
Wake-up pulse width250 us
Wake-up wait time0 ms
Sleep time4000 ms

Library Placement​

Perform the following according to the type of library you use.

ItemDescription
Static libraryCopy it to the same directory as the source code.
Dynamic libraryCopy it to a path from which OS libraries can be loaded.