Edited by sashijoseph at Jan 14, 2016 11:51 |
Well there is no adc on the gpio headers but the 12-bit adc of the (resistive) touch panel controller can apparently be hacked into.
The tp controller supports 3 functions=>
At present there is C-code for reading and writing the appropriate registers (for probing soc temperature) thanks to FM "FPeter"
You would need to set up the registers for your use case.
Go through the TP section of the A20 user manual.
a20 user manual rev1.3
The TP pins seem to be exposed in the camera connector csi port.
Do go through the manual thoroughly and proceed with caution lest you end up causing some hardware damage.