Hello, I'm making a system with NUS of nRF52832 and nRF52840 to sample data with SAADC. I started the system with "ble_app_uart__saadc_timer_driven__scan_mode_03" from Github "NordicPlayground". The link is below: nRF52-ADC-examples/README.md at master · NordicPlayground/nRF52-ADC-examples (github.com).
The source code is based on timer driven to sample the data and transmit via NUS(Nordic UART Service) in a nRF52832 board. The data is transmit to NRF52840 DK board which served as central board and sent to the computer via UART port.
Now I need to realize a 1kHz sample rate with 4 channels and 12bit resolution. It is too frequency to send data every 1ms. So I save the data in an buffer and transfer the data every 10 samples. In the source code, the sample rate is define as below.
#define SAADC_SAMPLES_IN_BUFFER 4 #define SAADC_SAMPLE_RATE 5 /**< SAADC sample rate in ms. */
I can decease the sample interval to 4 or 5 and the data can be transfer to computer with no problem. But when I decrease the sample interval to 1ms and increase the sample rate to 1kHz, the BLE connection has some problem and data cannot be sent to central board and computer. What cause the problem? I have adjusted the advertising time of the peripherals and scan time of the central, but it didn't work. I have posted some questions before and got some suggestion about that, the typical answer is based on https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/central_connection_timing.html . I can partly understand that but I didn't know how to match the timing parameter between the website and the source code. Would you please help me solve that? Any help will be appreciated.

