Skip to main content
ab val
Associate III
Feb 9, 2018 11:11 AM UTC
Solved

STM32 and LIN

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.
    ab val
    ab valBest answer
    Associate III
    Feb 13, 2018 9:18 AM UTC
    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
    Feb 9, 2018 11:39 AM UTC
    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
    Feb 9, 2018 11:47 AM UTC
    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
    Feb 13, 2018 9:18 AM UTC
    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.