主要内容

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

外设管理

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

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

模块

全部展开

Digital Port Read BlockDigital Port ReadRead GPIO pin(s) status (自 R2022b 起)
Digital Port Write blockDigital Port WriteSet GPIO pin(s) status (自 R2022b 起)
Hardware Interrupt blockHardware InterruptTrigger downstream function-call subsystem from an interrupt service routine (自 R2022b 起)
Encoder blockEncoderMeasures rotation of motor in ticks (自 R2022b 起)
PWM blockPWMGenerate pulse width modulated waveforms (自 R2022b 起)
QSPI blockQSPIWrite data to and read data from an SPI peripheral device (自 R2022b 起)
TMADC blockTMADCMeasure voltage of an analog input pin (自 R2022b 起)
DSADC blockDSADCMeasure voltage of analog input pin using delta-sigma conversion (自 R2023b 起)
SENT BlockSENTRead high-resolution sensor data over Single Edge Nibble Transmission (SENT) protocol (自 R2023b 起)
FCC blockFCCDetect when analog input signal crosses 10-bit threshold value (自 R2024a 起)
Resolver blockResolverMeasure position of resolver sensor (自 R2024a 起)
CDSP blockCDSPProcess output from ADC peripherals of Infineon AURIX TC4x (自 R2024a 起)
MCAN Transmit blockMCAN TransmitWrite data to CAN bus (自 R2024b 起)
MCAN Receive Block iconMCAN ReceiveRead data from CAN bus (自 R2024b 起)
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

工具

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 (自 R2022b 起)
数字端口写入外设配置Map Digital Port Write peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
任务Map tasks in the Infineon AURIX to interrupt service routines on the hardware board (自 R2022b 起)
编码器外设配置Map encoder peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
PWM 外设配置Map PWM peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
QSPI 外设配置Map QSPI peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
DSADC 外设配置Map DSADC peripherals in Infineon AURIX model to peripheral registers in MCU (自 R2023b 起)
TMADC 外设配置Map TMADC peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
SENT 外设配置Map data transfer over SENT protocol in the Infineon AURIX model to peripheral registers in the MCU (自 R2023b 起)
FCC 外设配置Map FCC peripherals in the model to peripheral registers in MCU (自 R2024a 起)
Resolver 外设配置Map resolver peripherals in model to peripheral registers in MCU (自 R2024a 起)
CDSP 外设配置Map CDSP peripherals in model to peripheral registers in the MCU (自 R2024a 起)
MCAN 传输外设配置Map peripherals of MCAN Transmit block in the model to peripheral registers in MCU (自 R2024b 起)
MCAN 接收外设配置Map MCAN Receive peripherals in the model to the peripheral registers in MCU (自 R2024b 起)

模型设置

主题

精选示例