Trim clock from pulse-per-second GPS signal?
Using STM32F030 / F042. I have a GPS receiver onboard which produces a very accurate pulse-per-second signal (~40ns). I want to use this timing source to keep the system clock, or at least the RTC accurate. The user may wander in and out of GPS reception, so the pulses may come at odd intervals, but when they come, their rising edges always align with the top of the second.
I should add that I'm using an 8MHz crystal resonator (HSE).
