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.

[参考译文] TMS320F28388D:使用 GPIO-14作为来自 ECAP1的捕获事件的触发器

Guru**** 2391025 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1479626/tms320f28388d-using-of-gpio-14-as-trigger-for-capture-event-from-ecap1

器件型号:TMS320F28388D
Thread 中讨论的其他器件:C2000WARE

工具与软件:

您好!

我尝试使用 GPIO 引脚的上升沿作为 ECAP1捕获中断的触发器。

我认为、可将 XBAR 输入直接路由至 ECAP。

是否需要更改 GPIO 寄存器中的某些内容、或者仅更改 ECAP 和 XBAR?

如果我对其理解正确、那么 GPIO14是一个输入引脚、不是 XBAR 输出、不是吗?

 GPIO_setPinConfig (GPIO_14_OUTPUTXBAR3);                                                    //GPIO = Normale I/O

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

    尊敬的 Markus:  

    请参阅 C2000 ware 中的 ECAP 示例2 (C:\ti\c2000\C2000Ware_5_04_00_00\driverlib\f28p65x\examples\c28x\ecap)

    这会进行类似的要求:

    此致、

    Uttam Reddy Pailla