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

What should I do to get nrf51-ble-app-lbs-throughput-test-5.2.0 working with PCA10028 v1.1.0 board ?

I have followed the instructions and have tried with s110 6.0.0 and SDK 5.2. I can compile and download to the board but can never detect under discoverable device onn MCP running on a PC? Is it not advertising ? Please suggest the necessary modification for the program to run on this board. I also see this branch is couple of commits behind the master code. Can you please update it ?

  • Hi smuniraj

    Yes, you are correct. The throughput test is for an old SDK which is not targeted at the PCA10028. We will try to update it soon. Meanwhile, I suspect it should work if you get the SDKv8.0 branch to work on your board and then just copy the data_send() function from the throughput test into the SDKv8.0 code and call it in the same way as in the button_event_handler

    Update 31.8.2015 I have managed to port the ble_app_lbs throughput example to SDK 8.0.0 and measure around the theoretical maximum throughput on my side. Check if you can get the same on your side.

    nrf51-ble-app-lbs-master - throughput test.zip

  • Hello Stefan,

    Thank you so much for your pointers. I followed your suggestion and ended up modifying the throughput app to work for PCA 10028 v1.10 board. However the maximum data throughput I am getting currently in an office environment is 55kbps with MCP. I did check the connection interval from the log file and I am sure its 7.5ms as I have modified in the code like this

    #define MIN_CONN_INTERVAL               MSEC_TO_UNITS(7.5, UNIT_1_25_MS)          /**< Minimum acceptable connection interval (0.5 seconds). */
    #define MAX_CONN_INTERVAL               MSEC_TO_UNITS(7.5, UNIT_1_25_MS)
    

    I was expecting it to be somewhere close to theoretical output 128kbps as mentioned in this article devzone.nordicsemi.com/.../ since I am using the same Master Emulator Firmware (MEFW) with nRF51822 0.11.0. Is there anything I can do to improve the throughput? I did measure it multiple times and it averages around 55kbps

  • You should get 128 kbps if receiving 6 packets per connection interval, 20 bytes per packet and the connection interval is 7.5 seconds, i.e. 0.0075^-1 * 20 * 8 * 6 = 128.000. Do you see in your test how many bytes are received per packet and if there are 6 packets received per connection interval?

  • I have attached my wireshark capture here. Even with your and my own modified application the slave transmits about average 2 or 3 packets per 7.5ms. Sometimes rarely even 4 or 5 packets but overall average data rate roughly about 25kbps still.

  • Hi smuniraj

    Unfortunately, I can not see your wireshark capture that you want to attach.

    Can you confirm that you are using SDK 8.0.0, S110 8.0.0, PCA10028 v1.1.0 on the peripheral side, and that you are using the throughput test that I sent to you unmodified.

    Can you also confirm that you are using nRF51-Dongle(PCA10031) or PCA10000 dongle on the central side with Master Emulator Firmware 0.11.0 flashed and are running Master Control Panel 3.10.0 on the PC.

Related