On Mon, Mar 09, 2020 at 06:30:24PM +0530, Lokesh Vutla wrote: > So the solution proposed to generate PPS is: > - Configure DMTIMER in PWM mode with 1 second period. > - Enable HW_TS_PUSH support in CPTS driver. > - Synchronize the PWM period to PTP using the timestamps such that the rising > edge of the PWM is always at the second boundary of PTP clock.
The problem is the extremely low resolution of the DMTIMER. IIRC, it is 30 usec or something like that. That makes the resulting 1-PPS useless for most (all?) applications. Sorry, Richard PS. This have been implemented before. Check the archives. _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel