<?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: MIMXRT1180 how to output a pwm signal on the pin M16 - GPIO_AD_27 in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2289090#M35982</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252871"&gt;@silvio-vallorani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your updated information.&lt;/P&gt;
&lt;DIV&gt;Q: It seems that the PWM peripheral is unable to simultaneously generate the PWM signal and synchronize with the external signal, is this true?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;A: &lt;SPAN&gt;The FlexPWM module on i.MX RT1180 can simultaneously generate PWM outputs and synchronize its counter to an external signal.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;For more detailed information, I suggest you can refer to this Application Note :&amp;nbsp;&lt;A href="https://docs.nxp.com/bundle/AN14196/page/topics/counter_synchronization.html" target="_blank"&gt;AN14196: Flex Pulse Width Modulator (FlexPWM) Usage on MCX N Series | NXP Semiconductors&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;especially Section 3.2.2 “Counter Synchronization”, which describes how the FlexPWM counter can be synchronized across modules or via external sources.&lt;/P&gt;
&lt;/DIV&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1767758992316.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371919i53DAB8BB72F723D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1767758992316.png" alt="mayliu1_0-1767758992316.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Best Regards&lt;/DIV&gt;
&lt;DIV&gt;MayLiu&lt;/DIV&gt;</description>
    <pubDate>Wed, 07 Jan 2026 04:16:34 GMT</pubDate>
    <dc:creator>mayliu1</dc:creator>
    <dc:date>2026-01-07T04:16:34Z</dc:date>
    <item>
      <title>MIMXRT1180 how to output a pwm signal on the pin M16 - GPIO_AD_27</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270005#M35951</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a MIMXRT1189CVM8C.&lt;BR /&gt;I am not able to output a simple PWM signal from the pin&amp;nbsp;M16 - GPIO_AD_27.&lt;/P&gt;&lt;P&gt;I have attached the screenshots of the MCUXpresso Config Tool which I set.&lt;BR /&gt;&lt;BR /&gt;Can someone help me, please?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 09:55:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270005#M35951</guid>
      <dc:creator>silvio-vallorani</dc:creator>
      <dc:date>2025-12-30T09:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1180 how to output a pwm signal on the pin M16 - GPIO_AD_27</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270387#M35953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252871"&gt;@silvio-vallorani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;I suggest you can refer to SDK demo "evkmimxrt1180_pwm_cm33".&lt;/P&gt;
&lt;P&gt;1: Pin Configuration :&lt;/P&gt;
&lt;P&gt;In MCUXpresso Config Tools, set pin M16 (GPIO_AD_27) to function as PWM2_B (submodule 1).&lt;/P&gt;
&lt;P&gt;2: Add PWM Initialization Code&lt;/P&gt;
&lt;DIV&gt;Follow the SDK demo for PWM setup. The demo project uses PWM1 submodule 0, submodule 1, and submodule 2 to generate waveforms.&lt;BR /&gt;You can adapt the same method for PWM2 Submodule 1.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Best Regards&lt;/DIV&gt;
&lt;DIV&gt;MayLiu&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 Dec 2025 07:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270387#M35953</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-12-31T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1180 how to output a pwm signal on the pin M16 - GPIO_AD_27</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270662#M35955</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239163"&gt;@mayliu1&lt;/a&gt; for your reply. I found the problem, it was related to the "fault disable" signals. I tryed to disable the beahviour that involve faults, using the "MCUX Config Tool" is not possible: if I uncheck all the "fault disable" signals, the generated code totally remove the PWM_SetupFaultDisableMap() call and the "fault disable map" register stay to it's all enabled by default. I think this is a buggy beahviour of the tool, beacouse if I uncheck all the&amp;nbsp;"fault disable" signals from the tool and then I manually add the PWM_SetupFaultDisableMap() call with "0" as the mask, I obtain the expected behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, on my code I finally leave enabled all the&amp;nbsp;"fault disable" signals and I added&amp;nbsp;XBAR signals to route "InputLogicHigh" on "Flexpwm2Faultx" signals and that's works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have a new question, but I ask it as a separate message below.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 06:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270662#M35955</guid>
      <dc:creator>silvio-vallorani</dc:creator>
      <dc:date>2026-01-02T06:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1180 how to output a pwm signal on the pin M16 - GPIO_AD_27</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270672#M35956</link>
      <description>&lt;P&gt;My new related question is about a function I need to implement, but I can't figure out how to do it cleanly and possibly totally in hardware.&lt;/P&gt;&lt;P&gt;I have a periodic square signal generated by my application.&lt;BR /&gt;I need to generate a new periodic square signal that is 8 time more fast and that perfectly sync with the signal above, every it's rise edge.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="wavedrom.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371604i808820953C200D1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="wavedrom.png" alt="wavedrom.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Reference Manual I saw this block diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="rm1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371605i801F2BCE21E76ED2/image-size/large?v=v2&amp;amp;px=999" role="button" title="rm1.png" alt="rm1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, going into more detail about the behavior of PWM_EXT_SYNC I found this block diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="rm2.png" style="width: 859px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371606i03F41AD9FD08FB31/image-size/large?v=v2&amp;amp;px=999" role="button" title="rm2.png" alt="rm2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It seems that the PWM peripheral is unable to simultaneously generate the PWM signal and synchronize with the external signal, is this true?&lt;/P&gt;&lt;P&gt;Can you help me to find a good solution for my needs?&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Silvio&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 07:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2270672#M35956</guid>
      <dc:creator>silvio-vallorani</dc:creator>
      <dc:date>2026-01-02T07:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1180 how to output a pwm signal on the pin M16 - GPIO_AD_27</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2289090#M35982</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252871"&gt;@silvio-vallorani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your updated information.&lt;/P&gt;
&lt;DIV&gt;Q: It seems that the PWM peripheral is unable to simultaneously generate the PWM signal and synchronize with the external signal, is this true?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;A: &lt;SPAN&gt;The FlexPWM module on i.MX RT1180 can simultaneously generate PWM outputs and synchronize its counter to an external signal.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;For more detailed information, I suggest you can refer to this Application Note :&amp;nbsp;&lt;A href="https://docs.nxp.com/bundle/AN14196/page/topics/counter_synchronization.html" target="_blank"&gt;AN14196: Flex Pulse Width Modulator (FlexPWM) Usage on MCX N Series | NXP Semiconductors&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;especially Section 3.2.2 “Counter Synchronization”, which describes how the FlexPWM counter can be synchronized across modules or via external sources.&lt;/P&gt;
&lt;/DIV&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1767758992316.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371919i53DAB8BB72F723D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1767758992316.png" alt="mayliu1_0-1767758992316.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Best Regards&lt;/DIV&gt;
&lt;DIV&gt;MayLiu&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Jan 2026 04:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-how-to-output-a-pwm-signal-on-the-pin-M16-GPIO-AD-27/m-p/2289090#M35982</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2026-01-07T04:16:34Z</dc:date>
    </item>
  </channel>
</rss>

