Dear team:
Below is my routine:
EALLOW;
AdccRegs.ADCPPB1CONFIG.bit.CONFIG = 0;
AdccRegs.ADCPPB2CONFIG.bit.CONFIG = 1;
AdccRegs.ADCPPB3CONFIG.bit.CONFIG = 2;
AdccRegs.ADCPPB1CONFIG.bit.TWOSCOMPEN = 0;
AdccRegs.ADCPPB2CONFIG.bit.TWOSCOMPEN = 0;
AdccRegs.ADCPPB3CONFIG.bit.TWOSCOMPEN = 0;
AdccRegs.ADCPPB1OFFCAL.bit.OFFCAL = offcal_Iv;
AdccRegs.ADCPPB2OFFCAL.bit.OFFCAL = offcal_Iv;
AdccRegs.ADCPPB3OFFCAL.bit.OFFCAL = offcal_Iv;
EDIS;
The above is the setup procedure of PPB. No matter which PPB is allocated to SOC0, i.e. CONFIG = 0, SOC0 has no offset correction, and the other two PPBs are working normally. Why is that?
