The Bluetooth packet transmission speed cannot be increased

Currently, I'm using the NRF5340 chip. In my own development board, I'm only powering the chip to test its transmission performance. The example program I'm using is the classic peripheral_uart. Now I've created a string of dummy data, totaling 242 data points, including a header and packet filenames. Here are my current configurations and related code. The current transmission rate is approximately 50-60ms, with a handshake interval of 7.5ms. We hope to achieve a packet transmission speed of 3ms, with the packet filenames cycling continuously between 0-255 without any packet loss. Please help me with this. Thank you.

Parents Reply Children
  • thanks bro

    I only have a self-developed board with NRF5340, which is being debugged with the computer software nrf connect for desktop Bluetooth Low Energy. There are no other peripherals set up on the board yet. I connected an LED light after the data transmission to observe the time required for data transmission. When K_MSEC() is set to 50, the LED blinks approximately every 47ms; when K_MSEC() is set to 3, the LED blinks approximately every 2.7ms.

    We want it to send a data packet every 3ms. It seems that setting K_MSEC() to 3 is appropriate. However, in actual situations, it feels like the transmission is blocked, or the Bluetooth module wants to send data at such a fast speed but is restricted by some kind of limitation that prevents it from doing so. So far, our team has not found the cause of this issue. The pictures include my current configuration, relevant code, and the phenomenon when K_MSEC() is set to 3. We hope the Nordic team can analyze this situation and help us get out of the predicament.
    Best regards
    HHJ
Related