~/dnim.dev
▸Writing▸About
All writing

~/writing/tags

#pps

1 post

Precision timing
March 2, 20266 min

The spare cores in a BeagleBone keep better time than its kernel

The standard Linux PPS driver timestamps the GPS pulse in an interrupt handler and pays ~20 µs of jitter for it. The BeagleBone has two 200 MHz real-time cores that Linux never touches. I moved the timestamp into one of those, and the clock offset dropped into the low nanoseconds.

#gps#pps#beaglebone#pru

dnim.dev · built and broken by JR

WritingGitHubRSS