Page 1 of 1

Support sending LIN message via CAN

Posted: Wed 9. Oct 2019, 10:11
by nehalorn
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.

Re: Support sending LIN message via CAN

Posted: Wed 9. Oct 2019, 10:24
by M.Maidhof
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

Re: Support sending LIN message via CAN

Posted: Wed 9. Oct 2019, 11:08
by nehalorn
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.

Re: Support sending LIN message via CAN

Posted: Wed 9. Oct 2019, 11:48
by M.Maidhof
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