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

Mbed OS not work on nRF52840-DK

I received  nRF52840-DK from Mouser :
Sales Order No:
Web Order No:
Order Date:
242789421
14270760
29-May-18
I started to use it and some problems exist:
 
1. I placed power selector to "USB" and connected USB cable but board is not powered.
It's work only when I select "external power source" and  connected USB cable. I don't know what need select when I connect  "external power source" or "lithium battery"
 
2. I got it for use with Mbed OS.  I used online compiler with simplest "mbed-os-example-blinky"
After success compilation I placed bin file to JLINK drive but after reboot led is not blinked :(
and see that it's not same board I received.
Please help to make it work.
Parents Reply
  • I guess that the nRF52840 platform is not working yet. If you compile the project that you linked with this main.cpp:

    #include "mbed.h"
    
    DigitalOut led1(P0_13); //LED1 = 13 on nRF52840 DK
    
    // main() runs in its own thread in the OS
    int main() {
        while (true) {
            led1 = !led1;
            wait(0.5);
        }
    }

    And use the nRF52DK as platform, it works.

    After uploading the binary, you have to power cycle the board(!) not just the reset button.

     

    I know that this is not ideal. But I have no better solution, until a stable version of the nRF52840 platform is released on mbed.

     

    Best regards,

    Edvin

Children
Related