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.

[参考译文] CCS/UCD3138PFCEVM-026:8倍过采样

Guru**** 670150 points
Other Parts Discussed in Thread: UCD3138064A, UCD3138128A, UCD3138A, UCD3138
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/868464/ccs-ucd3138pfcevm-026-8x-oversampling

器件型号:UCD3138PFCEVM-026
主题中讨论的其他器件:UCD3138064AUCD3138128AUCD3138A64AUCD3138AUCD3138

工具/软件:Code Composer Studio

在以下代码中、

"3"是否意味着2^3?  (SAMPLE_TRIG1_oversample = 3)

如果用 ‘1’或 ‘2’替换‘3’,,将会有2倍过采样或4倍过采样?

绿线表示 UCD3138PFCEVM_026可实现8倍过采样?

#endif //((UCD3138A=1)||(UCD3138064A==1)||(UCD3138A64A==1)||(UCD3138128A==1))
Dpwm1Regs.DPWMCTRL0.bit.PWM_MODE = 2;//多模式
// Dpwm1Regs.DPWMCTRL2.bit.sample_TRIG1_oversample = 3;//8X 过采样。
Dpwm1Regs.DPWMCTRL1.bit.EVENT_UP_SEL = 1;//在周期结束时更新
#endif

希望您能提供帮助,谢谢。