Hello,
is it possible to use a external clock e.g. a digital output of a TXCO. As source for the LF clock. So the same clock source as used for the host uC can be used for the nRF52832.
Greets, Andi
Hello,
is it possible to use a external clock e.g. a digital output of a TXCO. As source for the LF clock. So the same clock source as used for the host uC can be used for the nRF52832.
Greets, Andi
Yes, the nRF52832 can accept an external 32.768 kHz clock feed.
The requirements are:
Signal shall be fed into XL1 pin
If low-swing sine: XL2 pin shall be grounded. Recommend >200 mVpp to ensure higher S/N ratio.
If rail-to-rail: XL2 can be left open or grounded. Voltage requirement from GND to VDD_NRF.
Now you can start the LFCLK as if it was an external crystal source.
PS: For those who might wonder, external clock source for the 32 MHz clock is not supported. It used to be on the nRF51, but the clock module has been redesigned on the nRF52.
@martinbl: Ah ! Thanks for the LFCLKSRC link, I was using the 1.0 PDF specification and "bypass" and "external clock" wasn't described. But now, how I set these bits with the SDK 11.0.0 (neither in defines, nor in nrf_clock_lf_cfg_t struct). See this question for the details.
@martinbl: Ah ! Thanks for the LFCLKSRC link, I was using the 1.0 PDF specification and "bypass" and "external clock" wasn't described. But now, how I set these bits with the SDK 11.0.0 (neither in defines, nor in nrf_clock_lf_cfg_t struct). See this question for the details.