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

nRF52840 Bluetooth not work

Hi i just bough module nRF52840 from EBYTE.

i test with peripheral work as normal but example Bluetooth Uart not working .  i uploaded success but no device found from my phone.

does module need crystal 32.768khz or not ? because this module don't have crystal 32.768khz

Parents
  • Hi.

    The ble_app_uart example is configured to use a LF crystal, you have to change this in the sdk_config so that it uses the RC inside the nRF52840 chip.

    Set "NRFX_CLOCK_CONFIG_LF_SRC 0" in SDK config so that it uses RC.

    // <0=> RC 
    // <1=> XTAL 
    // <2=> Synth 
    // <131073=> External Low Swing 
    // <196609=> External Full Swing 
    
    #ifndef NRFX_CLOCK_CONFIG_LF_SRC
    #define NRFX_CLOCK_CONFIG_LF_SRC 0
    #endif

    Best regards,

    Andreas

Reply
  • Hi.

    The ble_app_uart example is configured to use a LF crystal, you have to change this in the sdk_config so that it uses the RC inside the nRF52840 chip.

    Set "NRFX_CLOCK_CONFIG_LF_SRC 0" in SDK config so that it uses RC.

    // <0=> RC 
    // <1=> XTAL 
    // <2=> Synth 
    // <131073=> External Low Swing 
    // <196609=> External Full Swing 
    
    #ifndef NRFX_CLOCK_CONFIG_LF_SRC
    #define NRFX_CLOCK_CONFIG_LF_SRC 0
    #endif

    Best regards,

    Andreas

Children
Related