Hi Mazen, If you want to have a loopback test on DAC, you simply have to program the DAC registers to output a voltage and convert this voltage through the ADC channels corresponding to the DAC that you are programming. Let me know if this works for you. In section 12.13.7 ADC-DAC Loopback Testing, you just need to enable loopback from analog subsystem. Attached is the related register. when you enable that, then the adc is going to sample the dac output of CMPSS regardless of adc channel selection. Please use CMPx_DACL for DAC. Thanks, Susmitha
↧