Hi Nordic,
nrf5 sdk 15.2.0, nrf52832.
I am testing the UARTE with the example experimental_libuarte. I changed two functions like below:
1. nrf_libuarte_tx(): m_tx_len = len; --> m_tx_len = 3*len;
2. comment the below lines included in UART_DRV_IRQHandler() :
nrfx_err_t err = nrfx_ppi_channel_disable(m_ppi_channels[PPI_CH_ENDTX_STARTTX]);
ASSERT(err == NRFX_SUCCESS);
I had expected to send the below text 3 times, but I just got once. When I added a function
nrf_uarte_task_trigger(UART_DRV_UARTE, NRF_UARTE_TASK_STARTTX) in the commented place, I can get sending the text 3 times successfully.
static uint8_t text[] = "UART example started.\r\n Loopback:\r\n";
My question is : the initialization has configured the ppi endtx-->starttx, why did need the trigger manually every time?