Trying to receive LIN messages from one PLIN-USB in slave mode to a master PLIN-USB
Posted: Wed 20. Mar 2024, 16:16
Hello,
I am currently trying to create a passthrough of a LIN bus through a STM32 microcontroller. I am able to send the headers from the master PLIN-USB to the slave PLIN-USB and have the correct data published onto the frames. Once the message is complete, I see the correct message received in the buffers of my STM32 but when I transmit them, I mostly get junk at the master node.
I am not sure if its a timing issue on my part since I'm using UART, or if I am causing collisions with other frames. I am aware the master has a schedule table and I wonder if I need to be transmitting the message from the STM32 in a specific order.
My main issue is sending back the complete message to the master node, I have the correct frame in my buffers. I am just unsure of where to look for the issue. Any help would be appreciated.
I am currently trying to create a passthrough of a LIN bus through a STM32 microcontroller. I am able to send the headers from the master PLIN-USB to the slave PLIN-USB and have the correct data published onto the frames. Once the message is complete, I see the correct message received in the buffers of my STM32 but when I transmit them, I mostly get junk at the master node.
I am not sure if its a timing issue on my part since I'm using UART, or if I am causing collisions with other frames. I am aware the master has a schedule table and I wonder if I need to be transmitting the message from the STM32 in a specific order.
My main issue is sending back the complete message to the master node, I have the correct frame in my buffers. I am just unsure of where to look for the issue. Any help would be appreciated.