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.

ADC self calibration AdcOffsetSelfCal()

Other Parts Discussed in Thread: TMS320F28032

Hi

 i have a question about AdcOffsetSelfCal() if i use external reference do i have to set  

AdcRegs.ADCCTL1.bit.ADCREFSEL = 1;

Or is the selfcalibration always done with the internal BG ?

thx

S.Fischer

  • Hi Stefan,

    For external reference you've to use 

    01 - External reference, 2.048 V on ADCREFIN
    10 - External reference, 1.500 V on ADCREFIN
    11 - External reference, 1.024 V on ADCREFIN

    if you don't mention ADCREFIN value, by default 00 - Internal reference (default) is selected.

    Do refer: SPRU716D for more info.

    Regards,

    Gautam

  • I should have mentioned that i use the TMS320F28032 which has only a 3.3V external Reference. 

    so which should i use in the calibration Routine Internal or external Reference? 

     

  • Hi Stefan,

    Internal/external reference shouldn't make very much if any difference for offset, but I would nevertheless recommend that you setup your ADC as you intend to use it before using self-calibration as a best-practice. You should therefore setup the ADC in external reference mode and also set the clock as you intend to use it, set overlap mode as you plan to use it, and any other configurations as you intend to use them.