S32K3xx - enabling only gPTP message timestamps

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3xx - enabling only gPTP message timestamps

805 Views
jakub_mielczare
Contributor III

Hello,

What are the right settings of MAC Timestamp Control register in S32K344 EMAC to enable receive and transmit timestamps only for gPTP packets?

 

Thank you,

Jakub

0 Kudos
4 Replies

748 Views
namnguyenviet
NXP Employee
NXP Employee

Hello Jakub,

I supposed so. However, the EMAC only captures TX/RX timestamp and store in the relative descriptor. Maybe you will need some more SW implementations in order to fulfil the gPTP stack.

Best Regards,

Nam

0 Kudos

746 Views
jakub_mielczare
Contributor III

Hi Nam,

 

Yes, for sure SW stack is needed.

 

Best regards,

Jakub

0 Kudos

758 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

802.AS mode can be enabled by setting 1 to MAC_Timestamp_Control[AV8021ASMEN] register.

Best Regards,

Nam

 

0 Kudos

755 Views
jakub_mielczare
Contributor III

Hi Nam,

Thank you for the answer.

Is this the only bit that needs to be set in the register to enable rx/tx timestamps only for gPTP (802.1AS) frames or other fields need to be set as well?

Best regards,

Jakub

0 Kudos