45.7. tsn_ptp_freertos_slave
45.7.1. Overview
This example shows a functionality of TSN PTP slave
Master communicates with slave via the gPTP protocol.
45.7.2. Board Settings
Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable
Connect a TSN RGMII port on a development board with a TSN RGMII port on another development board
45.7.3. Project Configurations
None
45.7.4. Run Example
Compiling and Downloading
Running log is shown in the serial terminal as follows:
This is a TSW demo: PTP Slave
TSW phy init passed !
starting task 'syn eth0' ... done
PTP4TSYNC | add domain 0
PTP4TSYNC | set ptp traffic priority=0 (Background) for domain 0
PTP4TSYNC | add eth0 to domain 0
Link Status: Down
Link Status: Up
Link Speed: 1000Mbps
Link Duplex: Full duplex
domain 0: domaintime=1725874203.019739580 or Mon Sep 09 09:30:03 2024
PTP4TSYNC | assign sync source to domain 0
domain 0: domaintime=1726133607.430393244 or Thu Sep 12 09:33:27 2024
domain 0: domaintime=1726133610.436395863 or Thu Sep 12 09:33:30 2024