Tool/software:
Hi,
There are some threads on the forum regarding the ADCDACLOOPBACK issue, but no clear solutions are available.
I added following lines at init and didn't change it later on. Therefore, I wanted to always measure internal biased voltage at ADC results.
1) Has an example software for the ADCDACLOOPBACK application been prepared, or will it be prepared? It is really a critical and useful function for safe operations.
2) I did a preliminary study with the following lines. However, even though I only selected ADCA at below lines, both ADCA and ADCC are set to an internal voltage. How it can be? Is my code correct?
EALLOW;
HWREG(ANALOGSUBSYS_BASE + 0x88U) =
(HWREG(ANALOGSUBSYS_BASE + 0x88U) | 0x01U) |
(0xA5A5UL << 16U);
EDIS;3) When I enabled all ADC modules for ADCDACLOOPBACK, the ADCA and ADCC modules reads a strange internal voltage. However, the ADCB module is not biased to an internal voltage.
ADCB didn't follow instructions. Red arrowed signals are related to ADCB.
Can you explain how it can be?

4) Even though I set the value of 4095 to the CMPSS1_DACL port, the ADCA and ADCC RESULT registers are all set to a value around ~3417.
I didn't set any DAC configuration at software. I just use CMPSS configurations which needs internal DAC to compare.
The CMPSS1 High Comparator is used for peak-current mode, and the CMPSS1 Low Comparator module is used for protection purpose. CMPSS1_DACL is as below;
