I am trying to time a capacitor discharge through different resistance sensors for greater resolution than an ADC. I did this using the GPIO functions initially but the SD will sometimes interfere and cause the readings to be off. I have decided to try this via PPI and I have it just about working. The only issue I am having is the GPIOTE IN event does not seem to be triggering the timer capture task. I can use the IN Event callback to manually capture the value which does work but I really want to do it via PPI to avoid interference from the SD. I have included an annotated example; hopefully I am just missing something really simple:
Using nRF5_SDK_12.2.0_f012efa with s132_nrf52_3.0.0_softdevice
Any ideas?
Thanks in advance,