LIN support for STM32 microcontroller series
39 views (last 30 days)
Show older comments
Hari
on 21 Nov 2025 at 6:31
Edited: Madhu Varshini
on 3 Dec 2025 at 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.
0 Comments
Accepted Answer
Madhu Varshini
on 3 Dec 2025 at 14:24
Edited: Madhu Varshini
on 3 Dec 2025 at 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.
0 Comments
More Answers (1)
Sanathan
on 26 Nov 2025 at 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:
- Configure the Target Hardware Resources tab, as described in Configure Target Hardware Resources (Embedded Coder).
- In the Target Hardware Resources tab, select the Peripherals tab, and then select LIN.
- Set LIN mode to controller or peripheral.
For configuring LIN, refer to this - https://www.mathworks.com/help/ti-c2000/ug/configuring-lin-communications.html
For more details on LIN communication peripheral - https://www.mathworks.com/help/ti-c2000/communication.html?s_tid=srchtitle_support_results_1_LIN+communication+peripheral
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!