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.

TMS320F28377D: Offset correction soc0 is unresponsive

Genius 3095 points
Part Number: TMS320F28377D


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?