I should have an own function wich is called upon after Port 3 goes low. I haven't succeeded yet using ppi channels. (I'm using the NRF51422)
For the moment the code is:
static void gpiote_init(void) { nrf_gpiote_event_config(0,3, NRF_GPIOTE_POLARITY_HITOLO); }
static void ppi_init(void) { NRF_PPI->CH[0].EEP = (uint32_t)&NRF_GPIOTE->EVENTS_IN[1]; NRF_PPI->CH[0].TEP = ??? NRF_PPI->CHEN = (PPI_CHEN_CH0_Enabled << PPI_CHEN_CH0_Pos);
}
It should go to function read_ADS1299() which contains primarily SPI and UART
thanks in advance