I find myself struggling to remember the Analog to Digital converter PIN mappings on the nRF52840.

To help, I created this simple table. This is for the aQFN73 variant, which comes on the Seeed XIAO nRF52840 I use the most.

The PINs on an nRF52840
ADCPINName
AIN0A12P0.02
AIN1B13P0.03
AIN2J1P0.04
AIN3K2P0.05
AIN4B11P0.28
AIN5A10P0.29
AIN6B9P0.30
AIN7A8P0.31

You can find all the pin mappings on the Nordic Semiconductors’ website:

https://docs.nordicsemi.com/bundle/ps_nrf52840/page/pin.html

Hopefully this will serve as a useful reference!

Be sure to check out my YouTube channel.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.