Hi
PDK version :pdk_jacinto_07_01_00_45
Code version:pdk_jacinto_07_01_00_45\packages\ti\transport\timeSync\v2
I noticed some conflicts:
The eventID of frame pending to get Tx timestamp is Pdelay_Requset,while the input para of TimeSyncPtp_getTxTs is TIMESYNC_DELAY_REQ_FRAME.
The eventID of frame pending to get Tx timestamp is Pdelay_Response,while the input para of TimeSyncPtp_getTxTs is TIMESYNC_DELAY_RESP_FRAME.
Another conflict is in TimeSyncPtp_getTxTs() in timeSync_ptp.c
The condition is to check frame type of TIMESYNC_DELAY_RESP_FRAME while get the timestamp of TIMESYNC_PDELAY_RESP_FRAME.
Why?
Also I have some other questions:
1. Why can not use the combination that ptpConfig->protocol = TIMESYNC_PROT_IEEE_802_3 & ptpConfig->type =TIMESYNC_PTP_DELAY_E2E?
2. There are 4 types of frame needed to get timestamp while the code is just get three of them.it does not get time stamp of Delay_req.
3. Errors happened when getting the time stamp using the mode of E2E over udp.Here is the configuration of Master side:
The error log is:
Is there any other parameters needed to be configured?