From LPC15xx device user manual (UM10736):
From Section 7.4.5:
When using a pin in analog mode, disable the pull-up and pull-down resistors.
From Section 7.5.1
If any of the pins is connected to an analog function through the switch matrix
PINENABLE registers, the digital portion of the pin is disconnected.
These two statements appear to contradict each other.
Do the pull-up resistors remain connected when the pin is configured as an ADC pin? If not, please confirm that the pull-up resistor need not be disabled, as suggested above, when configuring as an ADC.
Thanks,
Jonathon