Hi,
I am going to enable IEEE1588 of PFE on s32grdb3 board on VxWorks with BSP35 and I am using PFE2.
I called this function pfe_emac_enable_ts() to enable ptp and timestamp on emac2. I checked the registers in function pfe_emac_enable_ts() and the values are the same with Linux running.
And the return value of pfe_emac_enable_ts() is right which means that ptp is enabled on emac2.
Then I called pfe_emac_cfg_get_ts_time() after pfe_emac_enable_ts() is called. But the time stay unchanged. It remained zero all the time.
Are there any particular settings (setting sequence or other registers bit enabled)for enabling 1588 on PFE?
Looking forward to you reply.
Thanks a lot!
Yes, I am configuring PTP for PFE on S32GRDB3. The 1588 time now can update.
But there is a new problem:
When I configured S32GRDB3 with vxWorks as PTP master, it keeps normal for about 4 minutes, then PFE could not get tx timestamp.
It could not generated Rx Interrupt when I configured to timestamp egress packets.
Have you ever encountered this before ?
Thanks,
Xiuli
Hi,
Can you share the solution?I have the same problem, get the ts time of pfe2 is always 0
Hi @xiuli_sun,
Thank you for reaching out to us.
Are you configuring PTP for PFE Master or Slave device?
Thanks,
Mayank s Patel
Hi @xiuli_sun,
Can you please share the kernel logs when PTP is initialized and at a time when you face an issue with PTP?
Thanks,
Mayank s Patel