Signals

A "signal" is transported in the data field of a LIN frame. Each signal has exactly one publisher, i.e. it is always written by the same node in the cluster. Zero, one or multiple nodes may subscribe to the signal. All signals have initial values. The initial value for a published signal is valid until the node writes a new value to this signal. The initial value for a subscribed signal is valid until a new updated value is received from another node.

Signal Types

For a given data frame, a signal is either a scalar value or a byte array.

  • A scalar signal is between 1 and 16 bits long.
    • A 1-bit scalar signal is called a boolean signal
    • Scalar signals in the size of 2 to 16 bits are treated as unsigned integers.
  • A byte array is an array of between one and eight bytes.

Signal Distribution Example

The following data frame depicts 4 varying-width scalar value signals (A, B, C, D, E):

slave-response-signal-distribution-example.png

All Signals in a LIN cluster are defined in the LIN Description File (LDF)

© 2017 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.