Hi,
I'm using a buffer size of 64 bytes using function
nrf_drv_uart_rx(&app_uart_inst, rx_buffer, 64);
When I receive only one byte packet from the remote, I get EVENT_RXDRDY (which I expect). I then wait for about 10 ms.
1. EVENT_RXDRDY
2. delay_ms(10)
3. trigger FLUSHRX
4. Read UARTE register AMOUNT
I get AMOUNT = 0 all the time
Why I'm not getting AMOUNT = 1?
This code works if the buffer size is set to 1.
Please help. Let me know I need to do some trick.