Dear TI hello,
I use this code to remove an offset,
void
vDrvadc_SetupPPBOffset(int16 aOffset, int16 bOffset, int16 cOffset)
{
/*
* PPB1 is associated with SOC1
* PPB1 will subtract OFFCAL value
* to associated SOC
* */
ADC_setupPPB(ADCA_BASE, ADC_PPB_NUMBER1, ADC_SOC_NUMBER0);
ADC_setPPBCalibrationOffset(ADCA_BASE,ADC_PPB_NUMBER1 , aOffset);
/*PPB1 is associated with SOC1
*PPB1 will subtract OFFCAL value
*to associated SOC
* */
ADC_setupPPB(ADCB_BASE, ADC_PPB_NUMBER1, ADC_SOC_NUMBER0);
ADC_setPPBCalibrationOffset(ADCB_BASE,ADC_PPB_NUMBER1 , bOffset);
/*PPB1 is associated with SOC1
*PPB1 will subtract OFFCAL value
*to associated SOC
* */
ADC_setupPPB(ADCC_BASE, ADC_PPB_NUMBER1, ADC_SOC_NUMBER0);
ADC_setPPBCalibrationOffset(ADCC_BASE,ADC_PPB_NUMBER1 , cOffset);
}
I am using the PBB to remove an offset of 48, my issue is it looks like the PBB is not activated and the offset still existing?
Thank you in advance,
S.Tarik