Hello @RaRo ,
For my measurements I used "AN" pin from "mikroBUS" (J7) header. This should be ADC0 Ch 0A according to the schematic. I admit that this pin pulls up the output of the voltage divider which provides the input signal to the ADC by 50 mV.
This is not the case on ADC0 Ch 3A (J132-2 or J9-1).
This is the result on ADC0 Ch 3A:

This histogram has more of a gaussian distribution as the one in my original posting. Obviously this input pin is more suitable for testing the ADC. Still you can clearly observe that there are missing codes.
For your information, the voltage divider is a 10 turn poti with 2 kOhm connected to 3.3 V and GND and set to 1.6 V output. For drawing the histogram, I had to "drop" the results from the first two ADC conversions as they were way off.
When I use two fixed resistors, i.e., 220 Ohm, I get the following histogram instead:

Here, I did not need to drop any conversion results. I assume that is is because the impedance is better matched.
How can I provide you with my ADC project? Should I just zip up the project folder and attach it to a posting here?
Thanks.
Best regards,
Daniel