Hi,
I need trigger repeated SPIM via PPI for a batch of samples until the given RAM buffer is full. Then I need start another round of batch SPIM with another buffer.
How can we handle the other SPIM xfer setup in the interrupt handler? A simple solution in my mind is to use "nrfx_spim_xfer()" again with the changed RAM buffer and same flags, then retrieve the SPIM EEP/TEP and use them to setup the PPI again. But this sounds like a lengthy process and I am wondering if there are more efficient ways? For example, can we simply start the new "nrfx_spim_xfer()" with the new RAM buffer and assume that EEP/TEP and PPI fabric can be reused?
Regards,
yf13