Content originally posted in LPCWare by ledi007 on Thu Apr 21 05:20:30 MST 2016
now i measured the voltage @ ADC_2 pin with a resistance divider (Vcc---10k---10k---GND). I measured a voltage of 1,8V by Vcc = 3,2V. Thats not exactly the half! The reading change from 0 to 4095 or from 4095 to 0 at a voltage on the pin of 0,24V.
Attached you can see the content of the registers adc, sysahbclkctrl, iocon and adc after initialization.