Skip to content

Port gPTP/hardware timestamping to the synchronous branch - #87

Open
tkummermehr wants to merge 7 commits into
no-queues-synchronousfrom
feat/tc6-sync-gptp-timestamp
Open

Port gPTP/hardware timestamping to the synchronous branch#87
tkummermehr wants to merge 7 commits into
no-queues-synchronousfrom
feat/tc6-sync-gptp-timestamp

Conversation

@tkummermehr

Copy link
Copy Markdown
Collaborator

Summary

  • Hand-ports the hardware TX/RX frame timestamping + gPTP Automotive-profile Grand Master work from libtc6-ptp onto no-queues-synchronous, adapted to this branch's blocking (no-queue) calling convention.
  • TC6Regs_ReadTxTimestamp and the raw-send path drop the async callback/tag args in favor of direct return values, since register/data access here is already synchronous.
  • gPTP GM demo is wired up on lwIP-SAM-E54-Curiosity; lwIP-SAM-E54-xplained-pro and noIP-SAM-E54-Curiosity just get the new enableTimestamp arg threaded through (disabled) to keep compiling.

Test plan

  • libtc6.X + liblwip.X + demo.X build clean for all three affected examples (lwIP-SAM-E54-Curiosity, lwIP-SAM-E54-xplained-pro, noIP-SAM-E54-Curiosity)
  • Hardware validation of gPTP Sync/Follow_Up transmission and 1PPS output on SAM E54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant