Hauptinhalt

Peripheral Management

R2026b
Configure Infineon® AURIX™ TC4x microcontrollers using blocks, hardware mapping tool, and configuration parameter settings

Configure block settings, hardware parameters, and Hardware Mapping tool options before communicating with the target hardware.

Blocks

expand all

Digital Port Read BlockDigital Port ReadRead GPIO pin(s) status (Since R2022b)
Digital Port Write blockDigital Port WriteSet GPIO pin(s) status (Since R2022b)
Hardware Interrupt blockHardware InterruptTrigger downstream function-call subsystem from an interrupt service routine (Since R2022b)
Encoder blockEncoderMeasures rotation of motor in ticks (Since R2022b)
PWM blockPWMGenerate pulse width modulated waveforms (Since R2022b)
QSPI blockQSPIWrite data to and read data from an SPI peripheral device (Since R2022b)
TMADC blockTMADCMeasure voltage of an analog input pin (Since R2022b)
DSADC blockDSADCMeasure voltage of analog input pin using delta-sigma conversion (Since R2023b)
SENT BlockSENTRead high-resolution sensor data over Single Edge Nibble Transmission (SENT) protocol (Since R2023b)
FCC blockFCCDetect when analog input signal crosses 10-bit threshold value (Since R2024a)
Resolver blockResolverMeasure position of resolver sensor (Since R2024a)
CDSP blockCDSPProcess output from ADC peripherals of Infineon AURIX TC4x (Since R2024a)
MCAN Transmit blockMCAN TransmitWrite data to CAN bus (Since R2024b)
MCAN Receive Block iconMCAN ReceiveRead data from CAN bus (Since R2024b)
TC4x Serial Transmit block iconSerial TransmitWrite data to the UART port (Since R2026b)
TC4x Serial Receive block iconSerial ReceiveRead data from the UART port (Since R2026b)
PIM block iconPIMMeasure period and duty cycle of a pulse width modulation (PWM) input signal (Since R2026b)
PWM Fast Shutoff Release block iconPWM fast Shutoff ReleaseRelease PWM fast shutoff and resume PWM signal generation (Since R2026b)
Byte Pack blockByte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte Unpack blockByte 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
CAN Pack blockCAN PackPack individual signals into CAN message
CAN Unpack blockCAN UnpackUnpack individual signals from CAN messages
CAN FD Pack blockCAN FD PackPack individual signals into message for CAN FD bus
CAN FD Pack blockCAN FD PackPack individual signals into message for CAN FD bus
CAN FD Unpack blockCAN FD UnpackUnpack individual signals from CAN FD messages
Block icon of ADC Interface.ADC InterfaceConvert analog signal on ADC input pin to digital signal
Block icon of PWM Interface.PWM InterfaceSimulate pulse width modulation (PWM) output from hardware
Digital I/O InterfaceDigital IO InterfaceSimulate digital input and output pins on processor
Block icon of interprocess data read.Interprocess Data ReadReceive messages from another processor using interprocess communication channel
Interprocess Data WriteSend messages to another processor using interprocessor data write
Block icon of interprocess data channel.Interprocess Data ChannelModel interprocessor data channel between two processors
Task Manager blockTask ManagerCreate and manage task executions in Simulink model
Event Source blockEvent SourceSimulate and playback recorded task events

Tools

SoC BuilderBuild, load, and execute multicore application models on Infineon AURIX TC4x hardware boards (Since R2024b)
Hardware MappingMap tasks and peripherals in a model to hardware board configurations (Since R2022b)
Digital Port Read Peripheral ConfigurationMap Digital Port Read peripherals in the Infineon AURIX model to peripheral registers in the MCU (Since R2022b)
Digital Port Write Peripheral ConfigurationMap Digital Port Write peripherals in the Infineon AURIX model to peripheral registers in the MCU (Since R2022b)
TasksMap tasks in the Infineon AURIX to interrupt service routines on the hardware board (Since R2022b)
Encoder Peripheral ConfigurationMap encoder peripherals in the Infineon AURIX model to peripheral registers in the MCU (Since R2022b)
PWM Peripheral ConfigurationMap PWM peripherals in the Infineon AURIX model to peripheral registers in the MCU (Since R2022b)
QSPI Peripheral ConfigurationMap QSPI peripherals in the Infineon AURIX model to peripheral registers in the MCU (Since R2022b)
DSADC Peripheral ConfigurationMap DSADC peripherals in Infineon AURIX model to peripheral registers in MCU (Since R2023b)
TMADC Peripheral ConfigurationMap TMADC peripherals in the Infineon AURIX model to peripheral registers in the MCU (Since R2022b)
SENT Peripheral ConfigurationMap data transfer over SENT protocol in the Infineon AURIX model to peripheral registers in the MCU (Since R2023b)
FCC Peripheral ConfigurationMap FCC peripherals in the model to peripheral registers in MCU (Since R2024a)
Resolver Peripheral ConfigurationMap resolver peripherals in model to peripheral registers in MCU (Since R2024a)
CDSP Peripheral ConfigurationMap CDSP peripherals in model to peripheral registers in the MCU (Since R2024a)
MCAN Transmit Peripheral ConfigurationMap peripherals of MCAN Transmit block in the model to peripheral registers in MCU (Since R2024b)
MCAN Receive Peripheral ConfigurationMap MCAN Receive peripherals in the model to the peripheral registers in MCU (Since R2024b)
Serial Peripheral ConfigurationConfigure Serial Transmit block and Serial Receive block peripherals (Since R2026b)
PIM Peripheral ConfigurationConfigure PIM block peripherals (Since R2026b)
PWM Fast Shutoff Release Peripheral ConfigurationMap PWM block to PWM Fast Shutoff Release block in the Infineon AURIX model (Since R2026b)

Topics

Featured Examples