LIN support for STM32 microcontroller series

39 Ansichten (letzte 30 Tage)
Hari
Hari am 21 Nov. 2025 um 6:31
Bearbeitet: Madhu Varshini am 3 Dez. 2025 um 14:24
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.

Akzeptierte Antwort

Madhu Varshini
Madhu Varshini am 3 Dez. 2025 um 14:24
Bearbeitet: Madhu Varshini am 3 Dez. 2025 um 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.

Weitere Antworten (1)

Sanathan
Sanathan am 26 Nov. 2025 um 9:23
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