×

Happy to Help!

This website doesn't store cookies. Enjoy the experience, without worrying about your data!

Great, thanks!

SAE J2602 Based LIN 2.1 Protocol Stack

Enabling Low-Cost ECU Communication

LIN protocol software offers low-cost ECU communication where versatility and high bandwidth of CAN protocol is not required. LIN Bus protocol also serves as a sub network to CAN thereby reducing the amount of harness and thus achieves low-cost and ease of implementation.

Embitel’s LIN Protocol Software

Embitel offers a ready-to-deploy LIN protocol software package based on ISO 17897 standard. With our production-grade LIN stack, you can implement customized LIN Master and LIN Slave solutions.

Our LIN protocol stack enables communication capabilities in your automotive ECU development program at low-cost and with reduced turn-around time.

We offer this LIN Protocol stack under a one-time licensing fee model. This engagement model makes the LIN stack highly beneficial for our customers.

LIN BUS Protocol Stack: Details of the Software Architecture

  • LIN Device Drivers: It facilitates the access to the hardware resources and offers a hardware independent API to the upper layer.
  • LIN Hardware Abstraction Layer: Consists of LIN Interface and LIN TP Layer; Responsible for hardware abstraction, error handling and transport layer software services for diagnostics
  • LIN Network Management: Coordinates the transition between normal operation and bus-sleep mode of the network.

Features of Our LIN Protocol Stack Solution

LIN Stack License Model

  • We offer our industry recognized LIN protocol software under a one-time licensing fee model.
  • Terms & conditions regarding IP rights and source code ownership are completely transparent and fully aligned with the customer’s requirements and vision.

LIN Master / Slave Architecture

  • The LIN subnet is based on a master-slave architecture and we have partnered with our customers to deliver a customized LIN Master and LIN Slave solutions.
  • Within the In-Vehicle Network, LIN Master is integrated with Master ECU (which is part of Body Control Module).
  • LIN Master ensures robust communication and control of the LIN Slave nodes

LDF to auto-code generator Tool

  • MISRA C compliant auto-code generation for LIN Interface configuration in lesser time as compared to manual method (3-4 week)
  • This saving in efforts translates into reduction time-to-market and thus development cost.

LIN Protocol Stack Use-Cases

  • LIN protocol stack implementation for sun-roof systems, DC DC converter, wiper, power-window etc.
  • LIN protocol based ECU re-programming (Bootloader) over UDS.
  • Integration of UDS over LIN TP.

LIN Bus Protocol Stack Integration, Configuration and Testing Service Offerings

sedans-icon

Development and Integration of LIN Driver

  • Device Drivers development for the LIN Slave microcontroller
  • Device Drivers development for LIN Master microcontroller
  • Reusable device drivers to ensure reduced development time and cost
  • Support for driver integration for most MCU families
sedans-icon

Node Configuration, LIN Network Management and LIN TP Configuration

  • Support for Static and Dynamic Configuration of Nodes (ECUs)
  • Already integrated Read/write to the stack function
  • Sleep/Wake up functionality for the nodes
  • Support for segmentation of large data packets over LIN TP
sedans-icon

Development and Configuration of LIN Master

  • Configuration of the Scheduler Table based on SWRS and LDF files
  • Support for Unconditional, Event, Sporadic and Diagnostics frame
  • Skeleton code for Scheduler Table
  • Integration with the end-user application and HAL
  • Algorithm development for Scheduler Table
sedans-icon

LIN Bus Protocol Stack Support and Maintenance Services

  • Documentation Support: Low-level design and High-level design documents
  • LIN conformance test using Vector Tools. This ensures robustness of Data Link Layer
  • Unit, Integration and Functional testing services
  • Support for MISRA C Report creation
sedans-icon

Development and Configuration of LIN Hardware Abstraction Layer

  • Tx and Rx message configuration from LIN Description File (LDF)
  • Support for both tool based and manual configuration
  • Proprietary LDF to auto-code generation tool
  • Configuration for Software Filtering
  • Vector tool based LDF generation from excel sheet
  • Configurable HAL standard code is part of the stack package

Know more about our LIN protocol software business model, features, use-cases, and technical specifications.

Embitel’s Advantage


1

Industry-wide Recognition

We have integrated LIN stack for several production programs across the globe. The extensive experience gives us an edge in the implementation of on-board diagnostics for automotive use-cases.


2

CMMi Level 3 Certified

As a CMMI level 3 certified organization, we have a robust process model in place. This ensures that the LIN stack along with other stacks are reliable, bug-free and efficient.



3

Configuration & Integration Support

Our LIN protocol software is designed to be fully configurable as per project specifications. We provide support for configuration of LIN Stack based on LDF .


4

Support for After-market Solutions

Development, testing and maintenance support for after-Market Products for Telematics, ADAS, remote vehicle diagnostic applications.


