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.

[参考译文] TMS320F280025C:使用 Simulink、通过输入端口配置 ePWMx TBPHS 不起作用、但使用对话框会起作用

Guru**** 2430620 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1119337/tms320f280025c-using-simulink-configuring-the-epwmx-tbphs-via-input-port-does-not-work-but-using-dialog-box-does

器件型号:TMS320F280025C
我使用 Simulink 嵌入式编码器在 F280025C LaunchPad 上使用 ePWM1-ePWM4。 所有 PWM 均为50%占空比、200kHz 且同步。
我希望能够控制 ePWM3和 ePWM4的相移。 我可以通过使用 TBPHS 对话框配置 ePWM3和 ePWM4来获得相移。 但是、当我将 TBPHS 设置为由输入端口设置时、无论我在输入端口提供什么值、我都不会得到任何相移。
是否还有其他需要配置才能使用输入的东西? 谢谢!