Hi Ankur,
I don’t think you would set this up via ptp4l but via the PHC to set a periodic
output (PTP_PEROUT_REQUEST). Below would be an example for 50Hz.
perout_request.start.sec = ts.tv_sec + 1;
perout_request.start.nsec = 0;
perout_request.period.sec = 0;
perout_request.period.nsec = 20000000;
if (ioctl(fd, PTP_PEROUT_REQUEST, &perout_request)) {
pr_err("PTP_PEROUT_REQUEST");
return -1;
}
Greg
From: Ankur Sharma <[email protected]>
Sent: May 5, 2021 4:18 PM
To: [email protected]
Subject: [Linuxptp-users] SMPTE-2059 Frame Rate 50Hz
Hi,
Related to the SMPTE-2059 profile, Can anyone guide/suggest on how we can set
the System Frame Rate of 50hz with PTP4L?
Regards,
Ankur
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users