Can the nRF52 output the 32.768kHz clock on a GPIO. If so, do I need the 32.768kHz xtal, or can I output the generated clock from the 32MHz xtal? I need this clock to sync other ICs.
Can the nRF52 output the 32.768kHz clock on a GPIO. If so, do I need the 32.768kHz xtal, or can I output the generated clock from the 32MHz xtal? I need this clock to sync other ICs.
XOR is a passive gate; it does not affect timing (other than prop delay).
They should not drift, like you can see in the code, the rising and falling edge of the generated clock through RTC are resets for the generating the delayed clock edges (In a way the first one is calibrating the second delayed generated clock every cycle). So it should be perfectly calibrated every cycle. I verified it over 50 seconds log and i can confirm that, you can also try this and look in the signal analyzer.
I see; didn't realize the delayed clock was "recalibrated" every clock cycle, which in essence gives you a delayed RTC clock. I suppose this should work; thanks! There's no way to do the XOR internally to the MCU though, right?
i am not aware of any method that you can do it with the MCU.