Skip to main content

Questions tagged [lin]

LIN (Local Interconnect Network) is a serial network protocol used for communication between components in vehicles. It is a single wire, serial network protocol.

Filter by
Sorted by
Tagged with
0 votes
2 answers
136 views

Powering LED from a CAN bus signal

I am looking for a can it be done and, if someone is willing, a how to. I am building an OBD2 breakout box for easily scoping automotive computer data lines and want to add LEDs as a quick visual of ...
ToreanPW's user avatar
0 votes
1 answer
20 views

Is There a Mandatory Relationship Between PID and Data Length in LIN Communication Protocols?

In numerous articles by IC manufacturers and measurement device makers, I've encountered references to LIN PID indicating the expected length of data bytes in the response. ...
PARTHA SARATHI Ravi's user avatar
1 vote
1 answer
77 views

STM32 UART in LIN mode sends with incorrect baudrate but not in asynchronous mode

I am using the UART of an STM32F103C8T6. When selecting the Asynchronous mode via the CubeMX everything works fine using either of the functions ...
Felix's user avatar
  • 13
0 votes
0 answers
34 views

Composite Node Configuration in a Lin Description File

LDF (Lin Description File) is used to describe a LIN (Local Interconnect Network) cluster. Since LIN 2.0 there is a definition of composite nodes in a LDF. A composite node allows a definition of a ...
patvax's user avatar
  • 103
2 votes
3 answers
273 views

Ferrite bead value for a LIN bus protection circuit

What is the proper value for FB1 in relation to the surrounding capacitors in this diagram? The FB1 resistance is measured to 0.76ohm and package size is 0603. All components are AEC-Q200 rated. The ...
ajdalshov's user avatar
2 votes
1 answer
521 views

LIN BUS - why 50 mΩ in series?

I can see there is 50 mΩ in LIN bus with LIN ICs. But I don't understand why it is there. Does anyone have an idea why I see 50 mΩ in the bus line?
sangraemelb's user avatar
0 votes
2 answers
529 views

When is LIN used over I2C?

I am doing research about some communication protocols: CAN, LIN, I2C, and how they're used mainly in the automotive industry but I'm getting confused as to when each of them are used and if their use ...
Fer P's user avatar
  • 5
0 votes
0 answers
106 views

How to send 13 bit LIN (Local Interconnect Network ) Break?

I use MC9S08DZ96 MCU (NXP). I wrote the corresponding registers to create a break at the beginning of the data LIN frame. The data frame is sent correctly, but the problem is that the break part is ...
mehdi alizade's user avatar
1 vote
1 answer
254 views

LIN interface INH pin

What would happen if I pull down the INH pin of this IC to GND? I am unable to understand what would happen if I pulled to GND or make it HIGH? Can someone help me ?
user avatar
1 vote
2 answers
132 views

Horrible buzzing on custom car bluetooth

I've got an older vehicle that is wired for a CD changer. I'm using a few components to trick it into playing Bluetooth. Components MCP2025 Transceiver for car's LIN bus Regulates voltage (>12V ...
kevin's user avatar
  • 143
0 votes
2 answers
1k views

Pullup resistor for automotive protocol like CAN and LIN

I understand that how open collector works on protocol like I2C. However, from my understanding, the automotive protocols like CAN and LIN also use open collector to talk to other devices. LIN is ...
JOSEPH129009's user avatar
0 votes
1 answer
184 views

LIN transceiver instability problem

I'm using the MCP2021A for my project. In this component, there is a voltage regulator but I have no use for it. They usually power microcontroller like the PIC18F2455 but I'm using a Raspberry Pi ...
Graggon's user avatar
0 votes
2 answers
495 views

How to find and decode a particular protocol

I'm trying to understand what protocol is used on a particular device in order to decode it and send custom values. So far I was able to record the data with a logic analyzer but couldn't figure out ...
Jwdsoft's user avatar
  • 155
2 votes
1 answer
3k views

ISO 9141, LIN Bus, K-Line compatibility

I'm designing an automotive scan tool. For now, I'm studying about ISO 9141 and LIN Bus physical layer compatibility. I have a legacy hardware that uses L9637 to perform ISO 9141, through K-Line, but ...
Daniel's user avatar
  • 917
0 votes
1 answer
730 views

Bit error rate calculation for LIN protocol

I am having this microcontroller - S32K142 64 Pin 5V Core voltage Microcontroller Reference Manual I am using an 8MHz external clock. I want to calculate the Bit error rate of my LIN Communication. My ...
user avatar
1 vote
1 answer
1k views

