-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IEEE 1588 (PTP) Support (IDFGH-110) #1223
Comments
Hi, sorry that there is no update, it is still in our TODO list now. But we will let you know when there is any update. |
Hi, We need this feature as well. Can you alternatively provide instructions and references so we can implement this ourselves? |
Would there be a particular PHY required for this? What else is hidden away in the integrated MAC? We could do with IEEE 802.1AS for AVB quality synchronization which is better than the default 1588v2 profile. Spotted in https://github.com/espressif/esp-idf/blob/master/components/ethernet/emac_desc.h #define EMAC_DESC_PTP_VERSION (BIT(13)) |
Hi, |
Is there any news about PTP status in ESP32 IDF/manuals ? It looks like frame timestamping is available , but there is no indication about clock control, PTP clock triggered interrupt, etc... |
I am also very interested in this. :) I wonder if it would be even possible to combine this with the ESP Mesh functionality (only very briefly looked into it), and as a result, have a swarm of almost-perfectly synced ESP32s. |
Very interested also Any pointers to an implementation would be greatly appreciated |
@Grtschnk Unfortunately, I don't think that would work. IEE1588 is an Ethernet feature. You'd need to be using a wired connection with a MAC. You may have some luck with https://gitlab.com/painlessMesh/painlessMesh |
The ESP32 TRM shows that the Ethernet MAC supports IEEE1588-2008. IEEE802.1AS includes support for PTP over WiFi but AFAIK, the ESP32 doesn't support that. |
Any updates on this? Functional 1588v2 PTP support (ie, more than datasheet support) on the ESP32 would enable some interesting applications. |
Bump ! |
I'm interested on this too!!! |
Does anyone found the way to implement PTP on ESP32? |
Is there any further news on this? Where is the 'timestamp' DMA'd from? IE What is the source timer? Do these features actually exist as advertised, or have they never actually worked? |
@callumbrieske I didn't tried to go further on this. |
Any news? Even if difficult, if doable, I am also interested. Maybe if we could have documentation about registers, we could implement it ourselves. |
I didn't get any further on that. |
Any updates on this? No real update since 2017... |
I am also interested for this feature and hope it would be added to the ESP-IDF in the later releases. |
ESP32-C6 有希望实现这个功能吗 |
No Ethernet interface on ESP32-C6 from my knowledge... |
Hopefully the ESP32-P4 will have working 1588. |
ESP32-P4 will support PTP. |
That's great news, thanks for commenting! EDIT: oh, but P4 does not have radio :( |
Hi,
The datasheet lists the ESP32 as having hardware IEEE 1588 support, but the only reference I can find in the SDK to it is a "TODO" line. Is support for this feature implemented yet?
https://github.com/espressif/esp-idf/blob/master/components/ethernet/emac_main.c#L771
Thanks,
Alex
The text was updated successfully, but these errors were encountered: