LIN Bus Controller Core
Description | Features | Applications | Symbol Diagram | Block Diagram | Functional Description| Implementation | Core Modifications | Support | Verification | Deliverables
The LIN core is a communication controller that that transmits and receives complete LIN frames to perform serial communication according to the LIN Protocol Specification 2.0. It uses a single master/multiple slave concept for message transfer between nodes of the LIN network. The LIN can be implemented as a master or as a slave. The mes-sage transfer can be controlled via a micro controller interface and a LIN transceiver is needed for the connection to the LIN bus.
The LIN is a microcode-free design developed for reuse in ASIC and FPGA implemen-tations. The design is strictly synchronous with positive-edge clocking and no internal tri-states.
Features
- Support of LIN specification 2.0
- Programmable data rate between 1 Kbit/s and 20 Kbit/s
- 8-byte data buffer
- 8-bit host controller interface
- Configurable for support of master or slave functionality
- Slave can be implemented with or without clock synchronization
- Fully synchronous design, available in VHDL or Verilog, completely synthesizable
- The LIN Controller synthesizes to approximate 3000 gates
Applications
The LIN core can be utilized for a variety of applications including;
- low cost automotive networks
- interfaces for sensors and actuators
Symbol Diagram

Block Diagram

Functional Description
The LIN core is partitioned into modules as shown in the block diagram.
Host Controller Interface
This interface is responsible for handling the communication with the host controller of the system.
Register Block
The Register Block provides control registers and status registers to control the LIN message transfer. Access to the registers is possible via the host controller interface.
Data Buffer
The 8-byte Data Buffer stores the data that has to be sent with the current LIN frame or the data that has been received with the last LIN frame. Access to the Data Buffer is possible via the host controller interface.
Control FSM
The finite control state machine is responsible for the behavior of the core depending on host controller commands and bus activity. It generates and processes the LIN frame fields according to the LIN protocol.
Bit Stream Processor
This module converts the data stream from parallel to serial (from transmit buffer to bus) and from serial to parallel (from bus to receive buffer).
Bit Timing Logic
The Bit Timing Logic is responsible for synchronizing the received data stream from the bus with the internal bit time clock.
Implementation Results
Technology |
Approx. Area |
Frequency
|
ASIC
TSMC 0.18 |
2,840 gates
|
4 MHz
|
Core Modifications
The LIN core can be modified to include an acceptance filter. With that, a simple LIN slave that transmits response frames for only one identifier could be realized without host controller.
Please contact CAST, Inc. directly for any required modifications.
Support
The core as delivered is warranted against defects for three years from purchase. Thirty days of phone and email technical support are included, starting with the first interaction. Additional maintenance and support options are available.
Verification
The core has been verified through extensive simulation and rigorous code coverage measurements.
Deliverables
The core is available in ASIC (synthesizable HDL) and FPGA (netlist) forms, and includes everything required for successful implementation:
- HDL RTL source code (ASICs) or post-synthesis EDIF netlist (FPGAs)
- Sophisticated HDL Testbench including external FIFOs, buffers, models of interfaces, and the core
- Simulation script, vectors, expected results, and comparison utility
- Synthesis script (ASICs) or place and route script (FPGAs)
- Comprehensive user documentation, including detailed specifications and a system integration guide

|