Синхронизируй то. Акт II: базовый PTPv2

И снова здравствуйте. В прошлый раз мы подробно разбирали технологию частотной синхронизации SyncE, в позапрошлый пробежались по верхушкам профиля G.8275.2 ATR. Сегодня же с интересом будем препарировать никем неиспользуемый базовый протокол IEEE 1588v2 или PTPv2 Default Profile. Планируется много любопытного: поностальгируем о былых деньках, натянем STP на маршрутизаторы, всем миром извинимся перед афроамериканцами, заглянем в миллион дампов, устанем смотреть картинки, как следует изучим всю матчасть, поднаберемся нужных словечек, чтобы уже в следующем акте со всей необходимой теоретической базой че-нить куда-нить внедрить и даже по траблшутить. Айда разбираться

https://habr.com/ru/articles/1025018/

#ptpv2 #synce #IEEE1588 #синхронизация #lte_tdd

Синхронизируй то. Акт II: базовый PTPv2

И снова здравствуйте. В прошлый раз мы подробно разбирали технологию частотной синхронизации SyncE, в позапрошлый пробежались по верхушкам профиля G.8275.2 ATR. Сегодня же с интересом будем...

Хабр

PTP Client unter Linux: Precision Time Protocol (IEEE 1588) erklärt und eingerichtet

Mit dem Precision Time Protocol (PTP, IEEE 1588) lassen sich Netzwerke bis auf Mikrosekunden genau synchronisieren. Ein PTP Client unter Linux zeigt im

#IEEE1588 #LinuxZeitserver #NTPAlternative #phc2sys #PrecisionTimeProtocol #PTPClientLinux #PTPHardwareClock #PTPVsNTP #ptp4l #RaspberryPiPTP #SoftwarePTP #Zeitprotokolle #ZeitsynchronisationNetzwerk

https://dirkwouters.de/ptp-client-unter-linux-precision-time-protocol-ieee-1588-erklaert-und-eingerichtet/

New Part Day: Raspberry Pi HAT for IEEE1588 Precision Time Protocol

The new Real-Time HAT by InnoRoute adds IEEE1588 PTP support in hardware to a Raspberry Pi 4 nestled beneath. Based around a Xilinx Artix-7 FPGA and a handful of gigabit Ethernet PHY devices, the HAT acts as network-passthrough, adding accurate time-stamps to egress (outgoing) packets and stripping time-stamps from the ingress (incoming) side.

This hardware time-stamping involves re-writing Ethernet packets on-the-fly using specialised network hardware which the Raspberry Pi does not have. Yes, there are software-only 1588 stacks, but they can only get down to 10s of microsecond resolutions, unlike a hardware approach which can get down to 10s of nanoseconds.

1588 is used heavily for applications such as telecoms infrastructure, factory equipment control and anything requiring synchronisation of data-consuming or data-producing devices. CERN makes very heavy use of 1588 for its enormous arrays of sensors and control equipment, for all the LHC experiments. This is the WhiteRabbit System, presumably named after the time-obsessed white rabbit of Alice In Wonderland fame. So, if you have a large installation and a need for precisely controlling when stuff happens across it, this may be just the thing you're looking for.

IEEE1588 PTP Synchronisation

The PTP client and master device ping a few messages back and forth between themselves, with the network time-stamper recording the precise moment a packet crosses the interface. These time-stamps are recorded with the local clock. This is important. From these measurements, the time-of-flight of the packet and offset of the local clock from the remote clock may be calculated and corrected for. In this way each client node (the hat) in the network will have the same idea of current time, and hence all network packets flowing through the whole network can be synchronised.

The beauty of the system is that the network switches, wiring and all that common infrastructure don't need to speak 1588 nor have any other special features, they just need to pass along the packets, ideally with a consistent delay.

The Real-Time HAT configures its FPGA via SPI, straight from Raspberry Pi OS, with multiple applications possible, just by a change on the command line. It is possible to upload custom bitstreams, allowing the HAT to be used as a general purpose FPGA dev board should you wish to do so. It even stacks with the official PoE HAT, which makes it even more useful for hanging sensors on the end of a single wire.

Of course, if your needs are somewhat simpler and smaller in scale than a Swiss city, you could just hack a GPS clock source into a Raspberry Pi with a little soldering and call it a day.

#fpga #networkhacks #raspberrypi #ieee1588 #newpartday #ptp #raspberrypihat #xilinx

New Part Day: Raspberry Pi HAT For IEEE1588 Precision Time Protocol

The new Real-Time HAT by InnoRoute adds IEEE1588 PTP support in hardware to a Raspberry Pi 4 nestled beneath. Based around a Xilinx Artix-7 FPGA and a handful of gigabit Ethernet PHY devices, the H…

Hackaday
IEEE1588 Precision Time Protocol (PTP) for implementation of Time Sensitive Networking (TSN) for industrial grade Open Source Hardware STMP1-OLinuXiino-LIME2 is implemented in mainline Linux https://olimex.wordpress.com/2021/03/19/ieee-1588-precision-time-protocol-ptp-is-implemented-for-the-industrial-grade-open-source-hardware-linux-computer-stmp1-olinuxino-lime2/ #ieee1588 #linux #mainline #industrial #ptp #tsn #raspberrypi
IEEE 1588 Precision Time Protocol (PTP) is implemented for the industrial grade Open Source Hardware Linux computer STMP1-OLinuXino-LIME2

olimex