Main Content

Modeling

Prepare model for hardware connection using STM32 processor-based boards, add blocks to support hardware protocols

Blocks

expand all

Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
CAN ReadRead message from CAN network
CAN WriteWrite data to the CAN Bus
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
I2S Audio OutSend processed audio samples to audio devices
I2S Mic InRead audio sample from MEMS microphone available on the STM32F4xx based board
PWM OutputGenerate square waveform on enabled channels using timer module
SPI ReceiveReceive data through Serial Peripheral Interface (SPI) on target
SPI TransmitTransmit data through Serial Peripheral Interface (SPI) on target
SPI Controller TransferWrite data to and read data from SPI peripheral device
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UDP ReceiveReceive UDP packets from UDP host
UDP SendSend UDP packets to UDP host
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
CAN ReadRead message from CAN network
CAN WriteWrite data to the CAN Bus
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square waveform on enabled channels using timer module
SPI ReceiveReceive data through Serial Peripheral Interface (SPI) on target
SPI TransmitTransmit data through Serial Peripheral Interface (SPI) on target
SPI Controller TransferWrite data to and read data from SPI peripheral device
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UDP ReceiveReceive UDP packets from UDP host
UDP SendSend UDP packets to UDP host
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
Digital to Analog ConverterConfigures the DAC to generate an analog voltage on the specified DAC channel
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
FDCAN ReadRead data from CAN FD Bus
FDCAN WriteWrite data to the FDCAN Bus
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
Higher Resolution TimerGenerate high resolution pulse width modulated waveforms
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square waveform on enabled channels using timer module
SPI ReceiveReceive data through Serial Peripheral Interface (SPI) on target
SPI TransmitTransmit data through Serial Peripheral Interface (SPI) on target
SPI Controller TransferWrite data to and read data from SPI peripheral device
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
FDCAN ReadRead data from CAN FD Bus
FDCAN WriteWrite data to the FDCAN Bus
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
Higher Resolution TimerGenerate high resolution pulse width modulated waveforms
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square waveform on enabled channels using timer module
SPI ReceiveReceive data through Serial Peripheral Interface (SPI) on target
SPI TransmitTransmit data through Serial Peripheral Interface (SPI) on target
SPI Controller TransferWrite data to and read data from SPI peripheral device
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UDP ReceiveReceive UDP packets from UDP host
UDP SendSend UDP packets to UDP host
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
CAN ReadRead message from CAN network
CAN WriteWrite data to the CAN Bus
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square waveform on enabled channels using timer module
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
FDCAN ReadRead data from CAN FD Bus
FDCAN WriteWrite data to the FDCAN Bus
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square waveform on enabled channels using timer module
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
Digital Port ReadRead GPIO pin status
Digital Port WriteSet GPIO pin status
EncoderMeasure rotation of encoder in counts
Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square waveform on enabled channels using timer module
TimerStarts timer counter and provides current counter value
Timer CaptureOutput the capture compare register value
UART/USART ReadRead data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
UART/USART WriteWrite serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port
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
Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure

Topics