Electronics > Projects, Designs, and Technical Stuff

STM32 Open Time Server

(1/2) > >>

AndrewBCN:
The STM32 Open Time Server is a compact, inexpensive, 100% Open Source NTP and/or PTP server based on two STM32 development boards. It is based on a combination of my previous project, the STM32 GPSDO with an STM32F429 Nucleo-144 development board with Ethernet running the PTP and/or NTP server programs. See attached diagram.

My previous STM32 GPSDO project is described in this thread: https://www.eevblog.com/forum/projects/yet-another-diy-gpsdo-yes-another-one/

The STM32 GPSDO provides the Nucleo board with a 1PPS synchronized to GPS time / UTC within +/-100ns. The Nucleo board uses this information to provide sub-microsecond accurate timing over the network it is connected to, using either the NTP or PTP protocols.

AndrewBCN:
reserved

dmendesf:
 That's great news! Just to be clear , is it PTPv1 or PTPv2?

AndrewBCN:
Boa pergunta!  ;)

--- Quote from: dmendesf on September 25, 2021, 12:58:47 pm --- That's great news! Just to be clear , is it PTPv1 or PTPv2?

--- End quote ---

PTP

It will be IEEE 1588-2008 compliant, so that's PTP Version 2. https://en.wikipedia.org/wiki/Precision_Time_Protocol

The PTP server implementation will be based on this one: https://github.com/mpthompson/stm32_ptpd

I have two boards Nucleo STM32F429 boards, one will be used to test the PTP master server code and the other the PTP slave server code. I also have three STM32 GPSDOs so I can check the performance of the PTP server code.

And also, I have a number of SBCs running Linux, again these can be used to test the STM32 Open Time Server performance and compliance with the IEEE 1588-2008 protocol.

NTP

FreeRTOS has a native ntpd implementation, documented here: https://www.freertos.org/sntp/setting-up-an-ntp-server.html

bingo600:

--- Quote from: AndrewBCN on September 25, 2021, 02:19:39 pm ---NTP

FreeRTOS has a native ntpd implementation, documented here: https://www.freertos.org/sntp/setting-up-an-ntp-server.html

--- End quote ---

To me the above seems to be a guide to install Chrony on linux.

Prob. to have something to verify the FreeRTOS sntp client against.

/Bingo

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version