Hello
I am learning the UCD3138 full-bridge hard switch development board firmware
I have some questions about void init_front_end0(void)
void init_front_end0(void)
{
FeCtrl0Regs.EADCCTRL.bit.AFE_GAIN = 3;
}
I know this sentence is to set the AFE's gain to 8 and the Measurement Resolution to 1mv,
but I'm not sure why the gain is set to 8, not 4, 2, and 1. Why is this? What factors determine the gain and Measurement Resolution.