Experts.
we use SDK7.2 of TDA4, Does this support GPTP transmission protocol for sending and receiving network messages?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
We do not support GPTP as that is a particular variant of PTP-1588 and needs support in stack but PTP messages can be received on R5F and processed. You can even redirect that traffic to A72 core.
For GPTP, you will need to integrate your own GPTP stack in the application.
Regards
Vineet
Hi,
There are still some questions: Can the GPTP package be used directly via GPSW9G to the A72 kernel (Linux) without the need to adapt the SDK7.2 code?
You will have to do your own adaptation for GPTP package. The driver can only be configured to send PTP packets and timestamp to A72.
We also do not have any plans to implement PTP and TSN support for CPSW 9G on A72, support will be limited to R5F only.
Regards
Vineet
OK, so this is the same kind of question as the other one?
(A72 broadcast and multicast packet receiving and receiving problems)
Hi,
I checked internally. PTP packets can be routed to A72 (currently routed to R5F) based on the E2E you described above. But the problem is that A72 should not access the CPTS timestamp FIFO as only R5F is supposed to access CPTS/CPSW registers. So it cannot get the PTP timestamps.
So you cannot port GPTP stack to A72 easily, even though A72 can receive PTP packets.It would require a certain handshake mechanism between A72 and R5F to get the timestamps.
We currently do not have a plan to enable this feature.
Regards
Vineet
Hi
Vineet Roy
Now we want to implement the GPTP function of A72. According to what you mentioned above, do you have specific method : 1) How does R5F access the CPTS/CPSW registers to obtain the timestamp? 2) What is the synchronization mechanism between A72 and R5F?
thank you
Hi,
1) How does R5F access the CPTS/CPSW registers to obtain the timestamp?
Please take a look at the file pdk/packages/ti/transport/timeSync/v2/src/ip/cpsw/timeSync_cpsw.c, look at the functions TimeSync_getRxTimestamp() and TimeSync_getTxTimestamp() on how to fetch timestamps. Other functions required for porting a PTP stack are also present, for example TimeSync_adjTimeSlowComp() to port the servo.
2) What is the synchronization mechanism between A72 and R5F?
You mean with respect to PTP ? Currently there is no sync between A72 and R5F when it comes to PTP. A72 isn't supposed to access the CPTS time stamping registers, so if you want to port GPTP to A72 then you will have to define a sync mechanism. An easier way is to port GPTP to R5F.
Regards
Vineet