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

nRF52832 Breakout Board

I have a nRF52832 Breakout Board, in which i programmed using arm cortex debug connector, using Segger Emmbedde Studio. I uploaded one example from nRF5_SDK_15.3.0, the propramm is uploaded successfully, however the board doesn’t seem to implement it.

 How can I get the board to implement the program? As the same program is implemented when I upload it to nRF52832 development kit?

  • Hi Marshed, 

    does the nRF52832 breakout board have a external 32kHz crystal? The SDK examples are configured to use an  external 32kHz crystal as the low frequency clock source. If this external crystal is not present, then you need to change the configuration so that the internal RC oscillator is used instead. This is done by setting the following configuration in the sdk_config.h file of the example

    // </h> 
    //==========================================================
    
    // <h> Clock - SoftDevice clock configuration
    
    //==========================================================
    // <o> NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
     
    // <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 0
    #endif
    
    // <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
    #ifndef NRF_SDH_CLOCK_LF_RC_CTIV
    #define NRF_SDH_CLOCK_LF_RC_CTIV 16
    #endif
    
    // <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
    // <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
    // <i>  if the temperature has not changed.
    
    #ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
    #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
    #endif
    
    // <o> NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
     
    // <0=> NRF_CLOCK_LF_ACCURACY_250_PPM 
    // <1=> NRF_CLOCK_LF_ACCURACY_500_PPM 

    Best regards

    Bjørn

  • the clock was connected so that wasn't the problem.

    I figured if you want to program these devices which come with their own software you should first erase all before loading your new program. I did that and it worked fine. 

  • Yes, if the application is using a SoftDevice, then that must be flashed first. 

Related