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

Unexpected UART behavior

Hi,

I am using nRF52840 Preview-DK with SDK v15.3.0

I am using the serial library to write to UART 1, while writing all goes well while I write less than 255 bytes of data but, as soon as I write more than 255 bytes I get unexpected behavior, on the terminal I only see the data that is after intial 256 bytes, first 256 bytes are not written, my buffer and queue sizes are as follows:

#define SERIAL_FIFO_TX_SIZE 1023
#define SERIAL_FIFO_RX_SIZE 1023
#define SERIAL_BUFF_TX_SIZE 1
#define SERIAL_BUFF_RX_SIZE 1

can someone explain, why this occurs and how can I send more than 256 bytes ?

Related