cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 and LIN

ab val
Associate III
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.

1 ACCEPTED SOLUTION

Accepted Solutions
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. 

View solution in original post

3 REPLIES 3
AvaTar
Lead
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
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

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.