Hi,
I have a pretty simple problem but I can't get it right. This is what I want to do:
T=000, PIN_x = 0
T=004, PIN_x = 1
T=100, call a routine
T=543, Start over (T=544=0)
(T is in cycles, 8MHz)
It seems like using PPI and GPIOTE is the correct way for this?
- Will the PIN toggle at EXACT the correct time? (T=0 and T=40)
- At what time will my first instruction in the routine be called? (is it 100 - latency?)
- Do the CPU have to do something for resetting the timer?
Using NRF51822
Thanks