Receive regular Ble packets from multiple peripherals

Dear Nordic support team,

We are currently working on a motion tracking project that involves sending quaternion matrices from 8 individual devices (custom boards with nRF52840) to a central device (nRF52840 dongle). The peripherals are programmed to send packets every 16.8ms (59.5 Hz refresh rate), and the central device receives these packets and prints them on the com port using the USB CDC ACM module. However, we have noticed that when only one device sends data, the data on the com port is regular, with delta_t~=15ms. But when multiple devices send data, the received data (two successive packets from one specific device) on the com port is irregular, and the timestamps vary from 1 to 80ms.

We do not believe that the issue is with the peripheral devices because they are programmed to send data regularly and independently from the central device (which does not send any data to the peripherals). We have also tested the USB module and found that it is rarely the cause of the issue, as it can write test data every 500us on the com port. However, we suspect that the problem is related to the central device's concurrent receive function, which may be affecting its performance.

We are currently using a code for the central device that can be found at https://github.com/NordicPlayground/nrf52-ble-app-uart-c-multilink. We have attached the main and configuration files for both the peripheral and central devices. We would greatly appreciate your help in resolving this issue, as we require the motion data to be received regularly. Is it possible to receive 8 packets every 15ms regularly?

Thank you for your support, help, and time.

Best regards.

Parents
  • Dear Susheel,

    I have another concern regarding the irregularity issue that we previously discussed. We have noticed that the irregularity problem becomes worse when we connect more peripherals to the central device. I would like to know if this issue is related to the irregularity caused by the BLE_NUS_C_EVT_NUS_TX_EVT event, or if it is a separate issue altogether.

    Thank you for your help.

Reply
  • Dear Susheel,

    I have another concern regarding the irregularity issue that we previously discussed. We have noticed that the irregularity problem becomes worse when we connect more peripherals to the central device. I would like to know if this issue is related to the irregularity caused by the BLE_NUS_C_EVT_NUS_TX_EVT event, or if it is a separate issue altogether.

    Thank you for your help.

Children
No Data
Related