<?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 TWR-KV46F150M : SDK Example : PWM Driver : No output Pulse on Submodule1(SM1) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2025531#M67152</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with the TWR-KV46F150M evaluation board and using MCUXpresso IDE. I have downloaded and installed SDK version 2.8.0 for the TWR-KV46F150M. I am currently testing the PWM driver example by directly importing it from the SDK. i have attached the screen shot of the&amp;nbsp; example project i have imported from SDK.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PWM_Driver_Example.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318920i21CE52EE5D49C565/image-size/large?v=v2&amp;amp;px=999" role="button" title="PWM_Driver_Example.png" alt="PWM_Driver_Example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;H3&gt;Steps Taken:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Imported the PWM driver example from the SDK.&lt;/LI&gt;&lt;LI&gt;Compiled the project and uploaded it to the board successfully without any errors.&lt;/LI&gt;&lt;LI&gt;Observed the PWM output on the assigned pins.&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Issue:&lt;/H3&gt;&lt;P&gt;I can see the PWM output on the pin corresponding to &lt;STRONG&gt;submodule 0&lt;/STRONG&gt;, but there is no PWM output on the pin assigned to &lt;STRONG&gt;submodule 1&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Observations:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;I confirmed that the example code is unmodified, and the project settings are default as provided in the SDK.&lt;/LI&gt;&lt;LI&gt;I verified the pin assignments and checked the schematics to ensure proper connections.&lt;/LI&gt;&lt;LI&gt;Submodule 0 is working as expected, but submodule 1 does not generate any signal on the corresponding pin.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Questions:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Is there an additional configuration required in the example to enable PWM output on submodule 1?&lt;/LI&gt;&lt;LI&gt;Could this issue be related to the board's hardware configuration, or is it likely a software setup issue?&lt;/LI&gt;&lt;LI&gt;Are there any known issues with the SDK version 2.8.0 for this board regarding PWM submodules?&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Additional Information:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;Board: TWR-KV46F150M&lt;/LI&gt;&lt;LI&gt;IDE: MCUXpresso IDE&lt;/LI&gt;&lt;LI&gt;SDK Version: 2.8.0&lt;/LI&gt;&lt;LI&gt;Example: PWM driver example (directly imported without modifications)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you for your assistance. Any guidance or suggestions to resolve this issue will be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2025 06:53:23 GMT</pubDate>
    <dc:creator>EmbedALM</dc:creator>
    <dc:date>2025-01-10T06:53:23Z</dc:date>
    <item>
      <title>TWR-KV46F150M : SDK Example : PWM Driver : No output Pulse on Submodule1(SM1)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2025531#M67152</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with the TWR-KV46F150M evaluation board and using MCUXpresso IDE. I have downloaded and installed SDK version 2.8.0 for the TWR-KV46F150M. I am currently testing the PWM driver example by directly importing it from the SDK. i have attached the screen shot of the&amp;nbsp; example project i have imported from SDK.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PWM_Driver_Example.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318920i21CE52EE5D49C565/image-size/large?v=v2&amp;amp;px=999" role="button" title="PWM_Driver_Example.png" alt="PWM_Driver_Example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;H3&gt;Steps Taken:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Imported the PWM driver example from the SDK.&lt;/LI&gt;&lt;LI&gt;Compiled the project and uploaded it to the board successfully without any errors.&lt;/LI&gt;&lt;LI&gt;Observed the PWM output on the assigned pins.&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Issue:&lt;/H3&gt;&lt;P&gt;I can see the PWM output on the pin corresponding to &lt;STRONG&gt;submodule 0&lt;/STRONG&gt;, but there is no PWM output on the pin assigned to &lt;STRONG&gt;submodule 1&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Observations:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;I confirmed that the example code is unmodified, and the project settings are default as provided in the SDK.&lt;/LI&gt;&lt;LI&gt;I verified the pin assignments and checked the schematics to ensure proper connections.&lt;/LI&gt;&lt;LI&gt;Submodule 0 is working as expected, but submodule 1 does not generate any signal on the corresponding pin.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Questions:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Is there an additional configuration required in the example to enable PWM output on submodule 1?&lt;/LI&gt;&lt;LI&gt;Could this issue be related to the board's hardware configuration, or is it likely a software setup issue?&lt;/LI&gt;&lt;LI&gt;Are there any known issues with the SDK version 2.8.0 for this board regarding PWM submodules?&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Additional Information:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;Board: TWR-KV46F150M&lt;/LI&gt;&lt;LI&gt;IDE: MCUXpresso IDE&lt;/LI&gt;&lt;LI&gt;SDK Version: 2.8.0&lt;/LI&gt;&lt;LI&gt;Example: PWM driver example (directly imported without modifications)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you for your assistance. Any guidance or suggestions to resolve this issue will be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 06:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2025531#M67152</guid>
      <dc:creator>EmbedALM</dc:creator>
      <dc:date>2025-01-10T06:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KV46F150M : SDK Example : PWM Driver : No output Pulse on Submodule1(SM1)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2027923#M67184</link>
      <description>&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242989"&gt;@EmbedALM&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;SPAN&gt;When running the demo, what message is displayed in the terminal? &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;SPAN&gt;And please refer to readme.txt to measure the signal using an oscilloscope.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;SPAN&gt;* Probe the pwm signal using an oscilloscope&lt;BR /&gt;- At J501_9&lt;BR /&gt;- At J501_11&lt;BR /&gt;- At J501_30&lt;BR /&gt;- At J501_34&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 02:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2027923#M67184</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-01-15T02:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KV46F150M : SDK Example : PWM Driver : No output Pulse on Submodule1(SM1)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2028188#M67188</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;Thank you for your response. I checked the terminal, and it displays only "FlexPWM driver example". I also followed the instructions in the readme.txt and probed the pins using an oscilloscope as suggested.&lt;/P&gt;&lt;P&gt;Here’s what I observed:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The PWM signal is present at the pins corresponding to submodule 0.&lt;/LI&gt;&lt;LI&gt;No signal is observed at the pins assigned to submodule 1.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Additionally, I tried modifying the code by changing the clock setting for submodule 1. Specifically, I replaced:&lt;/P&gt;&lt;P&gt;"pwmConfig.clockSource = kPWM_Submodule0Clock;"&lt;/P&gt;&lt;P&gt;with&amp;nbsp;&lt;/P&gt;&lt;P&gt;"pwmConfig.clockSource = kPWM_BusClock;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;After making this change, I observed that a pulse was generated on the submodule 1 pin as well.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Could you clarify:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why submodule 1 does not output a signal when kPWM_Submodule0Clock is used as the clock source?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2028188#M67188</guid>
      <dc:creator>EmbedALM</dc:creator>
      <dc:date>2025-01-15T09:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KV46F150M : SDK Example : PWM Driver : No output Pulse on Submodule1(SM1)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2030080#M67195</link>
      <description>&lt;P&gt;&lt;FONT face="times new roman,times"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242989"&gt;@EmbedALM&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&lt;SPAN&gt;I have tested the PWM demo on my side, and I have the same issue as yours. Finally, I checked a thread to analyze this issue.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Support/SDK-PWM-demo-error-on-some-PWM-pins/ta-p/1310710" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Support/SDK-PWM-demo-error-on-some-PWM-pins/ta-p/1310710&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;"&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-diagnosis-zone"&gt;
&lt;H2 id="toc-hId-1129235030"&gt;&lt;FONT face="times new roman,times"&gt;Diagnosis&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;The root cause of the issue is that the demo configures the prescale divider for submodules 1 and 2 to a divide of two.&amp;nbsp; In addition, these submodules use the Master Sync from submodule 0 for the initialization control.&amp;nbsp; This, coupled with a clock that is twice as slow as submodule 0, causes submodules 1 and 2 to re-initialize before the output pins are able to change states.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-solution-zone"&gt;
&lt;H2 id="toc-hId--678219433"&gt;&lt;FONT face="times new roman,times"&gt;Solution&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;Set the prescale divide for submodules 1 and 2 to a divide of &lt;STRONG&gt;one&lt;/STRONG&gt; (instead of two).&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;FONT face="times new roman,times"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1737190391307.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320176iA8580DB03798CBAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1737190391307.png" alt="Alice_Yang_0-1737190391307.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;I hope this information helps you.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;BR&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="times new roman,times"&gt;Alice&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 18 Jan 2025 08:55:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV46F150M-SDK-Example-PWM-Driver-No-output-Pulse-on/m-p/2030080#M67195</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-01-18T08:55:11Z</dc:date>
    </item>
  </channel>
</rss>

