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

Problem facing on pairing the bluetooth in nrf52DK

Hola community, I am using nrf52DK for the first time and am unable to connect it to my mobile phone using Bluetooth. The problem I am facing at the moment is, the device is not visible in the app i have downloaded from play store (nRF connect). I am using keil 5.22.0.0 to upload the example codes provided by nordicsemi in the sdk.

Can someone please guide me towards proper pairing of the device with a mobile phone or any suggestions on what might the problem be?

Thanks in advance.

Parents
  • Hi,

    If the nRF52 is not visible in nRFConnect, the nRF52 is probably not advertising. When advertising LED1 on the DK should blink. Have you uploaded the SoftDevice? What SDK version are you using? If you are using SDK 13, you have to use SoftDevice S132 v.4.0.2 as seen in the compatibility matrix here. The SoftDevice is the Bluetooth low energy(BLE) protocol stack. You can find the SoftDevice in the folder:

    SDK_FOLDER\components\softdevice\s132\hex
    

    There are two ways to flash the SoftDevice to the nRF52 DK.

    Option 1 - nRFGO Studio :

    Download nRFGo Studio from the page linked to below

    www.nordicsemi.com/.../

    Install, and then Open nRFGo Studio, select the Segger xxxxxxxxx device in the Device Manager, then select the Program SoftDevice tab, navigate to the \components\softdevice\s132\hex folder and select the s132_nrf52_4.0.2_softdevice.hex file(for SDK 13) and press program.

    Option 2 - nrfjprog:

    Download nRF5x Command Line Tools

    infocenter.nordicsemi.com/.../nrf5x_installation.html

    Using the command line, you can flash the SoftDevice with the command

    nrfjprog --family nrf52 --program s132_nrf52_4.0.2_softdevice.hex --verify
    

    If you get an error stating that the flash is not erased, then you can erase the flash of the chip with the following command

    nrfjprog --family nrf52 --eraseall
    
Reply
  • Hi,

    If the nRF52 is not visible in nRFConnect, the nRF52 is probably not advertising. When advertising LED1 on the DK should blink. Have you uploaded the SoftDevice? What SDK version are you using? If you are using SDK 13, you have to use SoftDevice S132 v.4.0.2 as seen in the compatibility matrix here. The SoftDevice is the Bluetooth low energy(BLE) protocol stack. You can find the SoftDevice in the folder:

    SDK_FOLDER\components\softdevice\s132\hex
    

    There are two ways to flash the SoftDevice to the nRF52 DK.

    Option 1 - nRFGO Studio :

    Download nRFGo Studio from the page linked to below

    www.nordicsemi.com/.../

    Install, and then Open nRFGo Studio, select the Segger xxxxxxxxx device in the Device Manager, then select the Program SoftDevice tab, navigate to the \components\softdevice\s132\hex folder and select the s132_nrf52_4.0.2_softdevice.hex file(for SDK 13) and press program.

    Option 2 - nrfjprog:

    Download nRF5x Command Line Tools

    infocenter.nordicsemi.com/.../nrf5x_installation.html

    Using the command line, you can flash the SoftDevice with the command

    nrfjprog --family nrf52 --program s132_nrf52_4.0.2_softdevice.hex --verify
    

    If you get an error stating that the flash is not erased, then you can erase the flash of the chip with the following command

    nrfjprog --family nrf52 --eraseall
    
Children
No Data
Related