F29H85x-SDK  1.03.00.00
 
LIN

The LIN driver provides API to configure the LIN module. Below are the high level features supported by the LIN driver.

Features Supported

  • Operable in (a) LIN Mode (2.1 protocol, compatible with 1.3 & 2.0) (b) SCI mode (standard NRZ UART)
  • Automatic commander header generation, responder synchronization, wakeup support
  • 24-bit programmable baud rate, fully configurable data frame parameters
  • Supports half and full-duplex operation
  • Multibuffered receive & transmit units, two individually enabled interrupt lines
  • Support for dual interrupt lines, DMA, multiprocessor mode, sleep mode

SysConfig Features

Note
It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.
  • Configurable in LIN or SCI compatibility mode with loopback support
  • Baud rate calculator with error estimation, multibuffer mode
  • LIN: Configure LIN operational mode, frame parameters, message filtering, sync field and ID settings
  • SCI: Configure data width, stop & parity bits
  • LIN clocks configurable through Clocktree
  • Integrated support for interrupt & RTDMA modules

Features NOT Supported

  • Superfractional baud rate divider configuration not available via driver functions

Example Usage

Include the below file to access the APIs #include <lin.h>

API

LIN