I am testing my new PYNQ Z2 FPGA board with an external DAC and ADC connected. The datasheet for the converters says they are 12 bit, they are able to differentiate between 1 mV and has a range of 0-2 Volts. The handling of data between the board and conversters is in code that comes ready written with the board. I am no expert, so I have not yet found out how that is done, if it uses all the 12 bits, etc.
The only thing I am able to see now is values I write in Python to the DAC and values read in on the ADC. I was wondering if I am able to say something about the error just from these values. If the error is due to noise from the electrical mains or if some of the converters simply are gone bad.
The error seem to get bigger and bigger as the values increase. Here is a test with 20 values between 0 and 2 V. If I run the test two times, all the values are exactly the same. Could this be because the software written doesnt make use of all the bits, or is that not possible to say?
A plot where 500 points are used at the bottom.
Any hint is greatly appreciated!