Hello,
We were just wondering if it is possible to give user-defined function at the PPI TEP instead of starting timer or generating some GPIOTE task.
Is it possible to configure a PPI channel where there is a GPIOTE event and as per the occurrence of that event, some userdefined function executes?
nrf_drv_ppi_channel_assign(m_ppi_channel1, gpiote_event_addr, &user_defined_function);
I tried above way, it compiled but the function is not getting executed on GPIOTE event.
I can't use the timer interrupt for this as the frequency of GPIOTE event is really high (around 3MHz). And I want to capture 8-bit parallel port data in 'user_defined_function'
So, Can I make above logic work anyhow? Is it possible in PPI? Any suggestions how can I achieve this one?
Thanks in advance.