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

Unable to run the blinky example on a custom board nrf52811

I am trying to program my custom board nrf52811 by pca10056 using ses, and i was able to flash any example of nrf_SDK, however the LED does not blink. even though i added this code on custom_board.h : 

// Low frequency clock source to be used by the SoftDevice
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,              \
                                 .rc_ctiv       = 16,                               \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
but still nothing change. Also, I attached the sch of my board. nRF52811.schIn the end, i want to make this board work as a transmitter, but first i cannot get it to blink. i wish i could get help ASAP.  

Parents
  • Hi

    To transfer a project to custom hardware, please follow these steps:

    • Open the example project for your IDE.
    • In the project settings, change to device "NordicSemiconductor->nRF52811_xxaa".
    • In the C/C++ preprocessor settings, remove the defines "NRF52" and "NRF52840_XXAA".
    • Add the preprocessor define "NRF52811_XXAA".
    • In the linker script settings, adjust the linker script to match the maximum RAM and Flash size of nRF52811 (ROM END: 0x2FFFF and RAM END: 0x20005FFF.
    • Remove the following files from the project: <compiler>_startup_nrf52.s and system_nrf52.c.
    • Add the following files to the project: <compiler>_startup_nrf52811.s and system_nrf52811.c.
    • Finally, edit the necessary changes in the project itself to use the pins you are using in your HW, etc.

    Best regards,

    Simon

Reply
  • Hi

    To transfer a project to custom hardware, please follow these steps:

    • Open the example project for your IDE.
    • In the project settings, change to device "NordicSemiconductor->nRF52811_xxaa".
    • In the C/C++ preprocessor settings, remove the defines "NRF52" and "NRF52840_XXAA".
    • Add the preprocessor define "NRF52811_XXAA".
    • In the linker script settings, adjust the linker script to match the maximum RAM and Flash size of nRF52811 (ROM END: 0x2FFFF and RAM END: 0x20005FFF.
    • Remove the following files from the project: <compiler>_startup_nrf52.s and system_nrf52.c.
    • Add the following files to the project: <compiler>_startup_nrf52811.s and system_nrf52811.c.
    • Finally, edit the necessary changes in the project itself to use the pins you are using in your HW, etc.

    Best regards,

    Simon

Children
Related