Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 芯片厂商
  • 支持
  • 关于我们
  • Search
  • 工作机会
  • 新闻简报
  • 联系我们
  • 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

    全球总部

    德国: SEGGER Microcontroller GmbH

    地址: Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    电邮: info@segger.com
    电话: +49-2173-99312-0
    传真: +49-2173-99312-28

    网点分布

    中国:哲戈微系统科技(上海)有限公司

    地址: 中国上海市闵行区秀涟路133号
    大虹桥国际A 栋218室
    邮编201199
    电邮: china@segger.com
    电话: +86-133-619-907-60


    简易信息聚合

    通过ISO 9001认证

    ISO 9001

    30多年的嵌入式行业经验

    First-class embedded software tools since 1992
    • 版本说明
    • 免责声明
    • 行为准则
    • 隐私策略
    • 沪ICP备2022005181号
    • 沪公网安备 31011202014525号
    © 2025 SEGGER - 版权所有.

    您即将离开 segger.cn 而访问境外网站,是否继续?