Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Silicon Vendors
  • Support
  • About Us
  • Blog
  • Forum
  • Search
  • Jobs
  • Newsletter
  • Blog
  • Contact
  • Shop
  • emNet
  • PTP OC Client

    PTP OC Client

    The emNet Precision Time Protocol (PTP) Client implementation is an optional extension which can be seamlessly integrated into your application.

    Contact us
    Downloads
    Documentation
    SEGGER emNet
    1. 1.PTP background
    2. 2.Hardware support
    3. 3.Requirements
    4. 4.Resource Usage
    5. 5.Industry Standard IEEE 1588 Part 2

    Overview

    With hardware support the precision of the synchronization is around 100ns between target or ordinary clock and reference or grandmaster clock. This implementation combines a maximum of performance with a small memory footprint. This implementation covers PTP version 2 for ordinary slave-only clocks with the Delay/Response mechanism.

    PTP 3 bg

    Time Sync

    Time synchronisation is required in all applications where data sources and/or sensors are coupled with each other. Timing is essential in the imaging or image recognition industry, in audio applications, in other broadcasting and media applications, as well as in industrial automation.

    The IEEE1588 implementation emNet PTP OC makes sure, that machines can collaborate and interact with each other. It ensures, that video camera and microphone as well as other sensors provide data with a unified time stamp.

    Key features

    • Precision Time Protocol (PTP)
    • Accuracy of 100ns between target and reference
    • Clock synchronisation via network for hard real-time conditions
    • Seamless integration with the emNet stack
    • Time synchronization with a remote PTP master clock
    • Support for IEEE 1588-2008 hardware time stamps

    PTP background

    The PTP protocol is an API on top of the UDP or plain Ethernet protocol. It provides a way of synchronizing the target with a master clock over the local network. The emNet implementation provides an ordinary slave-only clock.

    PTP Network

    PTP can be used with different protocols. This implementation currently supports PTP over UDP IPv4, PTP over UDP IPv6 and PTP over Ethernet. PTP messages are exchanged with multicast addresses.

    If more than one master clock is present in the network, a selection algorithm is performed to select the one used as reference.

    The Delay/Response mechanism provides a simple way to synchronize the time of a slave clock with a master clock.

     

    PTP provides also a way to control and configure clocks with the usage of management messages.

    PTP Description 01

    Hardware support

    The emNet PTP add-on is able to work without the support of hardware. In this case, the system clock is used.

    If the hardware supports PTP, a specific PTP driver can be added to benefit from hardware timestamps and a higher precision. You can find already available PTP drivers on our emNet price list. If your device is not listed, please contact us to check if a PTP driver for your device can be developed.

    Requirements

    TCP/IP Stack

    The emNet PTP implementation requires the emNet TCP/IP stack.

    Is hardware support needed?

    The emNet PTP implementation does not require hardware support. A complete software solution is possible. For hardware supporting PTP, it is possible to add and use a specific PTP driver in order to reach a higher precision than with the software only solution.

    Resource Usage

    The ROM usage depends on the compiler options, the compiler version and the used CPU. The memory requirements of the PTP client presented in the tables below have been measured on a Cortex-M4 system using SEGGER Embedded Studio, size optimized.

    Memory TypeMemory Usage
    RAMApproximately 300 Byte
    ROMApproximately 7.0 kByte

    Industry Standard IEEE 1588 Part 2

    The Precision Time Protocol Ordinary Clock (PTP OC) add-on implements the relevant parts of the IEEE standard.

    IEEE-StdDescription
    [1588-2008]

    IEEE Standard for a Precision Clock Synchronization for Networked Measurement and Control Systems.
    A copy could be ordered here:
    http://www.nist.gov/el/isd/ieee/ieee1588.cfm

    • User manual
    • Online documentation
    • List of downloads
    • Release notes
    • Update notification
    • Pricing
    • Support
    • Silicon vendor resources

    Headquarters

    SEGGER Microcontroller GmbH

    Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    info@segger.com
    Tel.: +49-2173-99312-0
    Fax: +49-2173-99312-28

    Locations

    USA: SEGGER Microcontroller Systems LLC

    Boston area
    101 Suffolk Lane
    Gardner, MA 01440, USA
    us-east@segger.com
    Tel.: +1-978-874-0299
    Fax: +1-978-874-0599

    Silicon Valley
    Milpitas, CA 95035, USA
    us-west@segger.com
    Tel.: +1-408-767-4068

    China: SEGGER Microcontroller China Co., Ltd.

    Room 218, Block A, Dahongqiaoguoji
    No. 133 Xiulian Road
    Minhang District, Shanghai 201199, China
    china@segger.com
    Tel.: +86-133-619-907-60

    ISO 9001 certified

    ISO 9001

    30+ years of experience

    First-class embedded software tools since 1992
    • Imprint
    • Disclaimer
    • Code of Conduct
    • Privacy Policy
    © 2025 SEGGER - All rights reserved.