i want to use NRF Hardware Timer into Zephyr OS(NRF Connect SDK) . How I can use any example or Suggestion Please.
My Issue Is I have to trigger ADC Read Every 1ms . so Zephyr Timer is not accurate.
i want to use NRF Hardware Timer into Zephyr OS(NRF Connect SDK) . How I can use any example or Suggestion Please.
My Issue Is I have to trigger ADC Read Every 1ms . so Zephyr Timer is not accurate.
Hello Aditya,
Here is an example I made that samples 3 channels simultaneously every millisecond. It uses PPI and a hardware timer to trigger the reads. When the reads are ready it will fire a callback with the read data.
I should note that I made the sample to run on the nRF52840-DK board, but it should be similar for whatever board you're using.
Hey James, the link expired. Mind sharing again? I'm trying to do something similar, sampling 6 ADC channels using a periodic nrf hardware timer with 10us period.
Hey Oscar - Sure. I believe this was the example or one very similar.
Hey Oscar - Sure. I believe this was the example or one very similar.