Still chasing those nanoseconds. Basically I am using the CPU clock to timestamp...

@revk@toot.me.uk

Still chasing those nanoseconds.

Basically I am using the CPU clock to timestamp things.

This means I have to track changes to CPU clock.

There is some granularity (12.5ns) and occasional jitter a little bigger. Also some random jitter much larger due to interrupt delays (higher priority in o/s).

I assumed stable!

The big thing I now realise is local temp of crystal in the ESP32 module, not just ambient, can cause some 0.2ppm variations over short periods of a few seconds.

…
#GPS #NTP