I am using S32G399 and I am currently testing the PTP function based on GMAC0 based on M-7 core.
First, I have completed the offload setting by setting MAC_PTO_Control and confirmed that it sends and receives packets normally.
As the next step, we need to attach a VLAN tag to the PTP packets generated by PTP offload to apply TSN's TAS feature.
To do this
As a result of using functions such as [Gmac_Ip_SetTxOuterVlanTagForInsertion], [Gmac_Ip_SetTxInnerVlanTag], and DMA Queue setting, packets not generated by offload are transmitted with VLAN tags inserted, but packets automatically generated by offload are not transmitted with VLANs attached.
1. Is it not possible to insert a VLAN tag for packets generated by PTP Offload?
2. (Additional question) When using Offload, there is no function to update the time automatically like the PTP module on other boards?
SHlim