I have a PCAN-LIN device that I'm setting up as a LIN master controlled by CAN RTR frames as mentioned in the how-to document. From what I understand, this appears to directly forward the exact raw data from CAN to LIN. Unfortunately, the CAN and LIN message definitions differ slightly (some have different logical/enumeration values, some have different offsets, etc.) so I can't directly forward the raw data and need to add some logic to perform data conversion in the middle. Is there a way to do this within the PCAN-LIN Config Tool, or is there a C/C++ API that we can use to flash custom software onto the PCAN-LIN device?
Thanks in advance!
LIN-CAN Gateway with Data Conversion Logic
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: LIN-CAN Gateway with Data Conversion Logic
Hello,
Thank you for your request.
This is not possible with the PCAN-LIN, the PCAN-LIN only offers
to enable a offest to IDs to be able to router between CAN and LIN, but
that is the extend of the possibilites of the PCAN-LIN.
To manipulate the data in a more involved manner you would need , for
example, a PCAN-Router (https://www.peak-system.com/PCAN-Router ... l?&L=1&l=1) that handles data manipulation on the CAN-Side,
before the CAN frame is relayed to the PCAN-LIN. The PCAN-Router allows you to freely manipulate the incoming frames to your requirements.
For more questions feel free to contact me again.
Best Regards
Marvin
Thank you for your request.
This is not possible with the PCAN-LIN, the PCAN-LIN only offers
to enable a offest to IDs to be able to router between CAN and LIN, but
that is the extend of the possibilites of the PCAN-LIN.
To manipulate the data in a more involved manner you would need , for
example, a PCAN-Router (https://www.peak-system.com/PCAN-Router ... l?&L=1&l=1) that handles data manipulation on the CAN-Side,
before the CAN frame is relayed to the PCAN-LIN. The PCAN-Router allows you to freely manipulate the incoming frames to your requirements.
For more questions feel free to contact me again.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: LIN-CAN Gateway with Data Conversion Logic
Alright thank you for the info! We'll use PCAN routers for the data manipulation on the CAN side as needed.
Thanks again for the info!
Thanks again for the info!