Need support for using PCAN Pro send a LIN message

LIN Interface for USB
Post Reply
hiepnguyen248
Posts: 1
Joined: Mon 15. Jul 2024, 17:57

Need support for using PCAN Pro send a LIN message

Post by hiepnguyen248 » Mon 15. Jul 2024, 18:16

Dear Sirs,

First of all, thank you for your supporting,

I'm new in automotive domain and new with CAN/LIN bus, sorry for that.
Now I'm using a PCAN USB PRO FD to simulate to send a LIN message for Airbag signal to Telematics MCU.
I'm trying to use PLIN-View Pro to do that, I'm able to Start and Initialize PLIN-View Pro, like attachment 1

But I see that the Bus is Sleep, I when I try to transmit a LIN message by manual with master mode, I check that there is an error response:SlaveNotResponding, Timeout.
So I would as expert about this case, what I have done wrong way, what is frame id for airbag signal, what I point I need to check to complete this case.

Thank you so much,
Hiep
Attachments
Screenshot 2024-07-15 231531.png
Screenshot 2024-07-15 231531.png (100.15 KiB) Viewed 1725 times

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Need support for using PCAN Pro send a LIN message

Post by M.Heidemann » Tue 16. Jul 2024, 09:53

Hello,

The behavior you are currently seeing is to be expected, as the LIN-Bus will sleep until a message comes in. If the expected timeout is exceeded the bus will return to sleep.

There is most likely a LDF-file available for your MCU, which you should load in PLIN-View Pro. This File describes all valid frames in this LIN-Configuration.

Also, publishing a frame as master will not invoke a response from the slave-nodes. In this case you want to use a subscriber-frame, which will subscribe your node to a specific frame.

The slave-nodes on the bus will only respond to the frame-ID they are configured to, as defined in the LDF-file. Once a subscriber-frame header has been sent by the master-node the slave-node should respond with their designated response, as defined in the LDF-file.

If you have the frame definitions but no LDF file we can help you to establish your setup, however you will need fram definitions as otherwise this will be a shot in the dark.

Let us know if you have more info for us so we can help you set up your Lin-Config.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply