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

Bluetooth low energy Advertising not working

Hi. i'm using IAR and St-link to program the nRF52832, and run this tutorial on my custom board, but the Bluetooth has not been set up by the method that you proposed. and also the crystal dose not work because when i set the delay on for example:500 ms, my real waiting time is almost 4 seconds.please help me to set the out put crystal and set up the Bluetooth. Thank you.

Parents
  • Set the following to synth

    // <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 2
    #endif


    This will confirm if it is a hardware fault.

    Chip usually outright hangs if the LF_XTAL is not set correctly. Check all configs related to the LF_XTAL.

Reply
  • Set the following to synth

    // <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 2
    #endif


    This will confirm if it is a hardware fault.

    Chip usually outright hangs if the LF_XTAL is not set correctly. Check all configs related to the LF_XTAL.

Children
Related