Want to discipline the RTC time with respect to UTC with the aid of UBLOX GPS module. what are the different ways I could do this?
1. Use 1pps as external interrupt and count the number of pulses of RTC clock, then use sub second shift feature of RTC.
2. Supply the time pulse output of the UBLOX to the reference clock detection and configure the time pulse to be 60PPS and may be adjust duty cycle to 50 percent?
Im using a STM32H7 series Mcu- 5ppm RTC crystal 32.768khz , a Ublox neo M8 std modules.
Things I am looking for
Loss of GPS signal impact on time pulse signal and consequently on the RTC timing
RTC crystal ageing
For the reference clock detection I only found references to using it using mains supply
Pros and cons of each approach, any better approaches if any
Thanks