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
  • Thank you for the reply. I had already submitted an issue last April but maybe they are busy or pre occupied at the moment.

    Even if the code is for Segger Studio it's ok. I will try to port it to arduino since they are similar, both in C/C++. I have a little bit knowledge on this stuff but not too deep yet to write my own base on the datasheet. Although right now I'm trying to understand their nRF51822 AREF on how it works maybe I can make it as basis.  

Children
Related