<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I&#8217;m working on a project to synchronize the system time between two network devices by using the PTP-protocol (ptpd). Both device s are running the rt-kernel 3.2.30-rt45cpx&#43;. This works fine (I think). But I want to verify
 the synchronization and the jitter.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After consideration I think the only possible way to acknowledge a precise measurement using an oscilloscope is to send a signal to a D-I/O pin from each pc and compare the signals. But this should be timed to change
 the state to high or low on the exact full second. I think it&#8217;s called </span><span lang="EN">Pulse per Second (PPS)?!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN">My approach is to create a small C program that throws an Signal/Interrupt on a new second by using timer. But I&#8217;m stuck on this.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN">All timers I created are relative to the creation not absolute to the system time synchronized by ptp.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN">If anybody could give me a hint would be great ? Or does anyone have implemented something similar and could show me an example?&nbsp;
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;line-height:115%"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;line-height:115%"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal"><span style="font-size:10.0pt;color:black"><br>
Best regards<br>
<br>
p.p. Tim-Benjamin Rapp<br>
Software Development<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;color:black">TRUMPF Laser GmbH &#43; Co. KG<br>
Aichhalder Strasse 39<br>
78713 Schramberg<br>
Germany<br>
Phone: &#43;49 7422 515-8456<br>
Tim-Benjamin.Rapp@de.TRUMPF.com<br>
www.trumpf-laser.com<br>
<br>
<br>
</span><span style="font-size:8.0pt;line-height:115%;color:gray">TRUMPF Laser GmbH &#43; Co. KG, Schramberg, Amtsgericht Stuttgart HRA 480785<br>
Unlimited Liability Partner: Laser Verwaltungs-GmbH, Schramberg, Amtsgericht Stuttgart HRB 480880<br>
Managing Board: Dr. rer. pol. Lars Grünert, Dr. rer. nat. Klaus Wallmeroth<br>
<br>
</span><span style="font-size:10.0pt;line-height:115%"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;line-height:115%"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>