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