SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: ethernet_ex5_ptp_offload_slave.c
This example configures the device in IEEE PTPv2 Slave mode and sets the options that are needed by the offload engine to operate such as the domainNumber, LogSyncInterval among others. After that it enables sending DelayReq messages periodically for every configurable number of Sync packets.
External Connections
This example programs the Ethernet module in PTP Offload Slave mode. The example project Ethernet PTP Offload Master is intended to be used along with this project to see the whole PTP Offload engine in action. The second device is configured as Slave and both devices in conjunction exchange Sync, DelayReq and DelayResp packets.
Refer to the C28x CPU1 code of ethernet_config_c28x project for configuring the PTP clock that drives the system time counter on the Ethernet module.
Watch Variables