Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with nrf52832 xxab.

Parents
  • Have a look at the 

    #define NRF_SDH_CLOCK_LF_SRC 1
    in your sdk config file

  • Hello,

    Thank you for your responce, I tried to do it and got an error, but fuction out. I will write the code in 10 minutes

    Tried to change 1 to 2:

    // <0=> NRF_CLOCK_LF_SRC_RC // <1=> NRF_CLOCK_LF_SRC_XTAL // <2=> NRF_CLOCK_LF_SRC_SYNTH

    #ifndef NRF_SDH_CLOCK_LF_SRC

    #define NRF_SDH_CLOCK_LF_SRC 2

    #endif

    The same, but I put in linker file:

    /*###ICF### Section handled by ICF editor, don't touch! ****/
    /*-Editor annotation file-*/
    /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
    /*-Specials-*/
    define symbol __ICFEDIT_intvec_start__ = 0x0000;
    /*-Memory Regions-*/
    define symbol __ICFEDIT_region_ROM_start__ = 0x00000;
    define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF;
    define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
    define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF;
    export symbol __ICFEDIT_region_RAM_start__;
    export symbol __ICFEDIT_region_RAM_end__;
    /*-Sizes-*/
    define symbol __ICFEDIT_size_cstack__ = 0x900;
    define symbol __ICFEDIT_size_heap__ = 0x800;
    /**** End of ICF editor section. ###ICF###*/

    define memory mem with size = 4G;
    define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
    define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];

    define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
    define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };

    initialize by copy { readwrite };
    do not initialize { section .noinit };

    keep { section .intvec };
    place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
    place in ROM_region { readonly };
    place in RAM_region { readwrite,
    block CSTACK,
    block HEAP };

  • I think you want to change it to 0 (not 2) for RC ?

Reply Children
No Data
Related