SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
For system diagnostic or functional safety purposes, the user application can perform a loopback test of the ADC module to verify that the ADC is converting correctly. Using the output of the DAC in the first CMPSS module, the device can be configured to supply a series of known voltages to the input of the converter, and the conversion result verified against expected results. Loopback test mode is enabled by setting the bit corresponding to the ADC module under test in the ADCLOOPBACK register in the analog subsystem module to 1. Figure 15-36 shows the connection between the CMPSS DAC output and the ADC.
In ADC loopback test mode, the following special considerations apply:
For more information on the CMPSS module and how to configure the CMPSS DAC, see the Comparator Subsystem (CMPSS) chapter.