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.

Ethernet Rx Event is not loaded in EVENT FIFO for gPTP packets

Hello,

Let me brief about my agenda, I want to achieve Hardware Time stamping for gPTP event packets.

I am using two VAYU EVM XC5777X CPU Boards (Jacinto 6) (Master and Slave)  Booted through GLSDK 6.04 and using Linux version 3.11. My CPSW Driver is of 1.0 version. And Ubuntu 12.04 as my OS.

While sending gPTP (event) packets from one J6 board(Master), another J6 board(Slave) is not doing the hardware time stamping.

At the time of debugging the CPTS driver we found that, TS_PEND_RAW bit in the CPTS_INTSTAT_RAW register  is Zero in "cpts_fifo_pop" while calling from "cpsw_rx_handler".

As per our understanding Ethernet RX event entry must be available in EVENT FIFO for gPTP event messages for successful Hardware Time stamping, and as the RX event is not loaded in EVENT FIFO, hardware timestamping is not happening.

Let me know why it is happening so.

Note: When I send a packet from any other hardware(Eg: imx6- Freescale - Master) to J6 (Slave), I see that the entry is created and in turn... TS_PEND_RAW bit in the CPTS_INTSTAT_RAW register is having a valid value. So, packets packed in imx6 is timestamped by J6.

Kindly revert if you need any further info.

Regards,

Shylesh S.