I post a thread for help to validate bug of ADUC7061.
But engineer of ADI give out test code and test result, then he cosider that bug is not true basing his test result.
But i realy regard his test result do admite that the bug is existing.
Ok, i will provide my proll.
firstly, i assume engineer of ADI could operate or express wrongly, but is don't matter. we try to fix it.
I give out code here first:
From the code ,we can find ulADC1Result follows:
DACDAT = 0x0000000;
the sample rate is 1kHz, and DelayMs(10) exceeds 10milli-seconds. So value of ulADC1Result will be constant, not swinging from 0 to 0.5945V.
This picture is provided by ADI, you will find the result is 0.5945V.
When using ADC1 to sample ouput of DAC, the result is very precise, around 0.1%.
If the output is 0.6V, the error is about/around 1%, It is not possible.
So i assume test result of 0.594V is an coincidence.
I will give my result:
You can see that the output of ADC1 is 0.600V, precise 0.600V.
When I want DAC to output 0.9V, DACDATA =0xc000000, the oupt of ADC1 is 0.899V
So I assume, engineer of ADI provide fake proof, poerhps, the test result just support the conclusion: DAC works incorrectly when p0 is configured as ADC input.