<?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 Re: Regarding TSN PTP Function Configuration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406762#M246461</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;Thank you for the update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have encountered an issue regarding interrupt handling. When the SoC pin is in default GPIO mode, the IMU driver receives interrupt notifications without any problem. However, we need to know how to receive interrupt notifications when the pin is switched to ALT1 mode (1588_TRIG).&lt;/P&gt;&lt;P&gt;Our workflow requires waiting for an interrupt from the IMU, and then reading both the IMU data and the gPTP timestamp.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2026 03:16:24 GMT</pubDate>
    <dc:creator>hankwang</dc:creator>
    <dc:date>2026-08-20T03:16:24Z</dc:date>
    <item>
      <title>Regarding TSN PTP Function Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406352#M246446</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question regarding PTP implementation. We need to read IMU data paired with a gPTP timestamp.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our hardware pin configuration is as follows:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;CCM_CLKO1 (AH20)&amp;nbsp; &amp;lt;-&amp;nbsp;1588_TRIG&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CCM_CLKO3 (AK20)&amp;nbsp; &amp;lt;-&amp;nbsp;IMU Sensor Interrupt&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CCM_CLKO4 (AJ21)&amp;nbsp; (IMU PPS) -&amp;gt;&amp;nbsp;&amp;nbsp;CCM_CLKO1 (1588_TRIG)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Based on this, our understanding of the Pin Mux configuration is:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;CCM_CLKO4 needs to be configured as &lt;STRONG&gt;ALT1 (1588_PP2)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CCM_CLKO3 needs to be configured as &lt;STRONG&gt;ALT1 (1588_TRIG2)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CCM_CLKO1 needs to be configured as &lt;STRONG&gt;ALT1 (1588_TRIG1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When an IMU interrupt occurs, the hardware signal triggers the 1588 timestamp mechanism on the i.MX95, allowing the SoC to capture the PTP hardware timestamp at the exact moment of the event.&lt;/P&gt;&lt;P&gt;Upon receiving the IMU interrupt, the application reads the IMU data and retrieves the corresponding PTP timestamp, then combines both into a single data package. Please confirm if our understanding is correct.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Additionally, please help us verify the following two points:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Can the i.MX95 capture the PTP hardware timestamp at the exact time of the IMU interrupt via the aforementioned 1588_TRIG / 1588_PP hardware signals?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Does the Linux / NXP driver provide a corresponding API or /dev/ptpX interface for the application to retrieve this hardware-latched timestamp?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you for your support, and I look forward to your reply&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2026 01:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406352#M246446</guid>
      <dc:creator>hankwang</dc:creator>
      <dc:date>2026-08-19T01:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding TSN PTP Function Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406509#M246452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/170944"&gt;@hankwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q1. No problem.&lt;/P&gt;
&lt;P&gt;Q2. By connecting the IMU's INT/DRDY input using 1588_TRIG1/TRIG2 (external trigger input), the NETC Timer will hardware-latch a nanosecond-level PTP timestamp at the exact moment of the interrupt edge (stored in the ETTS FIFO and generating an interrupt). The application can then read this timestamp through the standard EXTTS interface on /dev/ptp0.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2026 09:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406509#M246452</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2026-08-19T09:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding TSN PTP Function Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406762#M246461</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;Thank you for the update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have encountered an issue regarding interrupt handling. When the SoC pin is in default GPIO mode, the IMU driver receives interrupt notifications without any problem. However, we need to know how to receive interrupt notifications when the pin is switched to ALT1 mode (1588_TRIG).&lt;/P&gt;&lt;P&gt;Our workflow requires waiting for an interrupt from the IMU, and then reading both the IMU data and the gPTP timestamp.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 03:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406762#M246461</guid>
      <dc:creator>hankwang</dc:creator>
      <dc:date>2026-08-20T03:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding TSN PTP Function Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406825#M246462</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on our research, the current practice requires routing the IMU interrupt signal simultaneously to both the SoC's 1588_trigger pin and a SoC GPIO pin. Once the IMU generates a signal, the GPIO pin notifies the application to fetch the data, while the 1588 trigger pin latches the precise timestamp of the interrupt.&lt;/P&gt;&lt;P&gt;The application workflow is as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The IMU generates an interrupt signal.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The application receives the interrupt notification, and the SoC latches the gPTP timestamp at the same time.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The application reads the IMU data and the gPTP timestamp, then packages them into a single data bundle.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;We would like to know if the IMU interrupt signal needs to be split and routed separately to both the SoC 1588_trigger pin and the SoC GPIO pin. Is this a common industry practice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does NXP have a similar approach or demo?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 07:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2406825#M246462</guid>
      <dc:creator>hankwang</dc:creator>
      <dc:date>2026-08-20T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding TSN PTP Function Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2407221#M246474</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/170944"&gt;@hankwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, there is no need to be split or routed to both the 1588_TRIG pin and a GPIO pin simultaneously.&lt;/P&gt;
&lt;P&gt;The NETC Timer's EXTTS (External Timestamp) input on i.MX95 is itself capable of generating a CPU interrupt when an external pulse is received on the TMR_1588_TRIG pin.&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 06:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-TSN-PTP-Function-Configuration/m-p/2407221#M246474</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2026-08-21T06:57:52Z</dc:date>
    </item>
  </channel>
</rss>

