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.

TMS570LS1227: Is ADC Calibration required prior to running each Self Test?

Part Number: TMS570LS1227

Hi,

In SL_SelfTest_ADC() of the SAFETI Diagnostic library, to check the pin status ("testType" variable set to ADC_SELFTEST_ALL), prior to reading Vd, Vu and Vn (as specified in the reference manual SPNU515C), the following steps are carried out:

1. Self Test Reference Voltages ADREFHI and ADREFLO are read

2. SL_adcCalibration() is called to calibrate the ADC

Are the above steps required prior to each self-test? Or can they be carried out once on startup with the reference voltage values (ADREFHI and ADREFLO) read and stored for subsequent self-tests?

We plan to carry out periodic self-tests of the ADC channels. Would this cause an issue? If no, is there a minimum recommended interval for periodic execution of these self-tests?

Would appreciate your thoughts on the matter.

Thanks and Regards,

Vimal

  • Hi Vimal,

    We started working on your thread and we will provide an update soon.

    --
    Thanks & regards,
    Jagadish.

  • Hi Vimal,

    Are the above steps required prior to each self-test? Or can they be carried out once on startup with the reference voltage values (ADREFHI and ADREFLO) read and stored for subsequent self-tests?

    It would be better carried out these two steps each time. The failures can occur at any time so keep those steps for each time the tests carrying out.

    We plan to carry out periodic self-tests of the ADC channels. Would this cause an issue? If no, is there a minimum recommended interval for periodic execution of these self-tests?

    I never did but there won't be any issue in carrying out periodic self-tests of ADC channels. The only thing needs to be considered is your actual ADC channels connected will get suspend until the testing completed.

    --

    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    Appreciate the clarification.

    Thanks and Regards,

    Vimal