ADC resolution, is it 12 or 16 for the XIAO Sense? I think it can be set to 16 bit

I’ve only read online documentation that states the XIAO Sense ADC resolution should be 12 bit (4095 counts) but I have been able to set it to 16 bit (65,536 counts) and it appears to work just great! Am I missing something? This is with board version 1.0.0.


No takers on this question?

Two points:

  1. According to the nrf52840 Product Specification: The ADC has 12-bit resolution.

  2. From the Arduino reference documentation:
    " If you set the analogReadResolution() value to a value higher than your board’s capabilities, the Arduino will only report back at its highest resolution, padding the extra bits with zeros."

Bottom line: The CPU has a 12-bit Analog to Digital converter.
Arduino software can retrieve no more than 4096 distinct values from the ADC, no matter how your software handles the data. Period. Full Stop.




nRF52840 Product Specification (

1 Like