Skip to content

Add comprehensive PTP FAQ documentation for microcontrollers - #1

Draft
zabooh with Copilot wants to merge 3 commits into
mainfrom
copilot/general-questions-ptp-microcontrollers
Draft

Add comprehensive PTP FAQ documentation for microcontrollers#1
zabooh with Copilot wants to merge 3 commits into
mainfrom
copilot/general-questions-ptp-microcontrollers

Conversation

Copilot AI commented Dec 26, 2025

Copy link
Copy Markdown

User requested general information about PTP (Precision Time Protocol) on microcontrollers in the context of the LAN865x driver.

Changes

  • Added ptp_faq.md: 25 Q&A covering PTP fundamentals, hardware requirements, Linux PHC integration, accuracy considerations, and automotive/industrial use cases. Includes practical examples for configuration, testing, and debugging.

  • Updated README.md: Added PTP documentation section linking to FAQ and existing implementation guide.

Key Topics Covered

  • Hardware timestamping vs software timestamping (sub-microsecond vs millisecond precision)
  • LAN865x PHC capabilities and register access
  • Linux kernel integration (ptp_clock_info, IOCTLs, ptp4l usage)
  • Automotive applications (IEEE 802.1AS/gPTP, TSN, ADAS sensor fusion)
  • Accuracy factors (oscillator quality, network jitter, implementation overhead)
  • Troubleshooting common issues

Example from FAQ:

# Enable hardware timestamping
hwstamp_ctl -i eth1 -t 1 -r 1

# Run PTP daemon with hardware timestamps
ptp4l -i eth1 -m -H

# Verify synchronization accuracy
ptp4l -i eth1 -m | grep "master offset"

Documentation written in German per user's language preference. Complements existing ptp_todo.md implementation guide.

Original prompt

Ich habe zunächst allgemeine fragen zu ptp auf mikrokontrollern


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 26, 2025 18:07
Co-authored-by: zabooh <4478351+zabooh@users.noreply.github.com>
Co-authored-by: zabooh <4478351+zabooh@users.noreply.github.com>
Copilot AI changed the title [WIP] Discuss general questions about PTP on microcontrollers Add comprehensive PTP FAQ documentation for microcontrollers Dec 26, 2025
Copilot AI requested a review from zabooh December 26, 2025 18:10
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.

2 participants