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: How to run QNX PTP demo at CPSW9 ethernet interface?

Part Number: TDA4VM

Hi experts:

Our customer want to run QNX ptp demo at TDA4VM EVM board. customer confirmed that the PTPD can work at CPSW2G ethernet interface at EVM board.

But they use GESI board and run at CPSW9G, the ptp demo do not work.

follow TDA4VM ethernet firmware guide. (Ethernet Firmware: Ethernet Firmware differentiating features demos) just introduce PC ptp stack setup. It do not introduce how to demo ptp at Linux.

Could you please introduce how to run ptp at CPSW9G ethernet interface at linux + TDA4VM EVM board? if it can work customer will follow the same method set up it at their QNX system.

Best Regards!

Han Tao

This is customer failure run ptpd at EVM board.

  • Hi,

    Which SDK version are you using ? Are you running PTPd on A72 and expecting CPSW 9G PTP to work, I don't think it will work. PTP is enabled inside EthFW running on MCU 2_0, it is not integrated with anything that runs on A72.

    Regards

    Vineet

  • hi 

    thanks for your replay

    we use sdk 7.3 qnx+rtos.

    i found the log has been print like next

    [MCU2_0] 5.546055 s: EthFw: TimeSync PTP enabled 

    If I want to test the PTP on A72, how to set up the network and how to operate it

  • Hi,

    PTP on CPSW 9G is not supported on A72 as the virtual driver does not support it. There are also no immediate plans to add such a support.

    Regards

    Vineet

  • hi

    thanks for your replay

    If I want to use the  PTP on A72, is there any recommended solution, such as adding chips

  • I mean, if I need a timestamp at A72, is there a recommended solution 

  • Hi,

    If I want to use the  PTP on A72, is there any recommended solution, such as adding chips

    You already have PTP on A72 correct ? Using CPSW 2G. You need PTP working with CPSW 9G isn't it ? Or did I get the requirement wrong.

    PTP is already implemented for R5F, that interface can be implemented on A72 as well. It shouldn't be too difficult to build it. It's just that this is not a planned effort at our end.

    You can reach out over email and we can discuss other options.

    Regards

    Vineet

  • hi

    thanks for your replay

     your understanding is correct

    We test that cpsw2g  can use the ptp ,but we must use cpsw9g. We have accepted your explanation, We can also confirm that we can synchronize the timestamp from r5f to A72 through IPC, but our application has been developed and tested, The application uses the socket to obtain the PTP timestamp directly through the cpsw2g driver.We want to solve the time stamp problem in this version through other methods, such as plug-in chip

  • Hi,

    We want to solve the time stamp problem in this version through other methods, such as plug-in chip

    I am sorry, if you are must use CPSW 9G then there can be no external chip solution. You need a software solution where

    1. A72 can read the timestamps from CPTS module (will require custom changes to the driver)

    2. The multicast PTP packets are going to A72 (this is possible with current software by reconfiguration of ALE)

    I think the changes are beyond the scope of this E2E esp number 1 above. I will close this E2E and you can reach out to me over email.

    Regards

    Vineet