Main Content

System Core

R2026b
Connect to system core peripherals such as GPIO, Hardware Interrupt, DMA

Create Simulink® models with the system core peripherals such as general purpose I/O, hardware interrupt, direct memory access (DMA), and more available with STM32™ Microcontroller Blockset. Configure the Simulink model to interface with supported target hardware using model configuration parameters.

Support for STM32 processor based boards with Simulink uses STM32CubeMX graphical tool. STM32CubeMX tool is a graphical interface that you can use to configure peripherals of STM32 processors and generate peripheral initialization code for the STM32 processors that you select. You can configure the STM32 processor based boards to use the STM32CubeMX project with Simulink to generate code and deploy the code to the hardware.

Blocks

Digital Port Write blockDigital Port WriteSet GPIO pin status
Digital Port Read blockDigital Port ReadRead GPIO pin status
Hardware Interrupt blockHardware InterruptTrigger downstream function-call subsystems from interrupt service routine

Functions

stm32setup Launch STM32 Microcontroller Blockset hardware setup interface (Since R2026a)

Topics

Featured Examples