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.

[参考译文] TMS570LS1224:无法在 launchpad 中触发 ADC 通知

Guru**** 2539130 points
Other Parts Discussed in Thread: HALCOGEN, TMS570LS1224

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1057142/tms570ls1224-unable-to-trigger-adc-notification-in-the-launchpad

器件型号:TMS570LS1224
主题中讨论的其他器件:HALCOGEN

您好!

我已在 halcogen 配置中启用了用于 ADC 通知的 RTI 和 ePWM。 我可以在 RTI 通知函数中看到 RTI 中断被触发,但我看不到 ADC 通知是由 ePWM 事件触发的。 我们正在尝试不使用 RTOS 选项。

我正在尝试在 ADC 通知中读取 ADC 值。  

以下是代码 init 和 while 循环。