This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS320F28379D:如何读取从 ePWM 模块生成的 PWM 状态

Guru**** 2553450 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1298923/tms320f28379d-how-to-read-pwm-states-generated-from-epwm-modules

器件型号:TMS320F28379D

您好!

目前、我正在研究一个使用 F28379d launchpad 进行电机驱动控制的项目。

我正在使用  ePWM 模块 生成 PWM 信号。 MATLAB/Simulink我要编程的位置。 为了用于将来的计算、记录我的 PWM 信号。 本文所述 (https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1168314/tms320f28379d-list-of-registers-and-memory-addresses-to-be-used-for-memory-copy-block ),试图复制 TBCTR 寄存器重构 PWM 信号。 然而、存储器复制没有为我提供正确的 TBCTR 值。 正在使用 10kHz/1e-4秒的 PWM 周期。 是否可以 GPIO 数据寄存器读取开关状态?  我的目标是 访问我的开关状态(PWM 信号) 以进行进一步 处理

不胜感激。

谢谢