Function Generator instead of LFCLK

I am working on synchronizing RTC timers on several nrf52832s and i would like to have a single clock clocking all the RTCs on all the boards. I understand that the LFCLK can be bypassed and a signal provided on XL1 and XL2 pins. I have been providing a 250mV pp sine wave on XL1 and grounding XL2, and i have configured the solder bridges appropriately and the low frequency clock wont start. Is there something i am missing or is it that using a function gen as a clock source is not possible?

Parents Reply Children
  • Hi,

    prosper said:
    The LFCLKSTAT register is defaulting to RC oscillator for some reason

    I think this is caused by the debug session. Entering debug interface mode will likely force the LFRC on, as this clock source is needed in this mode. I see the same on my end.

    I tested the low swing external clock input on one of my DKs. It is working as expected with 200mVpp sine input from a signal generator. I tested with different offsets (0mV, +50mV, +100mV) and all work on my end. Can you try out this test application to see if it works for you?

    rtc_ext_lfxo_pca10040.hex

    It will turn on LED4 on the DK (clear P0.20) when clock have started, and toggle LED1 at a regular interval.

    Best regards,
    Jørgen

Related