Modeling
Blocks
STM32F4xx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
CAN Read | Read message from CAN network |
CAN Write | Write data to the CAN Bus |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
I2S Audio Out | Send processed audio samples to audio devices |
I2S Mic In | Read audio sample from MEMS microphone available on the STM32F4xx based board |
PWM Output | Generate square waveform on enabled channels using timer module |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target |
SPI Controller Transfer | Write data to and read data from SPI peripheral device |
TCP Receive | Receive data over TCP/IP network from remote host |
TCP Send | Send data over TCP/IP network to remote host |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UDP Receive | Receive UDP packets from UDP host |
UDP Send | Send UDP packets to UDP host |
STM32F7xx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
CAN Read | Read message from CAN network |
CAN Write | Write data to the CAN Bus |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target |
SPI Controller Transfer | Write data to and read data from SPI peripheral device |
TCP Receive | Receive data over TCP/IP network from remote host |
TCP Send | Send data over TCP/IP network to remote host |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UDP Receive | Receive UDP packets from UDP host |
UDP Send | Send UDP packets to UDP host |
STM32G4xx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
FDCAN Read | Read data from CAN FD Bus |
FDCAN Write | Write data to the FDCAN Bus |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
Higher Resolution Timer | Generate high resolution pulse width modulated waveforms |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target |
SPI Controller Transfer | Write data to and read data from SPI peripheral device |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
STM32H7xx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
FDCAN Read | Read data from CAN FD Bus |
FDCAN Write | Write data to the FDCAN Bus |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
Higher Resolution Timer | Generate high resolution pulse width modulated waveforms |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target |
SPI Controller Transfer | Write data to and read data from SPI peripheral device |
TCP Receive | Receive data over TCP/IP network from remote host |
TCP Send | Send data over TCP/IP network to remote host |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UDP Receive | Receive UDP packets from UDP host |
UDP Send | Send UDP packets to UDP host |
STM32L4xx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
CAN Read | Read message from CAN network |
CAN Write | Write data to the CAN Bus |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
STM32L5xx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
FDCAN Read | Read data from CAN FD Bus |
FDCAN Write | Write data to the FDCAN Bus |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
STM32WBxx Based Boards
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal |
Digital Port Read | Read GPIO pin status |
Digital Port Write | Set GPIO pin status |
Encoder | Measure rotation of encoder in counts |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module |
Timer | Starts timer counter and provides current counter value |
Timer Capture | Output the capture compare register value |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port |
Utilities Blocks
Byte Pack | Convert input signals to 8-, 16-, or 32-bit vector |
Byte Unpack | Unpack 8-, 16-, or 32-bit input vector to multiple output vectors |
Byte Reversal | Reverse little-endian data for big-endian processor |
Memory Copy | Copy to and from memory section |
Protocol Encoder | Encode input data into a uint8 byte stream by specifying the packet structure |
Protocol Decoder | Decode a uint8 byte stream by specifying the packet structure |
Topics
- Configure STM32 Processor-Based Boards using STM32CubeMX with Simulink
Configure the STM32 Processors-Based Boards to use STM32CubeMX project with Simulink.
- Configure Ethernet Options in STM32CubeMX for STM32 Processor Based Boards
Ethernet configuration in STM32CubeMX project.
- Set Up Scheduling Options for STM32 Processor-Based Boards
Setting up scheduling options for STM32 processor based boards.
- Use SoC Blockset Pass-Through Block Simulation
Use the SoC Blockset™ block pass through to add simulation to STM blocks.
Featured Examples
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)