请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F28379D 我想在使用 DAC 生成 ePWM 时看到三角载波。 如何将 PWM 计数器寄存器值写入 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.
我想在使用 DAC 生成 ePWM 时看到三角载波。 如何将 PWM 计数器寄存器值写入 DAC 输出寄存器。
您好 Saran、
[引用 userid="411031" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1038647/tms320f28379d-how-to-write-pwm-counter-register-value-tbctr-into-dac-output-register "]如何将 PWM 计数器寄存器值写入 DAC 输出寄存器。[/quot]您需要以周期速率将 TBCTR 的值写入 DACVALS 12位寄存器。 要以周期速率写入 TBCTR 值、您可以使用 CPU 中断 或 DMA。
此致、
Marlyn