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

BLE Micro based on nRF51822: I am not able to get a led blink, or any pin to react. But uploading seems fine.

I have bought a BLE Micro. (www.seeedstudio.com/Seeed-Micro-BLE-Module-w-Cortex-M0-Based-nRF51822-SoC-p-1975.html)

1. I downloaded "nRF Connect App for Android" on the phone.
2. I downloaded Arduino Library "">github.com/.../arduino-nRF5" and also "">github.com/.../nRF51822-Arduino"
3. I open Arduino Blink sketch, selecting board "Generic nRF51822" or "redBearLab nRF51822".
4. I generate .Hex file, send to the phone, and I am able to upload as "application" with the nRF connect App. It also asks for a .dat file, but it can upload th .hex file even if it is missing (how should I create it?)
5. Application is downloaded, 100%.

But nothing happens! I tried both nrf_gpio_pin_set(xx) and clear, and also digitalWrite, but no way any of the pins shows any sign of life. I tried with multimeter, they stay about 300mV fixed. Also with an led connected both to vcc - or gnd, and the pins. Nothing. What am I doing wrong?
Also the pinout is not 100% clear, I looked at infocenter.nordicsemi.com/.../nRF51822_PS_v3.1.pdf and tried pin 3, 30, 25,26,29, ... always no results.
Any help would be greatly appreciated.

  • Hello,

    Did you buy a development kit, or only the module? If only the module (from your link) how do you power it and program it?

    Assuming you have some sort of development kit/evaluation board:

    1. Ok.

    2. Ok. Is your evaluation board arduino compatible? My guess is that it is not.

    3. ok. Is your board a redBearLab board?

    4 -5: -

    If you don't have a specific Arduino board, I guess that you will not be able to use Arduino IDE.

    I suggest you check out if your evaluation board producer has some sort of SDK. Alternatively, you can use the Nordic SDK, which you can find here:

    https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK

    Let me know what evaluation board you are using, and perhaps I can help you.

    Best regards,

    Edvin

Related