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

nRF51822 example with datarate > 30 kbps

Hi all,

I am using an nRF51822 Development Kit and I would like to create a simple test code that allows me to send data (no matter what kind of data, also a sequence of numbers from 0 to n is an option) from my development board to the dongle with a data-rate > 30 kbps.

Someone knows how I can quickly modify one of the example codes (eg. the Heart rate monitor demo) in order to achieve this?

I know that there is another similar thread (devzone.nordicsemi.com/.../dealing-large-data-packet-s-through-ble) but I am quite new on this technology and that thread is not enough clear to me. Trying to reproducing what is explained in that thread I am achieving only 2,6 kbps, that correspond to 1 packet of 20 bytes every 7.5 ms. I would like to be able to send up to 6 packets of 20 bytes every 7.5 ms.

Thanks,

  • The dongle is unfortunately not capable of receiving more than 1 packet per interval, and the throughput will hence be limited. As you can see in this question, both the Central and the Peripheral needs to be able to do multiple packets per interval to actually get high throughput.

    To evaluate throughput you should therefore make sure to use the device that you will actually use in your end-product solution.

    An earlier version of the Master Emulator firmware could however do up to 3-4 packets per interval, so if you'd just like this for testing you can consider trying to install version 3.4.0 of the Master Control Panel and use that one combined with 0.8.0 of the Master Emulator firmware. You can download a previous version by clicking the version number on the download page.

    Edit: Be aware that 0.8.0 will only work with first revision chips (i.e. CA/C0), and if you don't have an old dongle, you will not be able to work around this in that way.

  • Hi Ole, thank you for your answer! I just installed the master control panel version 3.4.0, but something goes wrong when I try to flash the firmware of my dongle. My dongle works without problem using version 0.9.0: it has 2 leds on (green and white) and I can connect to it through the master control panel. Things changes when I flash it with version 0.8.0: the output is "Successful Flash!" but I can see only one led (the green one) on my dongle and the "Log" window of my Master Control Panel says: "No response from master emulator". You can find two picture attached.

    output.PNG

    log.PNG

  • Which hardware version of the dongle do you have? 0.8.0 is so old that it will unfortunately not work with a second revision chip, only with the first revision (CA/C0). There is unfortunately not any workarounds for this, so if you don't have an old dongle, the only recommendation that remains is to test with some other device (for example an iOS or Android device).

    I'm sorry for the inconvenience.

  • My hardware is QFAAG0, so I guess is a new one. I will look for another master solution. Thank you very much!

  • An other question Ole...Can I solve the problem using the Master Control Panel App for Android? How many packets can receive?

Related