主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

外设管理

R2026a
使用模块、硬件映射工具和配置参数设置配置 Infineon® AURIX™ TC3x 微控制器

在与目标硬件通信之前,首先应用模块设置、硬件配置参数和硬件映射工具设置。

模块

全部展开

Digital Port Read block iconDigital Port ReadRead GPIO pin(s) status (自 R2024a 起)
Digital Port Write block iconDigital Port WriteSet GPIO pin(s) status (自 R2024a 起)
Hardware Interrupt blockHardware InterruptTrigger downstream function-call subsystem from an interrupt service routine (自 R2022b 起)
Encoder Block iconEncoderMeasures rotation of motor in ticks (自 R2024a 起)
EVADC block iconEVADCMeasure voltage of an analog input pin (自 R2024a 起)
PWM block iconPWMGenerate pulse width modulated waveforms (自 R2024a 起)
QSPI controllerl block iconQSPI ControllerWrite data to and read data from an SPI peripheral device (自 R2024a 起)
QSPI peripheral block iconQSPI PeripheralWrite data to and read data from an SPI controller device (自 R2024a 起)
EDSADC block iconEDSADCMeasure voltage of analog input pin using delta-sigma conversion (自 R2024b 起)
SENT block iconSENTRead high-resolution sensor data over Single Edge Nibble Transmission (SENT) protocol (自 R2024b 起)
MCAN Transmit blockMCAN TransmitWrite data to CAN bus (自 R2025a 起)
MCAN Receive Block iconMCAN ReceiveRead data from CAN bus (自 R2025a 起)
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 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

工具

SoC 构建器Build, load, and execute multicore application models on Infineon AURIX TC4x hardware boards (自 R2024b 起)
硬件映射Map tasks and peripherals in a model to hardware board configurations (自 R2022b 起)
数字端口读取外设配置Map Digital Port Read peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
数字端口写入外设配置Map Digital Port Write peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
任务Map tasks in the Infineon AURIX to interrupt service routines on the hardware board (自 R2024a 起)
编码器外设配置Map encoder peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
EVADC 外设配置Map EVADC peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
PWM 外设配置Map PWM peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
QSPI 控制器外设配置Map QSPI controller peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
QSPI 外设配置Map QSPI peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2024a 起)
EDSADC 外设配置Map EDSADC peripherals in Infineon AURIX model to peripheral registers in MCU (自 R2024b 起)
SENT 配置Map data transfer over SENT protocol in the Infineon AURIX model to peripheral registers in the MCU (自 R2024b 起)
MCAN 传输外设配置Map peripherals of MCAN Transmit block in the model to peripheral registers in MCU (自 R2025a 起)
MCAN 接收外设配置Map MCAN Receive peripherals in the model to the peripheral registers in MCU (自 R2025a 起)

模型设置

主题

精选示例