Contenu principal

Custom Data Communication

Custom data communication between STM32 processors and other devices

Efficiently pack data for transmission and interpret received data for reliable communication between STM32 processors and other devices. Use the blocks to create and manage custom communication formats for STM32 processors to exchange information accurately with external devices.

Blocks

Byte PackConvert input signals to uint8 vector
Byte Unpack Convert uint8 vector to input signals
Byte ReversalReverse order of bytes in input word
CAN PackPack individual signals into CAN message
CAN UnpackUnpack individual signals from CAN messages
CAN FD PackPack individual signals into message for CAN FD bus
CAN FD UnpackUnpack individual signals from CAN FD messages
Memory CopyCopy data from and to memory section
Idle TaskCreate free-running task (Since R2024a)
Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure (Since R2023a)
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure (Since R2023a)
Execution ProfilerProfile execution time of functions using either DWT Timer, GPIO or Timer measurement modes (Since R2025a)
Register Read/WriteRead from or write to various bit fields of STM32 registers (Since R2026a)

Topics

Featured Examples