Knowledge Bytes

   What is Local Interconnect Network (LIN) BUS Protocol Stack?

 

  • LIN protocol is a sub-network deployed in both passenger and off-road vehicles. Unlike CAN, which is a broadcast protocol, LIN is a master/slave communication standard.
  • Simpler functionalities like wiper, mirror control and washer etc. are usually handled by LIN network.
  • The LIN master ECU is integrated with the body control module, from where it initiates the command. The LIN master nodes will receive the command over LIN network and act accordingly.
  • LIN Slave nodes don’t communicate with other networks, unless initiated by the LIN master.

   What makes Local Interconnect Network (LIN) important when CAN already handles in-vehicle networking?

 

  • Adding too many nodes (ECUs) to the network causes Network BUS slow down. To prevent this, a LIN sub-network is designed. The body control module usually acts as a gateway between the main network (CAN Bus) and the subnets (LIN Bus)
  • LIN Bus is a single wire network best suited for small applications like wiper and washer etc. Using CAN for such application lead to increase in the software and hardware cost.

FAQs About LIN BUS Protocol Stack Solution

Ans.

    • The layered architecture of our LIN Protocol stack includes:

 

    • Low-level drivers (LIN, MCU, EEP, IVT, Timer)
    • LIN Bus Protocol Stack (LIN Network Management and LIN Interface)
    • LIN TP Layer
    • UDS Stack (ISO 14229)
    • Application Layer

 

The Bootloader includes:

    • Bootloader Application
    • UDS (ISO14229) Based Bootloader

Ans.

    • Our LIN protocol stack includes the following modules

LIN Master and Slave Drivers

      • LIN Master and Slave Driver, in compliance with LIN 2.1 specifications (SAE J2602)
      • Interrupt based data handling (both Transmission and Reception).
      • Error handling mechanism is part of the LIN driver software.

LIN Interface (LIN IF)

      • LN IF handles both Tx and Rx messages.
      • Schedule table will be part of LIN Interface
      • Tx and Rx messages will be configured in configuration (*.c, *.h) files.
      • Signals will be extracted as per LDF file and sent to application layer via APIs

LIN TP

    • Handles multi-packet transmission and reception

Ans.

    • LIN Drivers are developed for the specific microcontroller used in the automotive application. All other modules of the LIN Bus software stack are

hardware agnostics

    • .

We have expertise in developing LIN drivers for all the widely used MCU families. This includes Renesas, TI, Fujistsu and others.

Ans.

    • Our automotive team has delivered several LIN bus protocol stack projects to customers from across US, Europe and India.

We can share the detailed case studies of the projects and related information, once we sign the Non-disclosure agreement.

Ans.

    • Yes. As per our Service Level Agreement (SLA) for the LIN bus protocol Stack, we will provide the software configuration and integration services, along with the LIN bus software stack license.

The integration and configuration services will take care of both low-level drivers as well as the application-level integration.

Ans.

    We perform various tests in the course of LIN software stack development. Prior to the final project delivery, our LIN bus protocol stack solution undergoes the following testing procedures:

    1. Unit level Testing
    2. Functional Testing
    3. Data Link Layer Compliance testing, using Vector Testing Tools

Ans.

    • Whether to use the manual method or the

PC based tool

    • , for the conversion from LDF file to configuration file code, will depend on the size of the file.

If there are considerable numbers of Tx and Rx messages for configuration, we will prefer to use our proprietary PC based auto-code generator tool.

Ans.

    • The

PC-based tool

    • runs on

Windows OS

    • and has been developed by our automotive team. It reads the LDF file and converts it into configuration files instantly.

Our in-house LDF to auto code generation tool has the following benefits:

 

  • Designed for generating MISRA C compliant configuration files.
  • Code generation is much faster than the manual method (Manual Method takes 2-3 weeks depending on LDF file size).
  • It not only saves the time but also cuts down the cost.
  •  

 

Ans.

    • Our LIN bus software stack is light-weight in size. The size of

flash memory is 6 kB and RAM size is 1 kB

    . The RAM size could go higher depending on the size of the configuration file.

Ans.

    • Yes, Our LIN bus protocol stack is completely modular. There are

no global variables exchange between the programs

    • files and every functionality is invoked with the help of specific APIs.

Modularity makes the LIN software stack light-weight and also easy to deploy in number of production programs, without any compatibility issue.

Ans.

    • We offer separate stack solutions for both LIN Master and LIN slave. As LIN is not a broadcast protocol, the LIN master is tasked to initiate the command and the slave has to act on it.

Depending on the project specifications, we will deliver LIN master, LIN slave or both.

Ans.

    • Yes,

High-Level Design Document

    • and

Low-Level Design Document

    • , will be a part of the LIN bus software stack package. In addition to that, we will also provide

Functional Test Plan & Report

    • and

MISRA compliance Report

    • .

These documents contain every detail you may need to make some enhancements to the stacks or to integrate the stack solution in multiple production projects.