Hello, I'm learning about the UCD3138's hard-switched full-bridge firmware.
I have some problems with void init_loop_mux(void){}.
Void init_loop_mux(void)
{
LoopMuxRegs.FILTERKCOMPA.bit.KCOMP0 = (3 * pmbus_dcdc_config[0].period) >> 6;
LoopMuxRegs.FILTERKCOMPA.bit.KCOMP1 = 6000; //(1<<13); //In 4ns //
LoopMuxRegs.FILTERKCOMPB.bit.KCOMP2 = pmbus_dcdc_config[0].period >> 4;/
}
I know the above program is multiplied by the coefficient KCompx in filter YN,
but I do not know why Kcomp0 is equal to (3*pmbus_dcdc_config[0].period) >> 6, Kcomp1 is equal to 6000, KCOMP2 is equal to pmbus_dcdc_config[0].period >> 4,
How is the specific value obtained?