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

Problem detecting external crystal oscillator in custom nrf52832

Hi 

I'm facing problem to detect external crystal oscillator in my custom nrf52832 board's. I'm think it is not connection issue as I'm facing same issue in other 9 boards as well.

When I'm using internal RC (nrf_sdh.c file) BLE blinky example is working fine. 

    nrf_clock_lf_cfg_t const clock_lf_cfg =
    {
        
        .source        = NRF_SDH_CLOCK_LF_SRC,
        .rc_ctiv       = NRF_SDH_CLOCK_LF_RC_CTIV,
        .rc_temp_ctiv  = NRF_SDH_CLOCK_LF_RC_TEMP_CTIV,
        #ifdef S140
            .xtal_accuracy = NRF_SDH_CLOCK_LF_XTAL_ACCURACY
        #else
            .accuracy      = NRF_SDH_CLOCK_LF_XTAL_ACCURACY
        #endif

        /* Working fine
              .source = 0,
              .rc_ctiv = 16,
              .rc_temp_ctiv = 2,
              .accuracy = 7 
        */

    };
 

Schematic 

Board Layout

Assembled PCB

We also check crystal orientation 1st and 3rd pins need to be connect while 2 (cut pad) and 4 NC. value of C1 and C2 are 12pF.   

Related