Support sending LIN message via CAN

RS-232 to CAN/LIN Interface
Post Reply
nehalorn
Posts: 2
Joined: Wed 9. Oct 2019, 09:49

Support sending LIN message via CAN

Post by nehalorn » Wed 9. Oct 2019, 10:11

Hi,

I am trying to send "DC 80 9E FF 19 3 0 0" on LIN ID "0x11" to set up a LIN device. In addition i need to receive data from LIN ID "0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28". I am trying to transmit and receive the data using a CAN network. I have attached the configuration I am using. I am receiving all the LIN messages being transmitted from the LIN device on the CAN network. I have tried transmitting the message from the id "0x11 and 0x51" via the CAN network, but the lin device is unable to receive the message. I have tried scheduler, frame configuration and even sending CAN message on id "0x51" but haven't been able to go through with the transmission. Any support would be appreciated.
Attachments
N.pclin
(61.64 KiB) Downloaded 449 times

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Support sending LIN message via CAN

Post by M.Maidhof » Wed 9. Oct 2019, 10:24

Hi,

your configuration with active scheduler looks ok. ID 0x11 is defined as publisher and should be published with the scheduler. Please check your timing again, perhaps the 10ms are too fast for your LIN node. What scheduler timing is defined in your ldf?

regards

Michael

nehalorn
Posts: 2
Joined: Wed 9. Oct 2019, 09:49

Re: Support sending LIN message via CAN

Post by nehalorn » Wed 9. Oct 2019, 11:08

Hi Michael,

I am waiting to have confirmation on the timing. Could kindly have a look at the attached file. I am getting some error messages. Would this have anything to do with the issue. I have confirmed the bit rate for both CAN and LIN.
Attachments
Capture123.PNG
Capture123.PNG (97.6 KiB) Viewed 4852 times

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Support sending LIN message via CAN

Post by M.Maidhof » Wed 9. Oct 2019, 11:48

Hi,

this looks like a wrong frame length setting. Please check your ldf and set the framelength of each ID to the needed value.

regards

Michael

Post Reply