LIN support for STM32 microcontroller series

21 visualizaciones (últimos 30 días)
Hari
Hari el 21 de Nov. de 2025
Editada: Madhu Varshini el 3 de Dic. de 2025
Hello community, I have been working with STM32 peripherals, all peripherals are working fine, then I found out there is no support for LIN communication peripheral in MATLAB simulink. is there any way, Can I get support for the LIN communication block.

Respuesta aceptada

Madhu Varshini
Madhu Varshini el 3 de Dic. de 2025 a las 14:24
Editada: Madhu Varshini el 3 de Dic. de 2025 a las 14:24
Hi,
Currently, LIN communication support is not available as a built-in block for STM32 . However, you can create your own custom LIN communication block using the IO Device Builder app workflow. This approach allows you to define custom peripheral interfaces and integrate them into your Simulink model.

Más respuestas (1)

Sanathan
Sanathan el 26 de Nov. de 2025
Hey Hari,
Simulink has LIN Communication. The LIN communications architecture supports a single controller node and up to 16 peripheral nodes on a LIN network.
Configure the LIN node in your model as a controller or peripheral node:
  1. Configure the Target Hardware Resources tab, as described in Configure Target Hardware Resources (Embedded Coder).
  2. In the Target Hardware Resources tab, select the Peripherals tab, and then select LIN.
  3. Set LIN mode to controller or peripheral.
Refer to this link to know more - https://www.mathworks.com/help/slrealtime/lin.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by