acassis opened a new pull request, #21857:
URL: https://github.com/apache/nuttx/pull/21857

   ## Summary
   
   These patches add support to use a GNSS/GPS PPS pin to clock discipline 
(following PTP standard)
   
   ## Impact
   
   Users could use a low cost GNSS with PPS to sync two or more boards.
   
   ## Testing
   
   ```
     nsh> uname -a
     NuttX 0.0.0 b2fb8a7c Nov 13 2026 19:37:12 arm stm32f4discovery
     nsh> ls /dev
     /dev:
      console
      null
      ptp0
      ttyS0
      ttyS1
      zero
     nsh> gnsspps -s /dev/ttyS1 -n 100
     gnsspps: /dev/ptp0 channel 0, NMEA from /dev/ttyS1
     gnsspps: locked, offset -296857179 ns stepped, freq -71155 ppb
     gnsspps: stepping +27383908 s to NMEA time
     gnsspps: rms 183 ns max 474 ns freq -71033 ppb
     gnsspps: rms 190 ns max 461 ns freq -70690 ppb
     gnsspps: rms 81 ns max 153 ns freq -71205 ppb
     gnsspps: rms 200 ns max 508 ns freq -71048 ppb
     gnsspps: rms 186 ns max 459 ns freq -70798 ppb
     gnsspps: rms 80 ns max 115 ns freq -71256 ppb
     nsh>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to