<?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: EXT_SYNC polarity and timing requirements in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2151850#M58654</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/45059"&gt;@JPE&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I highly recommend reviewing Chapter counter synchronization of Application Note AN14196, available on this &lt;A href="https://docs.nxp.com/bundle/AN14196/page/topics/counter_synchronization.html" target="_self"&gt;page&lt;/A&gt;, for detailed information regarding EXT_SYNC and counter synchronization. Although this application note is specifically designed for the MCX N Series, it serves as a valuable reference for understanding FlexPWM, which is also utilized in this context.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Habib&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2025 20:17:21 GMT</pubDate>
    <dc:creator>Habib_MS</dc:creator>
    <dc:date>2025-08-13T20:17:21Z</dc:date>
    <item>
      <title>EXT_SYNC polarity and timing requirements</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2150842#M58645</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have searched the Data Sheet and Reference Manual of the LPC553x without finding any information about the the polarity and timing requirements for the "EXT_SYNC" signal when using it for an external synchronization of the PWM module.&lt;/P&gt;&lt;P&gt;Should the signal on the EXT_SYNC pin be "High" under normal conditions and "Low" to trigger the synchronization?&lt;/P&gt;&lt;P&gt;What is the minimum pulse length of the EXT_SYNC-pulse?&lt;/P&gt;&lt;P&gt;When is the reinitialization of the PWM counter actually performed, a defined time after the "High" to "Low"-edge or at the "Low" to "High" edge of the EXT_SYNC-pulse?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;BR /&gt;Jörn&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 10:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2150842#M58645</guid>
      <dc:creator>JPE</dc:creator>
      <dc:date>2025-08-12T10:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: EXT_SYNC polarity and timing requirements</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2151850#M58654</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/45059"&gt;@JPE&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I highly recommend reviewing Chapter counter synchronization of Application Note AN14196, available on this &lt;A href="https://docs.nxp.com/bundle/AN14196/page/topics/counter_synchronization.html" target="_self"&gt;page&lt;/A&gt;, for detailed information regarding EXT_SYNC and counter synchronization. Although this application note is specifically designed for the MCX N Series, it serves as a valuable reference for understanding FlexPWM, which is also utilized in this context.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Habib&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 20:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2151850#M58654</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2025-08-13T20:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: EXT_SYNC polarity and timing requirements</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2152135#M58658</link>
      <description>&lt;P&gt;Hi Habib!&lt;/P&gt;&lt;P&gt;Thank you very much for your response, but the AN you are referring to doesn't really answer my questions.&lt;/P&gt;&lt;P&gt;I've been using the FlexPWM module on several platforms for a couple of years, but so far we have never been using an external trigger for the PWM synchronization.&lt;BR /&gt;Therefore I'm in doubt of the physical shape of the signal (polarity, timing, trigger point).&lt;/P&gt;&lt;P&gt;My assumption is, that the PWM synchronization will be performed when there is a rising edge on the pin assigned as the EXT_SYNC signal.&lt;BR /&gt;I would also assume that there is some kind of filter on the pins so the signal has to be stable for a few cycles before and after the edge.&lt;/P&gt;&lt;P&gt;I actually also asked ChatGPT, which confirmed my assumptions with the following answers:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The synchronization is performed when the &lt;STRONG&gt;EXT_SYNC pulse is seen/asserted (rising edge)&lt;/STRONG&gt; and sampled by the PWM logic — i.e. the counter is reinitialized when the sync input asserts (and is captured by the peripheral’s synchronizer). Put simply: &lt;STRONG&gt;a low→high (rising) transition is the normal trigger&lt;/STRONG&gt;. (&lt;A href="https://www.nxp.com/docs/en/application-note/AN4485.pdf?utm_source=chatgpt.com" target="_blank"&gt;NXP Semiconductors&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;NXP does &lt;STRONG&gt;not document a single fixed “minimum pulse width”&lt;/STRONG&gt; for EXT_SYNC in the LPC553x documents. The peripheral samples/synchronizes external control signals to the IPBus/peripheral clock, so you must supply a pulse long enough to survive input synchronizers and any pin filtering. In practice &lt;STRONG&gt;design for ≥ 1–3 IPBus clock cycles (preferably 3)&lt;/STRONG&gt;; if your IPBus/peripheral clock is 100 MHz that means &lt;STRONG&gt;≥ 10–30 ns&lt;/STRONG&gt; recommended. If you have pin filters / external RCs or long traces, increase the pulse width accordingly (µs scale for slow signals). (&lt;A href="https://mcuxpresso.nxp.com/api_doc/dev/4693/a00100.html?utm_source=chatgpt.com" target="_blank"&gt;mcuxpresso.nxp.com&lt;/A&gt;, &lt;A href="https://www.nxp.com/docs/en/application-note/AN4485.pdf?utm_source=chatgpt.com" target="_blank"&gt;NXP Semiconductors&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, I wasn't able to get these statements verified in the documents that ChatGPT is referring to (for example &lt;A title="AN4485" href="https://www.nxp.com/docs/en/application-note/AN4485.pdf" target="_blank" rel="noopener"&gt;AN4485&lt;/A&gt;, which seems to be using the same FlexPWM module as the MCX N you were referring to).&lt;/P&gt;&lt;P&gt;Therefore I was hoping to get some additional information here that wasn't available in the application notes and reference manuals.&lt;/P&gt;&lt;P&gt;BR. Jörn&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 07:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2152135#M58658</guid>
      <dc:creator>JPE</dc:creator>
      <dc:date>2025-08-14T07:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: EXT_SYNC polarity and timing requirements</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2153010#M58668</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/45059"&gt;@JPE&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;There is not a dedicated application note that outlines the EXT_SYNC requirements specifically. However, you can refer to AN12200, which demonstrates the use of EXT_SYNC, as highlighted in this &lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/eFlexPWM-EXTSYNC-mode-pwm-update-err/td-p/1688076" target="_self"&gt;community post&lt;/A&gt; by _Leo_. Although AN12200 focuses on eFlexPWM, its implementation can still serve as a useful reference for FlexPWM configurations.&lt;/P&gt;
&lt;P&gt;Also, I can suggest review these community post that could be helpful:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Digital-Signal-Controllers/EXT-SYNC-of-PWM-initial-frequency-settings/m-p/959277" target="_blank"&gt;EXT_SYNC of PWM initial frequency settings - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Difference-between-FlexPWM-FORCE-OUT-and-EXT-SYNC/td-p/1240889" target="_blank"&gt;Difference between FlexPWM FORCE_OUT and EXT_SYNC - NXP Community&lt;/A&gt;&lt;BR /&gt;BR&lt;BR /&gt;Habib&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 20:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2153010#M58668</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2025-08-15T20:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: EXT_SYNC polarity and timing requirements</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2153557#M58672</link>
      <description>&lt;P&gt;Hello Habib,&lt;/P&gt;&lt;P&gt;thank you for the additional references.&lt;/P&gt;&lt;P&gt;We're actually also using the eFlexPWM module, so it should be possible to use the according info directly.&lt;/P&gt;&lt;P&gt;BR. Jörn&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 10:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EXT-SYNC-polarity-and-timing-requirements/m-p/2153557#M58672</guid>
      <dc:creator>JPE</dc:creator>
      <dc:date>2025-08-18T10:08:56Z</dc:date>
    </item>
  </channel>
</rss>

