MikroElektronika
LIN Click
LIN Click
SKU:MIKROE-3816
Couldn't load pickup availability
Share
The LIN Click is a Click board™ that features the TLE7259-3GE, a LIN transceiver from Infineon Technologies, with integrated wake-up and protection features. The combination of Slave and Master node in LIN systems, the LIN click can be used for automotive applications: body controllers and gateway modules, switch panels, wiper or window lift modules, door and seat control modules and engine management units.
The LIN click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
HOW DOES IT WORK
LIN or Local Interconnect Network is a protocol used for communicating between components in vehicles. These days cars have hundreds of sensor applications to measure things like temperature, pressure, air flow, speed, etc. All these applications need to communicate with the main system. The LIN click is based on the TLE7259-3GE, LIN transceiver from Infineon Technologies with integrated wake-up and protection features. It is designed for in-vehicle networks using data transmission and it operates as a bus driver between the protocol controller and the physical bus of the LIN network. Compliant to all LIN standards and with a wide operational supply range the TLE7259-3GE can be used in all automotive applications.It can be used with CAN (Controller Area Network), but LIN is more cost-effective for simple sensor networks in vehicles.
In Sleep-mode the TLE7259-3GE draws typically less than 8 μA of quiescent current while still being able to wake up when detecting LIN bus traffic and a local wake up signals. The very low leakage current on the BUS pin makes the TLE7259-3 especially suitable for partially supplied networks. Based on the Infineon Smart Power Technology SPT®, the TLE7259-3GE provides excellent ESD Robustness and a very high electromagnetic compliance (EMC). The TLE7259-3GE reaches very low levels of electromagnetic emission within a broad frequency range, independent from the battery voltage. The TLE7259-3GE and the Infineon SPT® technology are AEC qualified and tailored to withstand the harsh condition of the automotive environment.
The LIN click can be configure for master node applications or for slave node applications, every LIN network consists of a master node and one or more slave nodes. The LIN click communicates with the MCU by using the UART RX and TX signals.RX and TX signals are also routed to the header on the edge of the click board™ so they can be used independently of the mikroBUS™ socket. Its most important features are the fact that it is a single-wire LIN transceiver for transmission rates up to 20 kbps and it is compliant to ISO 17987-4 and LIN Specification 2.2A. It has a very low current consumption in sleep mode with wake-up functions and it is digital I/O levels compatible with 3.3 V and 5 V microcontrollers. It is optimized for high electromagnetic compatibility (EMC); Very low emission and high immunity to interference.
The TLE7259-3GE has 3 major operation modes:
- Stand-By mode
- Normal Operation mode
- Sleep mode
The LIN click has a Terminal Block connector for LIN communication, LIN bus power supply Vs, LIN bus input / output data line and LIN bus ground GND .
The LIN click, due to its key features and on-board modules, can be used for various automotive applications including body controllers and gateway modules, switch panels, wiper or window lift modules, door and seat control modules and engine management units.
SPECIFICATIONS
Type | LIN |
Applications | Automotive applications: Body controllers and gateway modules, switch panels, wiper or window lift modules, door and seat control modules and engine management units |
On-board modules | TLE7259-3GE LIN transceiver from Infineon Technologies |
Key Features | Data rates up to 20kBaud, Low electromagnetic emission, Very low current consumption in sleep mode (8µA) |
Interface | GPIO,UART |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout on LIN click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
JP1 | VCC SEL | Left | Power supply voltage selection: left position 3.3V, right position 5V |
JP2 | MODE | Left | Communication MODE selection: left position is Slave mode, right position is Master mode |
LD1 | PWR | - | Power LED indicator |
CN1 | LIN | - | Screw terminal for connecting LIN bus |
SOFTWARE SUPPORT
We provide a library for the LIN Click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library includes functions to write or read data from UART. You can set state of pins(PWM - WK, INT - INH, EN - CS) you want to change it.
Key functions:
-
void lin_writeByte(uint8_t writeData)
- Writes one byte via UART -
uint8_t lin_readByte()
- Reads one byte via UART -
uint8_t lin_dataReady()
- Checks if data is ready to be read via UART
Examples description
The application is composed of three sections :
- System Initialization - Intializes UART module
- Application Initialization - Driver intialization
- Application Task - Choose one mode (read or write) of task. If you reading it checks if data is ready to be read and then reads one byte and if you are wiriting send data via UART.
void applicationTask() { uint8_t tmp; char rec; uint8_t rdyFlag; uint8_t mode = _LIN_READ_MODE; if( mode == _LIN_READ_MODE ) { // RECEIVER - UART polling rdyFlag = lin_dataReady(); if (_LIN_DATA_READY == rdyFlag) { rec = lin_readByte(); mikrobus_logWrite( &rec, _LOG_BYTE ); } } else if( mode == _LIN_WRITE_MODE ) { // TRANSMITER - TX each 2 sec for (tmp = 0; tmp < 11; tmp++) { lin_writeByte( MESSAGE_DATA[tmp] ); if(tmp < 6) { Delay_ms(100); } } Delay_ms(2000); } }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.






New Products
-
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / per