Hi,
Is there a LIN solution for the linux environment? drivers/api etc...?
LIN solution for Linux?
Re: LIN solution for Linux?
Hi,
there are no direct tools or drivers for LIN under Linux available at the moment. A simple solution will be to use the PCAN-LIN module as LIN to CAN gateway, and use a CAN interface under Linux to control the forwarded LIN data.
regards
Michael
there are no direct tools or drivers for LIN under Linux available at the moment. A simple solution will be to use the PCAN-LIN module as LIN to CAN gateway, and use a CAN interface under Linux to control the forwarded LIN data.
regards
Michael
Re: LIN solution for Linux?
Hi Michael,
Thanks for the reply. Are there examples on how this would work? If I wanted to send and receive LIN messages using this PCAN-LIN module?
Thanks for the reply. Are there examples on how this would work? If I wanted to send and receive LIN messages using this PCAN-LIN module?
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: LIN solution for Linux?
Please download the manual and the PCAN-Lin Protokoll Specification.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: LIN solution for Linux?
I read the PCAN-LIN protocol definition and it looks like LIN messages can be written/read through the CAN interface.
So to be clear, would this setup work for a linux environment:
Linux computer -> PCAN-USB Pro FD -> [PCAN-LIN device] -> LIN Device
I would have to write code on the Linux side for the PCAN-USB Pro FD for this to work...is this correct?
Note* - I am using a separate Microcontroller board as the Master and the PCAN-LIN dongles as Slaves
So to be clear, would this setup work for a linux environment:
Linux computer -> PCAN-USB Pro FD -> [PCAN-LIN device] -> LIN Device
I would have to write code on the Linux side for the PCAN-USB Pro FD for this to work...is this correct?
Note* - I am using a separate Microcontroller board as the Master and the PCAN-LIN dongles as Slaves
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: LIN solution for Linux?
We talk about the PCAN-LIN Module (a stand alone Device --> LINK)
You could use the PCAN-LIN to generate a LIN master or Slave and use the CAN Part to forward/receice LIN Frames in CAN Frames. But why not directly use the PLIN Interface on a serial port in LINUX?
You could use the PCAN-LIN to generate a LIN master or Slave and use the CAN Part to forward/receice LIN Frames in CAN Frames. But why not directly use the PLIN Interface on a serial port in LINUX?
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------