Chapter 13: Software Drivers; Clock Master - Xilinx LogiCORE IP Ethernet AVB Endpoint v2.4 User Manual

Table of Contents

Advertisement

Software Drivers
Software drivers delivered with the Ethernet AVB Endpoint core provide the following
functions, which utilize the dedicated hardware within the core for the Precise Timing
Protocol (PTP) IEEE P802.1AS specification:
The following definitions provide only a simplistic concept of PTP protocol operation. For
detailed information about the PTP protocol, see the IEEE P802.1AS specification.
This chapter only describes the basic operation and some key components of the software
drivers. The software driver code is documented such that the comments can be viewed by
Doxygen and detailed descriptions of all aspects of the software are available throughout
the code. This should allow customers to fully understand the operation of the provided
software drivers and to edit the drivers for their own secret source applications.
Fundamentally, the slave
software controlled phase-locked loop. Therefore, many implementations are possible.
The provided software drivers implement a very simple software PLL implementation.
However, this has been shown in hardware to provide excellent
synchronization results.
The document section
delivered with the Ethernet AVB Endpoint core and provides a description of how the
software is divided up between these files.

Clock Master

If the core is acting as clock master, the software drivers delivered with the core
periodically sample the current value of the RTC and transmit this value to every device on
the network using the P802.1 defined Sync and Follow-Up PTP packets.
Ethernet AVB Endpoint User Guide
UG492 September 21, 2010
Best Clock Master Algorithm (BMCA) determines whether the core should operate
in master clock or slave clock mode
PTP Clock Master functions
PTP Clock Slave functions that accurately synchronize the local Real Time Clock
(RTC) to match that of the network clock master
"Real Time Clock"
"drivers/avb_v2_04_a/src" in Chapter 16
www.xilinx.com
Chapter 13
synchronization functions complete a
"Real Time Clock"
lists all of the C files
131

Advertisement

Table of Contents
loading

Table of Contents