I'm using PPI to trigger a gpio high after a given delay from 4.00 ms to 8.00 ms. I need to be accurate up to .01 ms but i'm seeing some jitter in the actual delay vs given delay. Is there any way I can ensure I can be accurate to .01 ms?
I'm using PPI to trigger a gpio high after a given delay from 4.00 ms to 8.00 ms. I need to be accurate up to .01 ms but i'm seeing some jitter in the actual delay vs given delay. Is there any way I can ensure I can be accurate to .01 ms?
start the HF Crystal oscillator. If you are using internal RC for HFCLK, it will be less accurate. Do this by
NRF_CLOCK->TASKS_HFCLKSTART = 1;
while(0 == NRF_CLOCK->EVENTS_HFCLKSTARTED);
start the HF Crystal oscillator. If you are using internal RC for HFCLK, it will be less accurate. Do this by
NRF_CLOCK->TASKS_HFCLKSTART = 1;
while(0 == NRF_CLOCK->EVENTS_HFCLKSTARTED);