This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832: how to set AREF to external (P0.02)

Hello, 

How do I set the analog reference voltage to external pin P0.02? I'm using the arduino environment so I don't know how to set it via those registers?
I'm currently using this library. 

If it is not too much, can you share to me some code which I can base my code or any reference so I can achieve this goal.

Thank you in advance.

https://github.com/sandeepmistry/arduino-nRF5

Parents Reply
  • Correct me if i'm wrong. I explored the datasheet of 51822 and 52832 with the base address

    0x40007000

    ADC with nRF51822
    SSADC with nRF52832

    the nRF51822 has an option of external from the CONFIG
    the nRF52832 has NO option for external on each CH[x].CONFIG / see also Figure 97: Simplified ADC block diagram of SSADC

    which I conclude that the EXTERNAL ANALOG REF is only possible with the comparator mode and not via SAADC

Children
Related