Hello David,

We use a different SoC equipped with CPTS and we do not generate a PPS signal 
but we do something which I believe can be adapted to obtain a PPS signal. We 
leave the CPTS clock free-running and use it as gPTP local clock timebase using 
linuxptp. We also use DMTimer to trigger CPTS hardware timestamp events and 
adjust the clock source for the relevant DMTimer using said hardware timestamp 
events and localclock <—-> gPTP mapping calculated by linuxptp.

HTH
--
Delio Brignoli
AudioScience Inc

> On 30 Nov 2016, at 21:59, David Cemin <david.ce...@coveloz.com> wrote:
> 
> Hi Kim, 
> 
> On this thread 
> (https://www.mail-archive.com/linuxptp-devel@lists.sourceforge.net/msg01033.html)
>  you wrote this
> 
> >We implemented PPS output signal through AM335x Dual-Mode Timer >running in
> >the PWM mode with SCLK frequency.
> 
> >This is more accurate than software GPIO output because the CPTS >on the
> >AM335x
> >can generate hardware timestamp event on the rising edge of the >DMTimer,
> >making it possible to synchronize PPS with the CPTS internal clock <counter.
> 
> 
> Can you (or someone else on this list) give more details on how did you 
> achieve this? Im not sure sure you actually got the pps output sync to PTP on 
> this approach. How did you connect the CPTS to the PWM ? 
> 
> Thanks
> 
> --
> David
>  
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Linuxptp-devel mailing list
> Linuxptp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxptp-devel




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to