<?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: SDK Driver Example project &amp;quot;pwm&amp;quot; - outputs not working FRDM-MCXA153 (FLEXPWM0 example) in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/SDK-Driver-Example-project-quot-pwm-quot-outputs-not-working/m-p/1909435#M1156</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/4971"&gt;@marks&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested the&amp;nbsp;pwm example.(&lt;SPAN&gt;&amp;nbsp;SDK_2_16_000_FRDM-MCXA153\boards\frdmmcxa153\driver_examples\pwm&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;It can work.&lt;/P&gt;
&lt;P&gt;You can check my picture.&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 06:26:24 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2024-07-16T06:26:24Z</dc:date>
    <item>
      <title>SDK Driver Example project "pwm" - outputs not working FRDM-MCXA153 (FLEXPWM0 example)</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/SDK-Driver-Example-project-quot-pwm-quot-outputs-not-working/m-p/1908111#M1101</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Tried a few SDK example projects for my newly purchased&amp;nbsp;FRDM-MCXA153 board. All seem to work except the pwm project (Located at SDK_2_16_000_FRDM-MCXA153\boards\frdmmcxa153\driver_examples\pwm). It does not output any pulses at these test points as expected.&lt;/P&gt;&lt;P&gt;(from readme.md)&lt;BR /&gt;* Probe the pwm signal using an oscilloscope&lt;BR /&gt;- ADC PWM0_A0 output signal J3-15(PIO3_6).&lt;BR /&gt;- ADC PWM0_B0 output signal J3-13(PIO3_7).&lt;BR /&gt;- ADC PWM0_A1 output signal J3-11(PIO3_8).&lt;BR /&gt;- ADC PWM0_A2 output signal J3-7(PIO3_10).&lt;/P&gt;&lt;P&gt;I know the code is running. I get "FlexPWM driver example" displayed in the terminal. I can see values changing in the FLEXPWM0 component. These FLEXPWM0 component registers change each time I loop through main:&lt;/P&gt;&lt;P&gt;SM0CNT&lt;BR /&gt;SM0VAL2&lt;BR /&gt;SM0VAL3&lt;/P&gt;&lt;P&gt;So I can see a lot is working. Just nothing on the expected outputs. Has anybody else had same experience?&lt;/P&gt;&lt;P&gt;Seemed like the clock to GPIO3 was never enabled. So I added this line of code, in pin_mux.c, in the BOARD_InitPins(void) function:&lt;/P&gt;&lt;P&gt;/* Write to GPIO3: Peripheral clock is enabled */&lt;BR /&gt;CLOCK_EnableClock(kCLOCK_GateGPIO3);&lt;/P&gt;&lt;P&gt;And PRESTO&lt;SPAN&gt;! It started working. Hope this helps someone that was stuck like I was.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 20:33:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/SDK-Driver-Example-project-quot-pwm-quot-outputs-not-working/m-p/1908111#M1101</guid>
      <dc:creator>marks</dc:creator>
      <dc:date>2024-07-14T20:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: SDK Driver Example project "pwm" - outputs not working FRDM-MCXA153 (FLEXPWM0 example)</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/SDK-Driver-Example-project-quot-pwm-quot-outputs-not-working/m-p/1909435#M1156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/4971"&gt;@marks&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested the&amp;nbsp;pwm example.(&lt;SPAN&gt;&amp;nbsp;SDK_2_16_000_FRDM-MCXA153\boards\frdmmcxa153\driver_examples\pwm&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;It can work.&lt;/P&gt;
&lt;P&gt;You can check my picture.&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 06:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/SDK-Driver-Example-project-quot-pwm-quot-outputs-not-working/m-p/1909435#M1156</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-07-16T06:26:24Z</dc:date>
    </item>
  </channel>
</rss>

