- (43.23 KiB) Downloaded 230 times
do you want to use the PCAN-LIN as CAN to LIN gateway (LIN master) or do you just want to see the LIN traffic from an existing LIN system on CAN? Do you have a ldf of that system?
Thank you for your response. I don't have the LDF file for the system but I realized that I want to use LIN as a master. I think I am able to see the CAN frames initiate the transmission of LIN frames, but I'm not getting a response to messages I'm sending. Attached is an image of the message/scheduler TAB, and the project with current settings.
Thank you for your help.
- (43.6 KiB) Downloaded 221 times
- message and scheduler tab
- PCL.JPG (28.41 KiB) Viewed 2592 times
attached the new configuration file, where I have set the values to your ldf settings and activated the scheduler in PCAN-LIN. As soon as you will downlaod the file to the PCAN-LIN it will send the subscriber frames 0x0C (12) and 0x30 (48) and will also send the publisher frame 0x1C (28) with all data set to 0x00. If you want to change the default data, you can modify the frame config for 0x1C. If you want to change the data by CAN, please send an ID 0x5C (0x1C+0x40) with 4 databytes by CAN. The 4 bytes will than be used as publisher data for 0x1C on the LIN.
Next, please don´t send emails to our support team and post the same issue in the forum. This will just double our work and will not speedup anything!
Also, I am seeing data from the subscriber 0x30, but only if I use a scheduler, if not I don't get a response. Is there a way to communicate the the device without using the scheduler? Thank you
- Captur2e.JPG (26.48 KiB) Viewed 2573 times
yes, you can also disable the scheduler in the config and use rtr CAN frames to get the subscriber data.
in your case send publisher data with a normal CAN message:
0x1C len 4 0xXX 0xXX 0xXX 0xXX (you have to send data which makes sense for your heater!)
send subscriber frames on LIN by using rtr CAN messages (while scheduler is off):
0x30 len 8 rtr
0x0C len 8 rtr
BTW: wondering why your heater doesn´t respond on ID 0x0C as listed in the ldf
- H_PCView.JPG (23.63 KiB) Viewed 2564 times
- pg95.JPG (72.71 KiB) Viewed 2564 times