请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:UCD3138 工具与软件:
尊敬的 TI 专家:
e2e.ti.com/.../UCD3138-Control-Theory-20111027a-_5B00_1_5D00_.pdf
本文档第41页的 NOS 和 SC 与哪个寄存器相对应?
谢谢你。
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.
工具与软件:
尊敬的 TI 专家:
e2e.ti.com/.../UCD3138-Control-Theory-20111027a-_5B00_1_5D00_.pdf
本文档第41页的 NOS 和 SC 与哪个寄存器相对应?
谢谢你。
尊敬的 Parrish:
控制理论文档中提到的 NOS 和 SC 代表 TRM 中的以下详细信息。
NOS 在 DPWMCTR2寄存器中(5-4)。 SC 在 FILTERCTRL 寄存器(11-9)中定义。
示例:
nos:过采样数: Dpwm0Regs.DPWMCTRL2.bit.sample_TRIG1_OVERSAMPLE = 1;//过采样2 (位= 5-4)
SC =输出(Yn)缩放:filter1Regs.FILTERCTRL.bit.output_scale =-3;//将滤波器输出左移3位(位= 11-9)
此致
Hemanth