I'm adapting the sample code for TF-M secure peripheral sample (NCS v2.5.0, nrf/samples/tfm/tfm_secure_peripheral) to also add a UART peripheral. But this sample uses the older API (nrfx) which so far I've struggled with finding example code for. I was able to infer from the timer setup in that sample project, and get code working that can do a blocking write, with functions like nrf_uarte_tx_buffer_set() and nrf_uarte_task_trigger(). But how can I perform reads? I need to be able to perform them non-blocking, and interrupt-based.
If I could get some sample projects that explain this, I'd appreciate it. Thank you in advance!