<?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 PWM stops while debug session is paused in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/PWM-stops-while-debug-session-is-paused/m-p/2200799#M35589</link>
    <description>&lt;P&gt;I have configured a PWM for a display backlight. It works fine when not debugging. However, while debugging, if a breakpoint is hit or I place a breakpoint in the code, the PWM output goes low and the backlight turns off. I have verified this on the PWM output pin.&lt;BR /&gt;I am using an MIMXRT1052 controller with Zephyr RTOS. I also tried setting the pwm_a (FLEXPWM4_PWMA0, which I am using) fault state to 01, but I still encountered the same issue.&lt;BR /&gt;Has anyone else faced this issue?&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2025 10:17:11 GMT</pubDate>
    <dc:creator>sanjay25</dc:creator>
    <dc:date>2025-11-07T10:17:11Z</dc:date>
    <item>
      <title>PWM stops while debug session is paused</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/PWM-stops-while-debug-session-is-paused/m-p/2200799#M35589</link>
      <description>&lt;P&gt;I have configured a PWM for a display backlight. It works fine when not debugging. However, while debugging, if a breakpoint is hit or I place a breakpoint in the code, the PWM output goes low and the backlight turns off. I have verified this on the PWM output pin.&lt;BR /&gt;I am using an MIMXRT1052 controller with Zephyr RTOS. I also tried setting the pwm_a (FLEXPWM4_PWMA0, which I am using) fault state to 01, but I still encountered the same issue.&lt;BR /&gt;Has anyone else faced this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 10:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/PWM-stops-while-debug-session-is-paused/m-p/2200799#M35589</guid>
      <dc:creator>sanjay25</dc:creator>
      <dc:date>2025-11-07T10:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: PWM stops while debug session is paused</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/PWM-stops-while-debug-session-is-paused/m-p/2203952#M35639</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/256445"&gt;@sanjay25&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please verify that bit 15, labeled “DBGEN,” in the Control 2 Register is set to 1. This setting ensures that the PWM operates in debug mode. For more details about this bit, refer to section 54.8.4 of the RM.&lt;BR /&gt;Additionally, there is an example that demonstrates PWM implementation using FlexPWM in Zephyr. The example is called “PWM LED” and can be found in the MCUXpresso extension for VS Code, which could be helpful.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Habib_MS_0-1762988466669.png" style="width: 554px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365356iB38D5D45CEBD1835/image-dimensions/554x334?v=v2" width="554" height="334" role="button" title="Habib_MS_0-1762988466669.png" alt="Habib_MS_0-1762988466669.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;BR&lt;BR /&gt;Habib&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 23:01:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/PWM-stops-while-debug-session-is-paused/m-p/2203952#M35639</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2025-11-12T23:01:33Z</dc:date>
    </item>
  </channel>
</rss>

