<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Time Sync between Linux (LS1028) and Windows using PTP in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Time-Sync-between-Linux-LS1028-and-Windows-using-PTP/m-p/1491731#M14704</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to interface Windows system to NXP LS1028ARDB switch. I need to be establish time synchronization between the devices. The windows system is physically connected to the NXP LS1028 switch via Intel I210 NIC card.&lt;/P&gt;&lt;P&gt;For time synchronization on the switch I am using ptp4l library and for windows system I am configuring PTPProv.dll in Registry. Where switch acting as a PTP grandmaster and widows machine acting as slave.&lt;/P&gt;&lt;P&gt;Below are the configuration on master side (NXP switch):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;gPTP.cfg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[global]&lt;/P&gt;&lt;P&gt;gmCapable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;priority1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 248&lt;/P&gt;&lt;P&gt;priority2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 248&lt;/P&gt;&lt;P&gt;logAnnounceInterval&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;logSyncInterval&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -3&lt;/P&gt;&lt;P&gt;syncReceiptTimeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;neighborPropDelayThresh 5000&lt;/P&gt;&lt;P&gt;min_neighbor_prop_delay -20000000&lt;/P&gt;&lt;P&gt;assume_two_step&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;path_trace_enabled&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;follow_up_info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;transportSpecific&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1&lt;/P&gt;&lt;P&gt;ptp_dst_mac&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01:80:C2:00:00:0E&lt;/P&gt;&lt;P&gt;tx_timestamp_timeout&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P&gt;network_transport&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L2&lt;/P&gt;&lt;P&gt;delay_mechanism&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P2P&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per windows Validation Guide -Precision Time protocol to enable ptp time sync between windows and linux system, currentUtcOffsetValid &amp;amp; ptpTimescale flags need to be high. I set the flags using following command.&lt;/P&gt;&lt;P&gt;pmc -u -b 0 "set GRANDMASTER_SETTINGS_NP clockClass 248 clockAccuracy 0xfe offsetScaledLogVariance 0xffff currentUtcOffset 37 leap61 0 leap59 0 currentUtcOffsetValid 1 ptpTimescale 1 timeTraceable 0 frequencyTraceable 0 timeSource 0xa0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the windows side, as per windows Validation Guide -Precision Time protocol, I configure Registry editor for PTP Client.&lt;/P&gt;&lt;P&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient]&lt;/P&gt;&lt;P&gt;"PtpMasters"="10.1.4.10"&lt;/P&gt;&lt;P&gt;"Enabled"=dword:00000001&lt;/P&gt;&lt;P&gt;"InputProvider"=dword:00000001&lt;/P&gt;&lt;P&gt;"DllName"="c:\\windows\\system32\\ptpprov.dll"&lt;/P&gt;&lt;P&gt;"DelayPollInterval"=dword:00001770&lt;/P&gt;&lt;P&gt;"AnnounceInterval"=dword:000007d0&lt;/P&gt;&lt;P&gt;"EnableMulticastRx"=dword:00000001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;w32tm service configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\Windows\system32&amp;gt;w32tm /query /configuration&lt;/P&gt;&lt;P&gt;[Configuration]&lt;/P&gt;&lt;P&gt;EventLogFlags: 2 (Local)&lt;/P&gt;&lt;P&gt;AnnounceFlags: 10 (Local)&lt;/P&gt;&lt;P&gt;TimeJumpAuditOffset: 28800 (Local)&lt;/P&gt;&lt;P&gt;MinPollInterval: 10 (Local)&lt;/P&gt;&lt;P&gt;MaxPollInterval: 15 (Local)&lt;/P&gt;&lt;P&gt;MaxNegPhaseCorrection: 54000 (Local)&lt;/P&gt;&lt;P&gt;MaxPosPhaseCorrection: 54000 (Local)&lt;/P&gt;&lt;P&gt;MaxAllowedPhaseOffset: 1 (Local)&lt;/P&gt;&lt;P&gt;FrequencyCorrectRate: 4 (Local)&lt;/P&gt;&lt;P&gt;PollAdjustFactor: 5 (Local)&lt;/P&gt;&lt;P&gt;LargePhaseOffset: 50000000 (Local)&lt;/P&gt;&lt;P&gt;SpikeWatchPeriod: 900 (Local)&lt;/P&gt;&lt;P&gt;LocalClockDispersion: 10 (Local)&lt;/P&gt;&lt;P&gt;HoldPeriod: 5 (Local)&lt;/P&gt;&lt;P&gt;PhaseCorrectRate: 1 (Local)&lt;/P&gt;&lt;P&gt;UpdateInterval: 360000 (Local)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FileLogName: C:\Windows\Temp\w32time.log (Local)&lt;/P&gt;&lt;P&gt;FileLogEntries: 0-300 (Local)&lt;/P&gt;&lt;P&gt;FileLogSize: 10000000 (Local)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[TimeProviders]&lt;/P&gt;&lt;P&gt;PtpClient (Local)&lt;/P&gt;&lt;P&gt;DllName: c:\windows\system32\ptpprov.dll (Local)&lt;/P&gt;&lt;P&gt;Enabled: 1 (Local)&lt;/P&gt;&lt;P&gt;InputProvider: 1 (Local)&lt;/P&gt;&lt;P&gt;NtpClient (Local)&lt;/P&gt;&lt;P&gt;DllName: C:\Windows\system32\w32time.dll (Local)&lt;/P&gt;&lt;P&gt;Enabled: 0 (Local)&lt;/P&gt;&lt;P&gt;InputProvider: 1 (Local)&lt;/P&gt;&lt;P&gt;NtpServer (Local)&lt;/P&gt;&lt;P&gt;DllName: C:\Windows\system32\w32time.dll (Local)&lt;/P&gt;&lt;P&gt;Enabled: 0 (Local)&lt;/P&gt;&lt;P&gt;InputProvider: 0 (Local)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After restart windows time service in Event viewer under Application and Services log -&amp;gt;Microsoft -&amp;gt;Windows-&amp;gt; Time Service PTP Provider we receive two event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[PTP EVENT 512]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PTP provider started receiving announcements from the PTP Master 10.1.4.10 with IP Address 10.1.4.10:320 and the following PTP parameters:&lt;/P&gt;&lt;P&gt;Clock Identity:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Port Number:1&lt;/P&gt;&lt;P&gt;Domain Number:0&lt;/P&gt;&lt;P&gt;Utc Offset Valid:1&lt;/P&gt;&lt;P&gt;Current UTC Offset:37&lt;/P&gt;&lt;P&gt;Flags:0x0000000000003c00&lt;/P&gt;&lt;P&gt;Grandmaster Clock Id:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Steps Removed From GM:0&lt;/P&gt;&lt;P&gt;Time Source Code:0x00000000000000a0&lt;/P&gt;&lt;P&gt;Announce Interval (Log2):1&lt;/P&gt;&lt;P&gt;Number of active Masters:1&lt;/P&gt;&lt;P&gt;Current Tick Count:93359687&lt;/P&gt;&lt;P&gt;For more information, see &lt;A href="https://go.microsoft.com/fwlink/?linkid=873491" target="_blank"&gt;https://go.microsoft.com/fwlink/?linkid=873491&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[PTP EVENT 513]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PTP provider has chosen the PTP Master 10.1.4.10 with IP Address 10.1.4.10:320 as the best master and the source of time. This master is announcing the following PTP parameters:&lt;/P&gt;&lt;P&gt;Clock Identity:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Port Number:1&lt;/P&gt;&lt;P&gt;Domain Number:0&lt;/P&gt;&lt;P&gt;Utc Offset Valid:1&lt;/P&gt;&lt;P&gt;Current UTC Offset:37&lt;/P&gt;&lt;P&gt;Flags:0x0000000000003c00&lt;/P&gt;&lt;P&gt;Grandmaster Clock Id:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Steps Removed From GM:0&lt;/P&gt;&lt;P&gt;Time Source Code:0x00000000000000a0&lt;/P&gt;&lt;P&gt;Announce Interval (Log2):1&lt;/P&gt;&lt;P&gt;Current Tick Count:93366156&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Windows\system32&amp;gt;w32tm /query /status /verbose&lt;/P&gt;&lt;P&gt;Leap Indicator: 3(not synchronized)&lt;/P&gt;&lt;P&gt;Stratum: 0 (unspecified)&lt;/P&gt;&lt;P&gt;Precision: -23 (119.209ns per tick)&lt;/P&gt;&lt;P&gt;Root Delay: 0.0000000s&lt;/P&gt;&lt;P&gt;Root Dispersion: 0.0000000s&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ReferenceId: 0x00000000 (unspecified)&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;U&gt;&lt;EM&gt;#We were expecting this to change to ptp grandmaster&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Last Successful Sync Time: unspecified&lt;/P&gt;&lt;P&gt;Source: Local CMOS Clock&lt;/P&gt;&lt;P&gt;Poll Interval: 10 (1024s)&lt;/P&gt;&lt;P&gt;Phase Offset: 0.0000000s&lt;/P&gt;&lt;P&gt;ClockRate: 0.0156250s&lt;/P&gt;&lt;P&gt;State Machine: 0 (Unset)&lt;/P&gt;&lt;P&gt;Time Source Flags: 0 (None)&lt;/P&gt;&lt;P&gt;Server Role: 0 (None)&lt;/P&gt;&lt;P&gt;Last Sync Error: 1 (The computer did not resync because no time data was available.)&lt;/P&gt;&lt;P&gt;Time since Last Good Sync Time: 3585.2198286s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running service on both system we also try to verify the packet exchange using wireshark. We see Follow up, Sync and Announce messages but don't see delay request and delay response messages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On windows system we do not see reference id and source ip of&amp;nbsp; PTP Grandmaster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know we need to make any further configuration ?&lt;/P&gt;&lt;P&gt;If it is technically feasible to do time Synchronization between windows and Linux system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sameer&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 11:02:14 GMT</pubDate>
    <dc:creator>sameer_chouksey</dc:creator>
    <dc:date>2022-07-19T11:02:14Z</dc:date>
    <item>
      <title>Time Sync between Linux (LS1028) and Windows using PTP</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Time-Sync-between-Linux-LS1028-and-Windows-using-PTP/m-p/1491731#M14704</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to interface Windows system to NXP LS1028ARDB switch. I need to be establish time synchronization between the devices. The windows system is physically connected to the NXP LS1028 switch via Intel I210 NIC card.&lt;/P&gt;&lt;P&gt;For time synchronization on the switch I am using ptp4l library and for windows system I am configuring PTPProv.dll in Registry. Where switch acting as a PTP grandmaster and widows machine acting as slave.&lt;/P&gt;&lt;P&gt;Below are the configuration on master side (NXP switch):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;gPTP.cfg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[global]&lt;/P&gt;&lt;P&gt;gmCapable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;priority1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 248&lt;/P&gt;&lt;P&gt;priority2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 248&lt;/P&gt;&lt;P&gt;logAnnounceInterval&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;logSyncInterval&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -3&lt;/P&gt;&lt;P&gt;syncReceiptTimeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;neighborPropDelayThresh 5000&lt;/P&gt;&lt;P&gt;min_neighbor_prop_delay -20000000&lt;/P&gt;&lt;P&gt;assume_two_step&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;path_trace_enabled&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;follow_up_info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;transportSpecific&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1&lt;/P&gt;&lt;P&gt;ptp_dst_mac&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01:80:C2:00:00:0E&lt;/P&gt;&lt;P&gt;tx_timestamp_timeout&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P&gt;network_transport&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L2&lt;/P&gt;&lt;P&gt;delay_mechanism&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P2P&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per windows Validation Guide -Precision Time protocol to enable ptp time sync between windows and linux system, currentUtcOffsetValid &amp;amp; ptpTimescale flags need to be high. I set the flags using following command.&lt;/P&gt;&lt;P&gt;pmc -u -b 0 "set GRANDMASTER_SETTINGS_NP clockClass 248 clockAccuracy 0xfe offsetScaledLogVariance 0xffff currentUtcOffset 37 leap61 0 leap59 0 currentUtcOffsetValid 1 ptpTimescale 1 timeTraceable 0 frequencyTraceable 0 timeSource 0xa0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the windows side, as per windows Validation Guide -Precision Time protocol, I configure Registry editor for PTP Client.&lt;/P&gt;&lt;P&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient]&lt;/P&gt;&lt;P&gt;"PtpMasters"="10.1.4.10"&lt;/P&gt;&lt;P&gt;"Enabled"=dword:00000001&lt;/P&gt;&lt;P&gt;"InputProvider"=dword:00000001&lt;/P&gt;&lt;P&gt;"DllName"="c:\\windows\\system32\\ptpprov.dll"&lt;/P&gt;&lt;P&gt;"DelayPollInterval"=dword:00001770&lt;/P&gt;&lt;P&gt;"AnnounceInterval"=dword:000007d0&lt;/P&gt;&lt;P&gt;"EnableMulticastRx"=dword:00000001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;w32tm service configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\Windows\system32&amp;gt;w32tm /query /configuration&lt;/P&gt;&lt;P&gt;[Configuration]&lt;/P&gt;&lt;P&gt;EventLogFlags: 2 (Local)&lt;/P&gt;&lt;P&gt;AnnounceFlags: 10 (Local)&lt;/P&gt;&lt;P&gt;TimeJumpAuditOffset: 28800 (Local)&lt;/P&gt;&lt;P&gt;MinPollInterval: 10 (Local)&lt;/P&gt;&lt;P&gt;MaxPollInterval: 15 (Local)&lt;/P&gt;&lt;P&gt;MaxNegPhaseCorrection: 54000 (Local)&lt;/P&gt;&lt;P&gt;MaxPosPhaseCorrection: 54000 (Local)&lt;/P&gt;&lt;P&gt;MaxAllowedPhaseOffset: 1 (Local)&lt;/P&gt;&lt;P&gt;FrequencyCorrectRate: 4 (Local)&lt;/P&gt;&lt;P&gt;PollAdjustFactor: 5 (Local)&lt;/P&gt;&lt;P&gt;LargePhaseOffset: 50000000 (Local)&lt;/P&gt;&lt;P&gt;SpikeWatchPeriod: 900 (Local)&lt;/P&gt;&lt;P&gt;LocalClockDispersion: 10 (Local)&lt;/P&gt;&lt;P&gt;HoldPeriod: 5 (Local)&lt;/P&gt;&lt;P&gt;PhaseCorrectRate: 1 (Local)&lt;/P&gt;&lt;P&gt;UpdateInterval: 360000 (Local)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FileLogName: C:\Windows\Temp\w32time.log (Local)&lt;/P&gt;&lt;P&gt;FileLogEntries: 0-300 (Local)&lt;/P&gt;&lt;P&gt;FileLogSize: 10000000 (Local)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[TimeProviders]&lt;/P&gt;&lt;P&gt;PtpClient (Local)&lt;/P&gt;&lt;P&gt;DllName: c:\windows\system32\ptpprov.dll (Local)&lt;/P&gt;&lt;P&gt;Enabled: 1 (Local)&lt;/P&gt;&lt;P&gt;InputProvider: 1 (Local)&lt;/P&gt;&lt;P&gt;NtpClient (Local)&lt;/P&gt;&lt;P&gt;DllName: C:\Windows\system32\w32time.dll (Local)&lt;/P&gt;&lt;P&gt;Enabled: 0 (Local)&lt;/P&gt;&lt;P&gt;InputProvider: 1 (Local)&lt;/P&gt;&lt;P&gt;NtpServer (Local)&lt;/P&gt;&lt;P&gt;DllName: C:\Windows\system32\w32time.dll (Local)&lt;/P&gt;&lt;P&gt;Enabled: 0 (Local)&lt;/P&gt;&lt;P&gt;InputProvider: 0 (Local)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After restart windows time service in Event viewer under Application and Services log -&amp;gt;Microsoft -&amp;gt;Windows-&amp;gt; Time Service PTP Provider we receive two event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[PTP EVENT 512]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PTP provider started receiving announcements from the PTP Master 10.1.4.10 with IP Address 10.1.4.10:320 and the following PTP parameters:&lt;/P&gt;&lt;P&gt;Clock Identity:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Port Number:1&lt;/P&gt;&lt;P&gt;Domain Number:0&lt;/P&gt;&lt;P&gt;Utc Offset Valid:1&lt;/P&gt;&lt;P&gt;Current UTC Offset:37&lt;/P&gt;&lt;P&gt;Flags:0x0000000000003c00&lt;/P&gt;&lt;P&gt;Grandmaster Clock Id:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Steps Removed From GM:0&lt;/P&gt;&lt;P&gt;Time Source Code:0x00000000000000a0&lt;/P&gt;&lt;P&gt;Announce Interval (Log2):1&lt;/P&gt;&lt;P&gt;Number of active Masters:1&lt;/P&gt;&lt;P&gt;Current Tick Count:93359687&lt;/P&gt;&lt;P&gt;For more information, see &lt;A href="https://go.microsoft.com/fwlink/?linkid=873491" target="_blank"&gt;https://go.microsoft.com/fwlink/?linkid=873491&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[PTP EVENT 513]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PTP provider has chosen the PTP Master 10.1.4.10 with IP Address 10.1.4.10:320 as the best master and the source of time. This master is announcing the following PTP parameters:&lt;/P&gt;&lt;P&gt;Clock Identity:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Port Number:1&lt;/P&gt;&lt;P&gt;Domain Number:0&lt;/P&gt;&lt;P&gt;Utc Offset Valid:1&lt;/P&gt;&lt;P&gt;Current UTC Offset:37&lt;/P&gt;&lt;P&gt;Flags:0x0000000000003c00&lt;/P&gt;&lt;P&gt;Grandmaster Clock Id:0x300052feff11b36c&lt;/P&gt;&lt;P&gt;Steps Removed From GM:0&lt;/P&gt;&lt;P&gt;Time Source Code:0x00000000000000a0&lt;/P&gt;&lt;P&gt;Announce Interval (Log2):1&lt;/P&gt;&lt;P&gt;Current Tick Count:93366156&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Windows\system32&amp;gt;w32tm /query /status /verbose&lt;/P&gt;&lt;P&gt;Leap Indicator: 3(not synchronized)&lt;/P&gt;&lt;P&gt;Stratum: 0 (unspecified)&lt;/P&gt;&lt;P&gt;Precision: -23 (119.209ns per tick)&lt;/P&gt;&lt;P&gt;Root Delay: 0.0000000s&lt;/P&gt;&lt;P&gt;Root Dispersion: 0.0000000s&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ReferenceId: 0x00000000 (unspecified)&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;U&gt;&lt;EM&gt;#We were expecting this to change to ptp grandmaster&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Last Successful Sync Time: unspecified&lt;/P&gt;&lt;P&gt;Source: Local CMOS Clock&lt;/P&gt;&lt;P&gt;Poll Interval: 10 (1024s)&lt;/P&gt;&lt;P&gt;Phase Offset: 0.0000000s&lt;/P&gt;&lt;P&gt;ClockRate: 0.0156250s&lt;/P&gt;&lt;P&gt;State Machine: 0 (Unset)&lt;/P&gt;&lt;P&gt;Time Source Flags: 0 (None)&lt;/P&gt;&lt;P&gt;Server Role: 0 (None)&lt;/P&gt;&lt;P&gt;Last Sync Error: 1 (The computer did not resync because no time data was available.)&lt;/P&gt;&lt;P&gt;Time since Last Good Sync Time: 3585.2198286s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running service on both system we also try to verify the packet exchange using wireshark. We see Follow up, Sync and Announce messages but don't see delay request and delay response messages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On windows system we do not see reference id and source ip of&amp;nbsp; PTP Grandmaster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know we need to make any further configuration ?&lt;/P&gt;&lt;P&gt;If it is technically feasible to do time Synchronization between windows and Linux system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sameer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 11:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Time-Sync-between-Linux-LS1028-and-Windows-using-PTP/m-p/1491731#M14704</guid>
      <dc:creator>sameer_chouksey</dc:creator>
      <dc:date>2022-07-19T11:02:14Z</dc:date>
    </item>
  </channel>
</rss>

