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.

TDA4VM: Does TDA4 support the GPTP transport protocol?

Part Number: TDA4VM

Experts.

we use SDK7.2 of TDA4, Does this support GPTP transmission protocol for sending and receiving network messages?

  • 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

    Thank you for your reply

    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?  

  • 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)

    e2e.ti.com/.../tda4vm-in-network-transmission-can-our-chip-receive-broadcast-data-based-on-mac-address-mac-destination-addresses-are-all-0xff

  • 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

    If it is difficult to implement the GPTP on the A72, are there any details on implementing the GPTP on the R5F?

  • 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

  • Thank you very much for your answer. We are considering other solutions to avoid this problem temporarily.

    thank you