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.
According to the nrf52840 Product Specification: The ADC has 12-bit resolution.
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.