Skip to main content
in mozbek we trust
Associate III
September 6, 2018
Question

LIN BUS RECEIVE INTERRUPT

  • September 6, 2018
  • 5 replies
  • 1914 views

Hey there,

I can finally send lin messages from stm32. But now i want to receive and handle received LIN messages. But in datasheet of mcu says receiving is totaly independent from normal usart receiver.

I can not find any example to receive interrupt. Does anyone know how to handle receiving LIN messages.

I use mcu as : stm32f091cc

my transmitter is : peak device and plin viewer api.

Regards

    This topic has been closed for replies.

    5 replies

    T J
    Senior III
    September 6, 2018

    are you receiving the Lin frame into the DMA buffer ?

    how long is the normal frame ? maximum ? minimum ?

    in mozbek we trust
    Associate III
    September 6, 2018

    No i have no idea on it. I just try enable USART interrupts but it didnt worked. Should i use DMA buffer.

    cflor
    Visitor II
    November 25, 2018

    hi i can obtain message for NVIC interrupt using protocol UART/USART i am using stm32f3 (slave), stm32f7 (master) node 0690X000006CTOeQAO.png

    transceiver is mcp2021

    in mozbek we trust
    Associate III
    November 28, 2018

    hey i also solve this problem if you have any problem i can help you

    Samuel1
    Associate III
    March 23, 2019

    @in mozbek we trust​ did you use HAL-function ? i am stucking there because STM32F4 has just 11 bit brak field