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

How to use BLE of nRF52840-PDK and RIOT OS?

Hello,

I am currently working on nRF52840PDK baesd project, where I want to use BLE using RIOT OS. So, please can you provide any example for RIOT OS based BLE or any details/procedure?

Or how I can use softdevice of nRF52840 with RIOT OS?

Thanks,

Ajinkya Shinde

  • Hi,

    RIOT have a large wiki-site with a lot for information that can he found here. They have written a tutorial for setting up IPv6 with the nRF52-series and RIOT-OS, that can be found here. Looking at the cpu_conf.h here, you need to use the define CPU_MODEL_NRF52840XXAA when you are using the nRF52840.

    Note that RIOT is not officially supported by Nordic, and we have no direct involvement in RIOT OS. There are multiple other open source RTOS projects that have added support for nRF5x devices, that are not in our SDK. As mentioned in this post, these are not tested by Nordic and a SoftDevice or SDK release with API changes from us may break something in their implementation.

    Also note that there are other RTOS projects that support nRF52840 that can be worth looking into. E.g. Zephyr RTOS. We have a blog post about Zephyr here.

  • Thank you for valuable information. Also I found nRF5 IOT SDK v9.x.x, but as per readme file it supports nRF51 and nRF52 but not to nRF52840. So can I use this IOT SDK v9.x.x for nRF52840? If yes, then what modification will require?

  • With the release of SDK 14.1, the IoT SDK v1.0.0 was released, and merged with SDK 14.1, with this release the the IoT SDK is no longer in prototype stage and is now part of the regular nRF5 SDK.

    We have a new introduction guide that can be found here, and all the IoT examples can be found in the folder SDK_14.1_folder\examples\iot\.

    Unfortunately, there is no project files for the nRF52840 yet, but we will hopefully release that very soon ( Maybe when SDK 15 is released).

Related