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

Using SAADC with Zigbee and NRF Connect SDK

I am trying to figure out how to use the SAADC component of the nRF52840 to measure an analogue input and report it as an attribute in a Zigbee end device. I have, so far, failed to find an example that will compile using the latest development environment with the nRF Connect SDK 1.6.0. The library documentation does not appear to have anything that gives an overview of the SAADC component or any detail regarding how to incorporate this into a project. I enabled the component in the configuration (modules=>hal_nordic=>nrfx drivers=>Enable SAADC Driver) but I have no clue as to how to use it and I cannot find any examples of it. Can you point me to something that can get me started please?

Parents Reply
  • The tutorial say...

    The tutorial supports these boards:

     → nRF9160 DK

     → nRF5340 DK

    I am using the nRF25840 DK. What do I have to do to make the tutorial apply to that board, if it is possible.

    The adc samle specifically states that is is NOT compatible with Nordic hardware and points to the battery example you listed. The battery example does not appear to be a Nordic project useable in Segger, unless I am missing something obvious, so I tried using the command line tools to build it with west. It built OK but when I tried to program it, west complains about a missing utility called nrfjprog which does not appear to be part of the NRF Connect SDK.

    Is there some example that can be made to work with the nRF52840DK simply?

Children
Related