主要内容

本页采用了机器翻译。点击此处可查看最新英文版本。

控制外设

R2026a
配置和使用控制外设,例如 PWM、eCAP、eQEP、SDFM 等。

使用 TI 的 C2000™ 微控制器上可用的控制外设(如 PWM、eCAP、eQEP、SDFM 等)创建 Simulink® 模型。使用模型配置参数配置 Simulink 模型以与支持的目标硬件对接。您可以使用硬件映射工具将模型中的任务和外设映射到硬件板配置。这些模块是特定于处理器的,并非在所有 TI 的 C2000 微控制器上都可用。

模块

全部展开

C281x PWM blockePWM Type 0Pulse width modulators (PWMs)
ePWM BlockePWM Type 1-4Generate enhanced Pulse Width Modulated (ePWM) waveforms
C28x eCAP blockC28x eCAPReceive and log transitions on capture input pin or configure auxiliary pulse width modulator
C28x eQEP blockC28x eQEPQuadrature encoder pulse block used to derive position, direction, and speed
C281x QEP blockC281x QEPQuadrature encoder pulse circuit
HRCAP BlockHRCAPCapture pulse width in normal or high resolution modes for F2803x and F2806x processors (自 R2023b 起)
F2807x/F2837xD/F2837xS/F28004x/F2838x SDFM blockF2807x/F2837xD/F2837xS/F28004x/F28003x/F2838x SDFMConfigure filter channel for SDFM Module

工具

硬件映射将模型中的任务和外围设备映射到硬件板配置 (自 R2022b 起)

主题

疑难解答

External Interrupt Workflow for Texas Instruments C2000 Processors

This topic helps you with the workflow for external interrupts.

Troubleshoot SDFM Operation Issues

Resolve issues when the Sigma-Delta Filter Module (SDFM) on a TI C2000 device does not produce the expected output while interfacing with an external Sigma-Delta Modulator (SDM), such as the AMC1304EVM.

精选示例