<?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 dm-multiple-face-detection-on-mcxn947 SERVO PIN RUN OUTPUT in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/dm-multiple-face-detection-on-mcxn947-SERVO-PIN-RUN-OUTPUT/m-p/2093767#M3002</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I’m working on a project where I need to control two servos using PWM at 200 Hz through pins &lt;STRONG&gt;P1_22 (tilt)&lt;/STRONG&gt; and &lt;STRONG&gt;P1_23 (pan)&lt;/STRONG&gt;.&lt;BR /&gt;I have successfully set SERVO_ENABLE = 1, and the &lt;STRONG&gt;camera module is working correctly and detects without issues&lt;/STRONG&gt;. Also, the &lt;STRONG&gt;hardware jumpers on the board are properly configured&lt;/STRONG&gt; according to the design.&lt;/P&gt;&lt;P&gt;However, when checking the output on an oscilloscope, &lt;STRONG&gt;no PWM signal is detected on the specified pins&lt;/STRONG&gt;, even though the duty cycle values are correctly set.&lt;/P&gt;&lt;P&gt;When reviewing the pin configuration (Routing Details), the following &lt;STRONG&gt;active errors appear&lt;/STRONG&gt;:&amp;nbsp;SmartDMA0 - TRIG, 0 on pin B12,SmartDMA0 - TRIG, 1 on pin B11,SmartDMA0 - TRIG, 2 on pin E11,LPFlexcomm0 - LPFLEXCOMM_P0 on pin B10,LPFlexcomm0 - LPFLEXCOMM_P1 on pin A10&lt;/P&gt;&lt;P&gt;These errors suggest &lt;STRONG&gt;conflicts between peripherals&lt;/STRONG&gt;, and I suspect they may be preventing proper PWM routing from modules like SCTIMER or CTIMER to pins P1_22 and P1_23.&lt;/P&gt;&lt;P&gt;Has anyone managed to get servo PWM working on these pins? Is there anything specific I should check in the PINMUX or timer clock configuration?&lt;/P&gt;&lt;P&gt;Any help or working examples would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 17:20:25 GMT</pubDate>
    <dc:creator>jlopezgtcm</dc:creator>
    <dc:date>2025-05-08T17:20:25Z</dc:date>
    <item>
      <title>dm-multiple-face-detection-on-mcxn947 SERVO PIN RUN OUTPUT</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/dm-multiple-face-detection-on-mcxn947-SERVO-PIN-RUN-OUTPUT/m-p/2093767#M3002</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I’m working on a project where I need to control two servos using PWM at 200 Hz through pins &lt;STRONG&gt;P1_22 (tilt)&lt;/STRONG&gt; and &lt;STRONG&gt;P1_23 (pan)&lt;/STRONG&gt;.&lt;BR /&gt;I have successfully set SERVO_ENABLE = 1, and the &lt;STRONG&gt;camera module is working correctly and detects without issues&lt;/STRONG&gt;. Also, the &lt;STRONG&gt;hardware jumpers on the board are properly configured&lt;/STRONG&gt; according to the design.&lt;/P&gt;&lt;P&gt;However, when checking the output on an oscilloscope, &lt;STRONG&gt;no PWM signal is detected on the specified pins&lt;/STRONG&gt;, even though the duty cycle values are correctly set.&lt;/P&gt;&lt;P&gt;When reviewing the pin configuration (Routing Details), the following &lt;STRONG&gt;active errors appear&lt;/STRONG&gt;:&amp;nbsp;SmartDMA0 - TRIG, 0 on pin B12,SmartDMA0 - TRIG, 1 on pin B11,SmartDMA0 - TRIG, 2 on pin E11,LPFlexcomm0 - LPFLEXCOMM_P0 on pin B10,LPFlexcomm0 - LPFLEXCOMM_P1 on pin A10&lt;/P&gt;&lt;P&gt;These errors suggest &lt;STRONG&gt;conflicts between peripherals&lt;/STRONG&gt;, and I suspect they may be preventing proper PWM routing from modules like SCTIMER or CTIMER to pins P1_22 and P1_23.&lt;/P&gt;&lt;P&gt;Has anyone managed to get servo PWM working on these pins? Is there anything specific I should check in the PINMUX or timer clock configuration?&lt;/P&gt;&lt;P&gt;Any help or working examples would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 17:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/dm-multiple-face-detection-on-mcxn947-SERVO-PIN-RUN-OUTPUT/m-p/2093767#M3002</guid>
      <dc:creator>jlopezgtcm</dc:creator>
      <dc:date>2025-05-08T17:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: dm-multiple-face-detection-on-mcxn947 SERVO PIN RUN OUTPUT</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/dm-multiple-face-detection-on-mcxn947-SERVO-PIN-RUN-OUTPUT/m-p/2094452#M3007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245179"&gt;@jlopezgtcm&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;When reviewing the pin configuration (Routing Details), the following&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;active errors appear&lt;/STRONG&gt;&lt;SPAN&gt;:&amp;nbsp;SmartDMA0 - TRIG, 0 on pin B12,SmartDMA0 - TRIG, 1 on pin B11,SmartDMA0 - TRIG, 2 on pin E11,LPFlexcomm0 - LPFLEXCOMM_P0 on pin B10,LPFlexcomm0 - LPFLEXCOMM_P1 on pin A10&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;This is because the relevant pins in the demo are handwritten, not generated through the config tool, so there may be an error when opening them.&lt;BR /&gt;&lt;BR /&gt;When i open dm-multiple-face-detection-on-mcxn947 project through config tool. it also reported this error.&lt;BR /&gt;&lt;BR /&gt;I think you can first test the sctimer sample pwm example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1746779202659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/336893iCC75E5E37C691773/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1746779202659.png" alt="Harry_Zhang_0-1746779202659.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If it can work, i think you can port it to your demo.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;It also uses the pin 1_22 and pin 1_23.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 08:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/dm-multiple-face-detection-on-mcxn947-SERVO-PIN-RUN-OUTPUT/m-p/2094452#M3007</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-05-09T08:27:04Z</dc:date>
    </item>
  </channel>
</rss>

