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

SAADC- Best way to access to the SAADC

Hi,

  I have a question about the best way to program the SAADC ofthe 52832

- My board is a Bluefruit The feater.

the libraries installed are 

..\nRF52\0.14.6\cores\nRF5\nordic\nrfx  \drivers

..\nRF52\0.14.6\cores\nRF5\nordic\nrfx\ hal

..\nRF52\0.14.6\cores\nRF5\nordic\softdevice\s132_nrd53_6.1.1_API

I think the API to access to the SAADC are in ..\nrfx\drivers  and ..nrfx\hal

but where shall I work : on drivers or on hal layer?

added to that, I found on github a sample

https://github.com/NordicPlayground/nRF52-ADC-examples/blob/master/ble_app_uart__saadc_timer_driven__scan_mode/main.c

but it's not on the same layer.

So in my mind i think i shall use the API described on nrfx_saasc.h (in the driver directory)

but do you have any samples with this api?

thank you.

Vincent

Related