大家好,问个很笨的问题。 如题, 在无输入采样的情况下,UCD3138能否自动发波 固定占空比的DPWM? 能否具体指点下 谢谢
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.
谢谢那是不是这样的,
void init_filter1(void)
{
copy_coefficients_to_filter(&Filter1Regs, &filter1_pmbus_regs);
Filter0Regs.FILTERCTRL.bit.OUTPUT_MULT_SEL = 0; //use KCOMP for scaling.
Filter1Regs.FILTERCTRL.bit.FILTER_EN = 1;
Filter1Regs.FILTERCTRL.bit.USE_CPU_SAMPLE = 1;
}
还有需不需要加这句呢? Filter1Regs.CPUXN.bit.CPU_SAMPLE = -34;