computing the parity of diagnostic requests' frame id

I am implementing a LIN master, developing all the aspects of the LIN protocol I need, using a UART device (capable to send break). The question is about the doubt to compute the parity bits in order ...
Francesco's user avatar
1 vote
1 answer
935 views

Connect to LIN bus with logic level shifter as transceiver

Is it good idea to connect my microcontroller to LIN bus with logic level shifter (5 <=> 12 V) instead of factory LIN transceiver (MCP2003, TJA1020, etc.)? As I understand, LIN transceiver just ...
brigadir's user avatar
  • 273
1 vote
1 answer
624 views

LDO maximum output current during short circuit

I am using this IC - LIN Mini system basis chip - TJA1128 Using the LDO in that IC to generate 3.3V with 50mA of load current. I see that the maximum output current capability of the IC is 85mA. ...
user avatar
0 votes
3 answers
1k views

Developing a Hardware Test Plan for a Microcontroller - Past Experience

I am using this Microcontroller using 3.3V for power. Using GPIO pins to drive some LEDs and send some ports for sending UART, LIN signals. I'm using a 16MHz crystal. Can someone tell me what the ...
Freshman's user avatar
0 votes
0 answers
2k views

LIN bus sniffing with Arduino

I'm trying to do a simple LIN bus sniffing in my car with an Arduino. This should be possible with a simple voltage divider if I'm not wrong. Would this schematic work? ...
blunde's user avatar
  • 9
3 votes
1 answer
419 views

Interfacing LIN bus with CAN

On the following figure, LIN is used to build subnetworks from a CAN bus: Is there any standardized way to interface these two buses (e.g. for addressing a LIN node from a CAN node)? I read an ...
DurandA's user avatar
  • 233
0 votes
1 answer
660 views

Why is a LIN cluster limited to 16 nodes?

It says everywhere that a LIN network can be made up of at most 16 nodes (1 master node and up to 15 slave nodes). The id field however is 6 bits long allowing for more than 15 slaves to be addressed. ...
Raul Grigorașcu's user avatar
0 votes
2 answers
2k views

Resolving Node Address Conflicts (Lin 2.X diagnostics)

Section 4.2.5 of the LIN 2.1 spec provides a system for assigning new NADs to slave nodes. The stated purpose is To resolve conflicting NADs in LIN clusters built using off-the-shelves slave nodes ...
Malacandrian's user avatar
1 vote
2 answers
4k views

LIN diagnostic frames: Request continuation-frames

I have a question about LIN communication. To be sure my current knowledge is correct, I'll start here: LIN 2.1 diagnostic basics: The communication in a LIN diagnostics session uses frames with ...
sweber's user avatar
  • 8,660
0 votes
2 answers
894 views

LIN to RS485 and back to LIN

I am currently communicating between two microcontrollers using a single pin and the LIN protocol over a short distance of 0.2m. Now I would like to extend the distance up to 5m by differentially ...
ChrisD91's user avatar
  • 707
0 votes
3 answers
284 views

PIC24FJ - LIN Bus transmission

I'm trying to read and write data to a LIN Bus, which is a single wire bus. As such, only one "module" (my PIC is a module in a network) is allowed to talk at a time. I'm using an MCP2004 LIN ...
t3ddftw's user avatar
  • 515
0 votes
1 answer
396 views

LIN Network without Transceiver (for testing)

My task is to implement LIN network on SPC560P microcontroller. This microcontroller does not have builtin LIN-transceiver, so it provides TX and RX pins. I know Lin network only has one LIN wire, but ...
Junaid Ullah's user avatar
0 votes
4 answers
187 views

Which NXP ARM processsors have LIN capability? [closed]

I am looking for potential alternatives for my current STM32F091 uC (they currently can provide a very lousy stock). Searching through datasheets and reference manuals, I can't pinpoint where to look ...
crypton's user avatar
  • 135
1 vote
3 answers
633 views

LIN bus ESD protection

I need advise about LIN bus ESD protection. Here a four LIN connectors on board but only one LIN driver (master), is it mean that ESD protective diodes also must be 4? placed close to each connection? ...
Arturas Aleksandrovas's user avatar
0 votes
2 answers
638 views

Power Arduino Pro Micro from MCP2025 Vreg

I'd like to power Arduino Pro Micro (5v) from MCP2025-500 LIN BUS transceiver. Can I connect MCP2025-500 Vreg pin directly to Arduino Pro Micro (5v) RAW pin?
Laurynas's user avatar
  • 127