Skip to main content
ab val
Associate III
February 9, 2018
Solved

STM32 and LIN

  • February 9, 2018
  • 3 replies
  • 2436 views
Posted on February 09, 2018 at 12:11

Hi,

Did someone work on implementing a LIN communication with a STM32?

I can't find code example on ST. 

A.

    This topic has been closed for replies.
    Best answer by ab val
    Posted on February 13, 2018 at 09:18

    Thanks for your response. 

    I build my own LIN stack. I thought it would be harder to develop. 

    3 replies

    AvaTar
    Senior III
    February 9, 2018
    Posted on February 09, 2018 at 12:39

    I don't know any.

    LIN is widespread in the automotive industry, which is not commonly known for a willingness to share.

    Perhaps drop the 'STM32' from the search string...

    Szymon PANECKI
    Senior III
    February 9, 2018
    Posted on February 09, 2018 at 12:47

    Hello,

    STM32 MCUs support LIN in hardware layer. USART interfaces are equipped with features, that allow to implement LIN communication. These are LIN master synchronous break send capability and LIN slave break detection capability. 

    However according to my knowledge ST doesn't provide a software package for LIN.

    Complete LIN solution is available for STM8 MCUs, as some of them (STMA series) have automotive grade. This package is named

    http://www.st.com/en/embedded-software/stsw-stm8a-lin.html

    .

    Regards

    Szymon

    ab val
    ab valAuthorBest answer
    Associate III
    February 13, 2018
    Posted on February 13, 2018 at 09:18

    Thanks for your response. 

    I build my own LIN stack. I thought it would be harder to develop.