Skip to content

High precision time synchronization for the Teensy 4.1 microcontroller platform

License

Notifications You must be signed in to change notification settings

IMS-AS-LUH/t41-ptp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example workflow

t41-ptp

This repository provides the source code for our research paper "Sub-Microsecond Time Synchronization for Network-Connected Microcontrollers" (Final published article, Open Access: accepted version). This Arduino compatible library has been created to provide high precision time synchronization for the Teensy 4.1 microcontroller platform.

This library was created by the Architectures and Systems Group of the Institute of Microelectronic Systems (IMS/AS) at the Leibniz University in Germany.

Screenshot

Getting Started

Prerequisites

Installation

  • Clone the library folder to your Arduino-libraries path
  • Restart Arduino IDE

Examples

We provide examples for a Teensy 4.1 to act as PTP Slave and PTP Master

Test Setup

A GPS module (Adafruit Ultimate GPS) is connected to the PTP Master (Teensy 4.1) via a PPS signal. The PTP Slave (Teensy 4.1) is synchronized to the PTP Master via a network connection. Setup

Citation

If you use our PTP library (or parts of it) in scientific work, please cite our ICCE 2024 paper (Final published article, Open Access: accepted version).

@inproceedings{schleusner2024sub,
 title={Sub-Microsecond Time Synchronization for Network-Connected Microcontrollers},
 author={Schleusner, Jens and Fahnemann, Christian and Pfleiderer, Richard and Blume, Holger},
 booktitle={2024 IEEE International Conference on Consumer Electronics (ICCE)},
 month=jan,
 year=2024,
 keywords={Microcontrollers;Hardware;Synchronization;Phase locked loops;Standards;Global Positioning System;Clocks;PTP;Precision Time Protocol;Microcontroller;Embedded System;TSN;Time Sensitive Networking},
 doi={10.1109/ICCE59016.2024.10444401}
}

License

Distributed under the MIT license. Please see LICENSE for more information.