centerclick / feedback

Issues, Bug Reports, and Feature Requests
7 stars 0 forks source link

PTP support #63

Open ausil opened 1 year ago

ausil commented 1 year ago

It looks like PTP is not supported, it would be great to add support for the protocol

dave4445 commented 1 year ago

CPU on the NTP2xx doesn't support 1588, this is on the list of hardware requirements for the NTP3xx

ddrown commented 1 year ago

This could also benefit NTP depending on which hardware you chose. chrony supports using hardware (1588) timestamps for NTP. https://wiki.gentoo.org/wiki/Chrony_with_hardware_timestamping

pcnate commented 1 year ago

Looks like the CM4 supports PTP. Or rather, it is supposed to support it but has issues.

ddrown commented 1 year ago

I've found the CM4's PTP support to be unreliable. CM4's support also has a restriction that it can't be used for regular NTP packets, only PTP or NTP-in-PTP (RFC draft draft-mlichvar-ntp-over-ptp)

dave4445 commented 1 year ago

FYI: right now we're looking at using a NXP IMX6ULL or ST STM32MP151 for the NTP3xx.

ddrown commented 1 year ago

I like the stm32mp1xx hardware, and I have a driver for the hardware timer input capture here: https://github.com/ddrown/stm32-timer-drivers