I need to measure a 0-5VDC level with 12-bit accuracy.
Does the A20 board have a built-in analog to digital converter?
If you don't need high speed sampling rate, you can easily attach a external A/D converter on I2C bus, such as the MCP3428, it is a 16 bits multi channel inputs.
Thanks.... are there any I2C code samples on how to use that interface so I can get some understanding of how to do it in A20?
Github have many examples with A13 how to interface different I2C UEXT boards with A20 is same
I found it here https://olimex.wordpress.com/tag/i2c/