STMicroelectronics AN3411 IEEE 1588 PTP Application Note for STM32F107

This is an application note that introduces the implementation of IEEE 1588 precision time protocol on STM32F107.


STMicroelectronics AN3411 IEEE 1588 PTP Application Note for STM32F107 - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
37
File format
PDF
File size
1.7 MB
Published
06 August, 2012
Updated
01 October, 2023
MD5 checksum
ADDD3CF83E4CE44CFB3F5F829C040E92

About this manual

This document presents a demonstration package for implementing the IEEE 1588-2002 and IEEE 1588-2008 Precision Time Protocol (PTP) on the STM32F107 connectivity line microcontroller. It utilizes the MCU's built-in hardware time stamping unit to achieve sub-microsecond synchronization precision, which is superior to software-only solutions.

The application note details the integration of the PTP daemon (PTPd) with the lwIP TCP/IP stack. It provides specific instructions for setting up the STM32F107 Ethernet MAC controller's time stamping unit, configuring correction methods, and porting the software stacks. The guide includes examples using evaluation boards such as the STEVAL-PCC010V1 and STM3210C-EVAL.

What's inside

  • Introduction
  • Description
  • STM32F107 PTP stack implementation software resources
  • STM32F107 PTP hardware unit set-up
  • Software porting of the PTPd stack for STM32F107
  • Getting started with the demonstration software

Frequently asked questions

What is the main objective of this application note?

To present a demonstration package built on top of the free lwIP TCP/IP stack and the free PTPd stack for IEEE1588 synchronization.

Which IEEE 1588 versions are implemented?

The implementation covers both IEEE 1588-2002 (PTP v1) and IEEE 1588-2008 (PTP v2).

What hardware feature is used for time synchronization?

The STM32F107's Ethernet MAC controller time stamping unit.

Download PDF (1.7 MB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →