11 years, 11 months ago.

Bits in analogin of nxp lpc1768

Hi there

Just wanted to ask; How many bits can be transmitted in the analogin pins of nxp lpc1768?

Thanks in advance

1 Answer

11 years, 11 months ago.

The internal ADC has 12 bit resolution. However, depending on samplespeed you may have only 10 significant bits. The resolution is also negatively affected by noise due to less than optimal ground layout on the mbed module. You may want to consider using an external ADC for more demanding applications. The mbed library returns the ADC result as a value between 0.0 and 1.0 for input voltages between 0V an 3V3.