nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

advertising with NRF52840

Hi
I want to advertising with NRF52840 DK, I do tutorial explanation and for PCA10056\S140 after load main.c it compile without any error and warning but I cant find any device with "Helloworld" name on bluetooth mobile phone .
for pca10040\s132 I have error: #5: cannot open source input file "nrf52_erratas.h": No such file or directory
any help with this issue would be a massive help
Thanks in advace.

  • Hello,

    The pca10040\s132 is for the nRF52832 DK. Try running an example with pca10056\s140. pca10056 is the name of the nRF52840 DK, and S140 is the softdevice for the nRF52840. 

    Do you intend to only have advertisements, or do you want to connect to the device?

    If you want two way communication between the phone and nRF52840DK, I can recommend the SDK\examples\ble_peripheral\ble_app_uart.

    Best regards,

    Edvin

  • SDK \ examples \ ble_peripheral \ ble_app_uart. Builded without any errors but I still dont know how nrf52840 can connect to other devices with this code.
    I want to connect nrf52840 to other devices (advertise, scan and send / receive data) Is there a tutorial that I can do this step by step?
    Thanks for your tips

  • You can either connect to the ble_app_uart example with your phone (download nRF Connect for Android/iOS, and start scanning and look for the device called "Nordic_UART". If you have more than one development kits, you can program another with the SDK\examples\ble_central\ble_app_uart_c, and they should connect automatically, and you can send messages between the two using the UART. Of course, you don't need to use the UART in a final application, but this is used as an example on how to do it. 

    Best regards,

    Edvin

  • Unfortunately ,for  both nrf52-ble-tutorial-advertising program (ble _app_template_pca10056_s140)  and  ble_app_uart example  after  scanning NRF Connect application on phone can not found "Nordic_UART".

    Thanks in advance.

  • I don't know wat nrf52-ble-tutorial-advertising program you refer to, but if it is the ble_app_template example, it will not advertise as Nordic_UART. However, the ble_app_uart example should, if you didn't change anything.

    In the nRF Connect for Android/iOS, do you see any advertising devices? (either with a name or just an address?) Just to see that you are actually able to scan at all. 

    If you see other devices, but not the Nordic_UART (while using the ble_app_uart example), how do you program the nRF52840 DK? Is it an official nRF52840 DK or a 3rd party device?

    If you are using another IDE than Segger Embedded Studio, did you remember to also flash the softdevice (found in the SDK\components\softdevice\s140\hex\ folder).

    Best regards,

    Edvin

Related