Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

miao
Level 1
Level 1
10 sign-ins 5 replies posted First reply posted

Hello,

    I enable MAC timecstamp but get tx timestamp always 0.

    Could anyone tell me how to get tx timestamp after send ptp pack over ethernet?

Thank you

0 Likes
1 Solution
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi miao,

Attached is geth demo code for timestamp enabled.  Please refer to it.

Regards,

dw

View solution in original post

0 Likes
5 Replies
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi miao,

Attached is geth demo code for timestamp enabled.  Please refer to it.

Regards,

dw

0 Likes
rpk
Level 1
Level 1
First reply posted Welcome!

I too am in the process of enabling time stamping on the Aurix TC3XX. In the example you provided I saw a comment that mentions

System Time Update logic requires a 50-MHz clock frequency to
achieve 20-ns accuracy, 50MHz clock is internal to GETH-IP


Does the mean that the PTP system clock will always update at 50MHz - i.e the System Time Nanoseconds register will accumulate the value from Sub-Second Increment register (SSINC) at 50MHz?

Is it possible to change the update frequency to a value other than 50MHz, and if so how?

0 Likes
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi rpk,

AURIXTC3XX_ts_V1.3.0.PDF

You can check 36.2.2.4 Time Stamp Error Margin and 36.2.2.5 Frequency Range of Reference Timing Clock.

dw

0 Likes
rpk
Level 1
Level 1
First reply posted Welcome!

Hi dw,

Appreciate the quick response. How can I gain access to the doc you mentioned?

0 Likes
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received
0 Likes