Hi all,
Project description and what works:
in my project I have one nRF52840DK as central and three nRF52DK as peripheral. The code on the central is based on the "nrf52-ble-app-uart-c-multilink-master" example and the code on the peripherals is based on the "ble_app_uart" example. Each peripheral sends data with a data-rate of 5,125 kByte/s (41 kBit/s) to the central. To be more precise, each peripheral sends 205 Bytes of data every 40ms. This works like a charm, without errors. (:
Problem:
At the moment I am having trouble with the UART on the central side. The data of all three data links has to be written via UART to a PC (virtual COM port). So the UART has to handle 3*41kBit/s = 123kBit/s. The order or the exact time, when each NUS paket gets written into the virtual COM port does not matter. But no data should be lost in this process. The problem is that the UART dropps data at this data rate. The loss of data is very inconsistent and random.
Test Setup:
To verify the function of the UART each peripheral sends consistently a 205 byte long array (as a NUS-paket) to the central. The NUS paket of each peripheral contains different characters:
Peripheral 1: !!!!!!!!!!!!!!!!!!!!!!! .... (205 elements)
Peripheral 2: """""""""""""""""" .... (205 elements)
Peripheral 3: ############ .... (205 elements)
I use Putty to view the data which is written in the virtual COM port.
Test Results:

As we can see, UART drops data. Normally I should see 205 elements of each character.
Questions
1. First of all, is the usage of putty in this case reliable? Or did just windows cant keep up with printing this chars in this console?
2. Is there a other/better way to evaluate this?
3. What are the correct parameters in this case for ...
3.1 ... UART_TX_BUF_SIZE and UART_RX_BUF_SIZE? (Actual: 32768)
3.2 ... priority in APP_UART_FIFO_INIT? (Actual: APP_IRQ_PRIORITY_MID)
3.3 ... baudrate in uart_init()? (Actual: UART_BAUDRATE_BAUDRATE_Baud460800)
4. Do I have to change the chosen baudrate in the windows device manager (COM) as well?
5. Can you please provide me any suggestions or help on how to solve this issue?
Any kind of feedback is appreciated. Thank you so much in advance.
Kind regards,
Maria