S32K3xx - enabling only gPTP message timestamps

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K3xx - enabling only gPTP message timestamps

851 次查看
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 项奖励
4 回复数

794 次查看
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 项奖励

792 次查看
jakub_mielczare
Contributor III

Hi Nam,

 

Yes, for sure SW stack is needed.

 

Best regards,

Jakub

0 项奖励

804 次查看
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 项奖励

801 次查看
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 项奖励