SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: ethernet_ex5_ptp_offload_master.c
This example configures the device in IEEE PTPv2 Master 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 SYNC messages periodically according to the interval already set previously.
External Connections
This example programs the Ethernet module in PTP Offload Master mode. The example project Ethernet PTP Offload Slave 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