Questions tagged [lin]

27 questions
3
votes
1 answer

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 article on Hackaday that states that this is the…
DurandA
  • 233
  • 7
  • 16
2
votes
1 answer

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?
1
vote
1 answer

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 ?
user220456
1
vote
2 answers

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 to 5V) M18 Bluetooth Receive Bluetooth audio &…
kevin
  • 143
  • 5
1
vote
1 answer

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 I want to add LIN capabilities in the new…
Daniel
  • 897
  • 9
  • 31
1
vote
1 answer

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 to send the protected identifier on the bus (as…
Francesco
  • 21
  • 4
1
vote
1 answer

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 converts logic level UART signal to 12V LIN bus and…
brigadir
  • 219
  • 1
  • 7
1
vote
1 answer

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. But where to find the data on what will the maximum…
user220456
1
vote
0 answers

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? 0-12V in | [10k] | +-->0 to 4.86V out to Arduino …
blunde
  • 11
  • 2
1
vote
2 answers

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 8bytes payload, and in general looks like this: TX: …
sweber
  • 8,580
  • 1
  • 15
  • 35
1
vote
4 answers

Which NXP ARM processsors have LIN capability?

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 when I want to find NXP uC-s that have LIN…
crypton
  • 137
  • 13
1
vote
3 answers

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? And take into account capacitance of these four…
0
votes
2 answers

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 cases overlap. I understand when CAN is used…
Fer P
  • 5
  • 1
0
votes
0 answers

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 not 13 bits. I set the break registers like…
0
votes
2 answers

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 connect to 12v battery whereas CAN is connect to 3.5v…
1
2