This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52832 PCA10040 uart How to not use fifo?

I tried, but it does not work.

  		for(int y=0;y<100000;y++)
		{
		  	if(nrf_uart_event_check(NRF_UART0, NRF_UART_EVENT_TXDRDY))
			{
		  		nrf_uart_event_clear(NRF_UART0, NRF_UART_EVENT_TXDRDY);
				nrf_uart_txd_set(NRF_UART0, (uint8_t)data[i]);
				break;
			}
		}
        vTaskDelay(1);
Related