Re: NuttX PTP Support

2023-04-24 Thread James Dougherty
i’ll take a look at it as soon as I get some free time ; I have a working, GPS master clock. On Mon, Apr 24, 2023 at 6:45 AM Alan C. Assis wrote: > Could be relevant to this thread: > https://github.com/apache/nuttx/pull/9084 > > On 1/30/23, Alan C. Assis wrote: > > Hi James, > > > > Yes, Espre

Re: NuttX PTP Support

2023-04-24 Thread Alan C. Assis
Could be relevant to this thread: https://github.com/apache/nuttx/pull/9084 On 1/30/23, Alan C. Assis wrote: > Hi James, > > Yes, Espressif is doing a good work adding support to it. > > I hope in the future others silicon vendors start to contribute as > well (hello ST, Microchip, Renesas, ...)

Re: NuttX PTP Support

2023-01-30 Thread Alan C. Assis
Hi James, Yes, Espressif is doing a good work adding support to it. I hope in the future others silicon vendors start to contribute as well (hello ST, Microchip, Renesas, ...) Very nice James, I think PTP will be very useful. Please let me know if you want some help with tests, etc. BR, Alan

Re: NuttX PTP Support

2023-01-30 Thread James Dougherty
wow, it is really well supported! OK I will start looking at a PTP server implementation and work on client later… > On Jan 27, 2023, at 11:36 AM, James Dougherty wrote: > > Thanks, I will try it this weekend on one of my boards…. > >> On Jan 27, 2023, at 11:12 AM, Alan C. Assis wrote: >> >>

Re: NuttX PTP Support

2023-01-27 Thread James Dougherty
Thanks, I will try it this weekend on one of my boards…. > On Jan 27, 2023, at 11:12 AM, Alan C. Assis wrote: > > Yes, it is supported: serial and network (ethernet and WiFi). > >> On 1/27/23, James Dougherty wrote: >> Outstanding! >> >> Serial and Network… >> >> Thank you >> On Jan 2

Re: NuttX PTP Support

2023-01-27 Thread Alan C. Assis
Yes, it is supported: serial and network (ethernet and WiFi). On 1/27/23, James Dougherty wrote: > Outstanding! > > Serial and Network… > > Thank you > >> On Jan 27, 2023, at 10:01 AM, Alan C. Assis wrote: >> >> Hi James, >> >> ESP32 is supported, which features do you need? >> >> BR, >> >> Ala

Re: NuttX PTP Support

2023-01-27 Thread James Dougherty
Outstanding! Serial and Network… Thank you > On Jan 27, 2023, at 10:01 AM, Alan C. Assis wrote: > > Hi James, > > ESP32 is supported, which features do you need? > > BR, > > Alan > >> On 1/27/23, James Dougherty wrote: >> I haven’t looked at it yet, but I am working on ESP32; is WROOM s

Re: NuttX PTP Support

2023-01-27 Thread Alan C. Assis
Hi James, ESP32 is supported, which features do you need? BR, Alan On 1/27/23, James Dougherty wrote: > I haven’t looked at it yet, but I am working on ESP32; is WROOM supported > in master or just the S3/C3? > > > On Fri, Jan 27, 2023 at 4:23 AM Robert Alexa > wrote: > >> Hi all, >> >> What'

Re: NuttX PTP Support

2023-01-27 Thread James Dougherty
I haven’t looked at it yet, but I am working on ESP32; is WROOM supported in master or just the S3/C3? On Fri, Jan 27, 2023 at 4:23 AM Robert Alexa wrote: > Hi all, > > What's the current status of this? I'm also interested in adding PTP > support to NuttX, especially on ESP32 if that's possibl

Re: NuttX PTP Support

2023-01-27 Thread Nathan Hartman
On Fri, Jan 27, 2023 at 7:23 AM Robert Alexa wrote: > As a first step I was thinking of adding support for the PTP daemon, as > Alan suggested. That is probably the most important step right now. Hardware support can be added as needed. The TM4C129 Tiva-C ARM platform has hardware support for P

Re: NuttX PTP Support

2023-01-27 Thread Robert Alexa
Hi all, What's the current status of this? I'm also interested in adding PTP support to NuttX, especially on ESP32 if that's possible - I haven't done any research yet regarding the hardware capabilities of ESP32 in this matter. As a first step I was thinking of adding support for the PTP daemon,

Re: NuttX PTP Support

2022-12-08 Thread James Dougherty
Thanks Arie, Yes, very true, it depends on your application! My statement about what makes a good clock is very subjective. This all depends on your application, your measurement and of course your jitter. - For Wireless AV, a 10ms gps clock is fine. - For Wireless Earbuds, a 10us clock is requi

Re: NuttX PTP Support

2022-12-08 Thread Arie de Muijnck
Beware of that 1PPS signal. A few years ago I bought several GPS modules and compared the signals. Some differ by exactly 100ns (within 2ns, the accuracy of my scope) from others, and that is not the width of the pulse, that is much wider, I compared only the edge that are comes close to the ot

Re: NuttX PTP Support

2022-12-07 Thread James Dougherty
Related to this, I have a GPS receiver generating PPS interrupts on SAME70. It would be a perfect GMC - Atomic clock sync! I will look at this when I get a chance. I have a lot of upstream contributions from HW platforms I have done over the last 5 years or so with myself and others ... I need some

Re: NuttX PTP Support

2022-12-07 Thread James Dougherty
Yes, it’s good stuff. I will look at it next year. > On Dec 7, 2022, at 5:41 PM, Nathan Hartman wrote: > > On Tue, Dec 6, 2022 at 11:16 PM James Dougherty wrote: > >> Great project! I've done a few commercial implementation of PHY >> timestamping protocols - IEEE1588 for Ethernet 802.3 >> and

Re: NuttX PTP Support

2022-12-07 Thread Nathan Hartman
On Tue, Dec 6, 2022 at 11:16 PM James Dougherty wrote: > Great project! I've done a few commercial implementation of PHY > timestamping protocols - IEEE1588 for Ethernet 802.3 > and the WLAN version (802.11v2012) for 802.11n. Products with that > technology are still shipping today (but that was

Re: NuttX PTP Support

2022-12-06 Thread James Dougherty
Great project! I've done a few commercial implementation of PHY timestamping protocols - IEEE1588 for Ethernet 802.3 and the WLAN version (802.11v2012) for 802.11n. Products with that technology are still shipping today (but that was 10 years ago now). Both are key foundations and building blocks f

Re: NuttX PTP Support

2022-12-06 Thread Alan C. Assis
Hi Markus, I don't know if there is someone already using PTP with NuttX (probably since NuttX is used by many industrial automation companies). I think the first step should be add a PTP daemon for NuttX. The ptpd could be a good candidate: https://github.com/ptpd/ptpd BR, Alan On 12/5/22, M

NuttX PTP Support

2022-12-06 Thread Markus Noll
Dear all, I'm just investigating NuttX a bit as there is definitely more and more momentum coming about it. I was just wondering if PTP (IEEE1588) is supported or if this is planned for the future? Currently, it doesn't look like this, however some Eth-MAC drivers have at least some register-defin