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.

[参考译文] LP-MSPM0L1306:如何使用周期性计时器#39;s 零事件来触发 ADC 单通道单次转换

Guru**** 2394015 points
Other Parts Discussed in Thread: MSPM0L1306

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1463266/lp-mspm0l1306-how-to-use-periodic-timer-s-zero-event-to-trigger-adc-single-channel-single-conversion

器件型号:LP-MSPM0L1306
主题中讨论的其他器件:MSPM0L1306

工具与软件:

我使用示例 adc12_triggered_by_timer_event_lp_MSPM0L1306_nortos_ticlang、并修改一些配置。 我 想使用周期性计时器的零事件来触发 ADC 单通道单次转换、但 它不起作用。 下面是我的设置     .. ADC 中断只工作一次、我想它是由 init 函数触发的(

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

    是、在单通道-单次转换之后 ENC 位自动清零。 您必须在下一个计时器零事件发生之前使用 DL_ADC12_enableConversions ()重新启用 ADC。  您可以在 ADC12 ISR 中或在主 while 环路中执行此操作。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    非常感谢、这在理论上解决了我的困惑。