Skip to main content
rpoon
Associate II
November 27, 2019
Question

how to resolve LIN receive error, sync error and framing error for SPC560B54L5?

  • November 27, 2019
  • 2 replies
  • 5293 views

Hello,

I am working with lin sample driver application. I am able to send and receive data but in between lin i am getting the following error

  1. sync error
  2. rcv error due to invalid header
  3. framing error
  4. short response
  5. invalid checksum

I have done the testing with canoe by keeping spc560b in master mode .

i am attaching the screen shot, how can i resolve these errors?

Thank you

    This topic has been closed for replies.

    2 replies

    SHire.11
    Visitor II
    July 18, 2020

    Hello rpoon,

    can you able to resolve the above issue? since i am facing exactly similar issue in SPC58xx.

    It could be great if you post solution for this.

    in my understanding, LIN driver status is LIN_RX_ERROR, when Erroneous response reception such as:

    - Framing error - Overrun error - Checksum error or - Short response

    Erwan YVIN
    ST Technical Moderator
    November 16, 2023

    Hello , 

    The second screenshot seems to see the baudrate issue

    I recommend you to use the last version of SPC5Studio 

    Since 2019 , we have updated the LIN Drivers inside SPC5Studio tools suite.

       Best Regards

                      Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.