请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP430F6459-HIREL 您好!
我想生成400Hz 的 DAC 输出频率、且峰峰值电压为0.9V
提供其达到方式及任何用于改变 DAC 频率的参考代码的建议。
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.
您好!
我想生成400Hz 的 DAC 输出频率、且峰峰值电压为0.9V
提供其达到方式及任何用于改变 DAC 频率的参考代码的建议。
您好!
对于 DAC12模块、输出频率将等于更新 DAC_DATA 寄存器的频率、最大限制由代码稳定时间决定。 最接近的示例是此处显示的 DAC 电压斜坡: https://dev.ti.com/tirex/explore/node?node=A__AOZX2ikVupIUgCz0QisIHQ__msp430ware__IOGqZri__LATEST&placeholder=true
基本上、您只需要一个计时器中断即可关闭、并将 DAC 更新为您所需的频率。