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.

TMS320F28335: ePWM模块1-6的SOCA、B均开启,ADC如果选择ePWM触发采样,它会以哪个ePWM的SOC事件为准?

Part Number: TMS320F28335

如题

  • 您好,

    请参考www.ti.com/.../sprui07.pdf
    “ADC start-of-conversion signals (EPWMxSOCA and EPWMxSOCB).
    Each ePWM module has two ADC start of conversion signals (one for each sequencer). Any ePWM
    module can trigger a start of conversion for either sequencer. Which event triggers the start of
    conversion is configured in the Event-Trigger submodule of the ePWM.”

    这意味着你可以选择任意一个ePWM模块的SOCA或SOCB事件来触发ADC采样,具体的选择取决于你的应用需求和系统设计。
    我认为不会自动默认某一个ePWM模块的SOC事件,而是由你在编程时设定哪一种ePWM的SOC事件用于触发ADC采样。

  • 有点明白了,也就是说ADC中没有选择具体某个ePWMx_SOC触发源的配置选项,而是由ePWM决定是否输出触发信号;

    那么如果按照我前面的假设,ADC配置为非连续采样时,在所有5个ePWM的SOC均开启情况下,每个SOC信号应该都会触发ADC采样转换。

    以上推论是否正确,还请麻烦指正,感谢!

  • 您好,根据上面英文手册我的理解是,每个可用的SOC信号都有可能被配置成触发ADC采样,但这并不是默认行为,需要手动配置才能生效。请您参考。

x 出现错误。请重试或与管理员联系。