Modeling

Prepare model for hardware connection, add blocks to support hardware protocols

Blocks

expand all

GPIO ReadRead GPIO pin status
GPIO WriteSet GPIO pin status
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
Audio OutSend processed audio samples to audio devices
Mic InRead audio sample from MEMS microphone available on the STMicroelectronics STM32F4–Discovery board
Hardware InterruptTrigger the downstream function-call subsystem from an interrupt service routine.
Analog InputMeasure voltage of analog input pin
Digital ReadRead logical state of digital input pin
Digital WriteSet logical state of digital output pin
I2C Master ReadRead data from I2C slave device or I2C slave device register
I2C Master WriteWrite data to I2C slave device or I2C slave device register
PWM OutputGenerate square wave on the specified output pin
SCI ReadRead N-by-1 array of data on UART
SCI WriteSend N-by-1 array of data to UART
SPI Master TransferWrite data to and read data from SPI slave device
SPI Register ReadRead data from SPI slave device register
SPI Register WriteWrite data to registers of SPI slave device
Audio InputRead audio sample from audio devices on STMicroelectronics STM32F746G/STM32F769I–Discovery board
Audio OutputSend processed audio samples to audio devices on STMicroelectronics STM32F746G/STM32F769I–Discovery board
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
UDP ReceiveReceive UDP packets from UDP host
UDP SendSend UDP packets to UDP host
Byte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte UnpackUnpack 8-, 16-, or 32-bit input vector to multiple output vectors
Byte ReversalReverse little-endian data for big-endian processor
Memory CopyCopy to and from memory section

Topics

Open Block Library for STMicroelectronics Discovery Boards

Open Block Library Discovery™ Boards Processor

Configure Network Settings for STMicroelectronics Discovery Boards Ethernet Resource

Configure network settings for STMicroelectronics® Discovery Boards Ethernet resource.

Model Configuration Parameters for STMicroelectronics STM32F4-Discovery Board

Parameter and configuration options for creating and running applications on the target hardware.

Model Configuration Parameters for STMicroelectronics STM32F746G-Discovery Board

Parameter and configuration options for creating and running applications on the target hardware.

Model Configuration Parameters for STMicroelectronics STM32F769I-Discovery Board

Parameter and configuration options for creating and running applications on the target hardware.

Log Signals on SD Card

Log signals from Simulink® models on an SD card mounted on the target hardware

Featured Examples