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

nRF51422 USB dongle latency / speed

We're sending packets from a nRF51422 usb dongle to a nRF51422 dev board running some modified Nordic UART example code. We send 100kB of data over the connection to work out the speed, at the moment we get about 500 B/s. A C# app on the computer continually sends 20 bytes in a for loop.

Sniffing the connection with a further nRF51422 usb dongle shows that there are a lot of empty connection intervals. One packet will be transferred, and then perhaps 5 connection intervals will go past before the next packet is sent.

From some further testing it is the USB dongle that is limiting the through rate. Is it possible that the latency for communication with the USB dongle up the stack to the C# app is greater than a connection interval, and that's why we see empty ones?

  • @William: I'm testing here with the PCA10031 dongle on PC and the PCA10028 as peer device running ble_app_uart example in SDK v8.1. The dongle using firmware MEFW 0.11.0. I'm seeing the default connection interval was 20ms and there are 2 packet were sent per connection event, giving the speed of 2kB per second. It could be faster with the lower connection interval. Attached is the trace.

    testUART.pcapng

    Which board and chip version were you testing? Have you used the MEFW v0.11.0 ?

Related