Finding a working nRF52810 BLE Example

Good afternoon, and thank you in advance for your help.

I have an extensive microcontroller background, but I am new to the Nordic famliy and BLE in general. I thought finding an example project and getting started would be a fairly easy endeavor, but it has proven to be anything but that.

I have downloaded multiple versions of the SDK for the nRF52810, and tried most of the examples within each. I am using Segger Embedded Studio, and I have only found a few that even compile without modifying the program. I have tried SDK 17.1.0 with absolutely no luck in getting examples compiled. I reverted to SDK 160098 and was able to get the HRM example running using SoftDevice 110, but I can't even get other examples to build.

This is a quite simple project. I am basically looking for a barebones example of sending and receiving data over BLE. If I can get that, I am confident I can do the rest, but I am losing faith in the example code and documentation.

Where can I find examples that work? What is the problem with them not building? Am I better off using a different IDE, and if so, which one?

Is there an example of both sending and receiving data over BLE?

Thank you

Parents Reply Children
  • I downloaded fresh version of SDK 17.10 and SES 5.50 which I was told was a working version of SES. I tried to compile the ble S112 UART example. I get the following compile errors. This is becoming a pretty big waste of time.

    5> C:\nRF5SDK160098a08e2_3\examples\ble_peripheral\ble_app_uart\main.c:582:25: error: 'RX_PIN_NUMBER' undeclared (first use in this function); did you mean 'P0_PIN_NUM'?
    5> C:\nRF5SDK160098a08e2_3\examples\ble_peripheral\ble_app_uart\main.c:582:25: note: each undeclared identifier is reported only once for each function it appears in
    5> C:\nRF5SDK160098a08e2_3\examples\ble_peripheral\ble_app_uart\main.c:583:25: error: 'TX_PIN_NUMBER' undeclared (first use in this function); did you mean 'P0_PIN_NUM'?
    5> C:\nRF5SDK160098a08e2_3\examples\ble_peripheral\ble_app_uart\main.c:584:25: error: 'RTS_PIN_NUMBER' undeclared (first use in this function)
    5> C:\nRF5SDK160098a08e2_3\examples\ble_peripheral\ble_app_uart\main.c:585:25: error: 'CTS_PIN_NUMBER' undeclared (first use in this function)

  • Hi,

    Joakim is out of office, so I'm answering you.

    1) I recommend using the latest version of the nRF5-SDK, v17.1.0, from the log it seems like you are using v16.0.0

    2) For SDK 17.1.0 we used SES 5.42a for testing and verification. This is mentioned in the SDK release notes. I recommend using that version.

    3) For nRF52810, make sure to use the example project in the pca10040e folder, ref Developing for nRF52810

    BR,

    Sigurd

Related