The Nordic UART code was built for the UARTE using the following definitions:
#define UART0_CONFIG_USE_EASY_DMA true
#define UART_EASY_DMA_SUPPORT 1
#define UART_LEGACY_SUPPORT 1
When the code is run the NRF_ERROR_BUSY error occurs in the "nrf_drv_uart_rx" function when it is called by the "app_uart_init" function:
//critical section begin
if (m_cb.rx_buffer_length != 0)
{
return NRF_ERROR_BUSY;
}
//critical section end
When the code is built for the legacy UART this error does not occur.
Any ideas ?