Hello,
I am using nrfx library for nrf5340 because I wanted to change UART pins dynamically at run time by disabling, changing pins and renabling the UART. This part is working fine,
Now I neewd to know how to receive data continuously and fill to an OS fifo.
Right now I am having a handler as below
static void uarte_handler(nrfx_uarte_event_t const * p_event, void * p_context) { nrfx_uarte_t * p_inst = p_context; if (p_event->type == NRFX_UARTE_EVT_TX_DONE) { // NRFX_LOG_INFO("--> UARTE event: TX done"); // NRFX_LOG_INFO("Content of TX buffer: %s", m_tx_buffer); // NRFX_LOG_INFO("Content of RX buffer: %s", m_rx_buffer); } else { //NRFX_LOG_INFO("UARTE event: %d", p_event->type); } //nrfx_uarte_uninit(p_inst); }