Model based Embedded development with Microcontrollers

Jerry on 10 Jul 2025
Latest activity Reply by Vinod on 11 Jul 2025

Is it possible to create a Simulink model that is independent of specific microcontrollers?
For example, in the model, the STM32 block is used for CAN transmission. But if I want to deploy the same model to an Arduino, I have to replace the STM32 block with an Arduino-compatible one.
So, is it possible to create a custom block or abstraction that works across multiple microcontrollers like STM32, PIC32, and Arduino without changing the hardware-specific block each time?
Vinod
Vinod on 11 Jul 2025
I believe you can use the Arduino Support Package, without needing to develop custom blocks. See this example.

Tags

No tags entered yet.