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.

[参考译文] TMS320F28035:TMS320F28035 (56PIN)芯片的 ADCINA4\ADCINA6\ADCINA7 ADC 引脚是否可以检测上升沿或下降沿脉冲以触发中断并对脉冲进行计数?

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

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1339759/tms320f28035-can-the-adcina4-adcina6-adcina7-adc-pins-of-the-tms320f28035-56pin-chip-detect-the-rising-edge-or-falling-edge-pulse-to-trigger-the-interrupt-and-count-the-pulse

器件型号:TMS320F28035
主题中讨论的其他器件:C2000WARE

主要用于解码三相霍尔传感器的输出信号(方波占空比50%)。

ADC 引脚可以触发中断、也可以触发 GPIO 引脚吗?

它们的触发方式是否有差异?

是否有使用 ADC 引脚进入中断的过程?

感谢您的回答!

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

    Andy、您好!

    Unknown 说:
    它们触发方式有什么区别吗?

    ADC 和 GPIO 中断都运行为中断、唯一的区别是 造成中断的原因。 中断利用外设中断扩展(PIE)架构、允许来自不同外设的中断。 有关更多信息、请参阅 参考手册中的第1.6节"外设中断扩展(PIE)"。

    Unknown 说:
    是否有使用 ADC 引脚进入中断的步骤?

    是的、在为 要使用的 ADC SOC 配置采样保持窗口和其他设置之后、您可以 使用 ADC INTSEL 寄存器配置中断、并执行与 GPIO 引脚中断相同的 ISR 配置步骤。 请参阅 C2000Ware_5_01_00_00\device_support\f2803x\examples\c28\adc_soc 中的 示例 Example_2803xAdcx。