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.

TMS320F28067: ADC accuracy w/wo ADCINTSOCSEL2

Part Number: TMS320F28067


Hi,


We faced one issue about ADC accuracy, the same configuration, with only one difference on register ADCINTSOCSEL2.


When ADCINTSOCSEL2=0, SOC8's accuracy is not good. When keeping the value ADCINTSOCSEL2 after offset calibration function (AdcOffsetSelfCal()), SOC8 accuracy is good. What could be the issue?


Here are more details:


1) PWM triggers ADC's SOC, after conversion, ADC interrupt initiate.
2) Totally 16 SOCs are triggered, SOC0~7 are by PWM, SOC8~15 are by PWM or by ADCINT, depending on ADCINTSOCSEL2.

3) ADCINTSOCSEL2=0, it's placed after offset calibration.

4) Others are totally the same.

My understanding is, offset is calculated inside AdcOffsetSelfCal(), with ADCINTSOCSEL2=0x5555. This offset maybe not the same for ADCINTSOCSEL2=0.

Thanks a lot.

Br, Jordan

  • Jordan,

    Changing the ADCINTSOCSEL2 register value can result in significantly different system behavior.

    Can you describe the desired ADC behavior and attach the ADC initialization code snippets?

    -Tommy