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

When does the event NRF_DRV_ADC_EVT_SAMPLE occur

Hi there, I was trying out the ADC example which is sampling 10 times the ADC and then generating the event NRF_DRV_ADC_EVT_DONE to process the data. I extended the handler function to also react to event NRF_DRV_ADC_EVT_SAMPLE. But this does not occure.

How to change the initialisation to activate both events? Idea is: timer with 100ms which triggers the ADC driver. Get a "sample" event every 100ms and a "finished" event after 10 Samples = 1sec. Thanx, fran

Related