<?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>i.MX RT Crossover MCUsのトピックUsing rt1050 flexpwm X output</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854733#M1900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a hardware configuration that requires putting a PWM signal on the Flexpwm1 output X pin (GPIO_AD_B0_03).&amp;nbsp; I can get the SDK PWM example to put a PWM on A or B outputs, but not the X output.&amp;nbsp; I can't seem to make the PWM drivers access that pin for the pwm signal.&amp;nbsp; How do I configure the FlexPWM1 module, submodule 1 to do this?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2019 22:05:50 GMT</pubDate>
    <dc:creator>peter_lombrozo</dc:creator>
    <dc:date>2019-03-26T22:05:50Z</dc:date>
    <item>
      <title>Using rt1050 flexpwm X output</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854733#M1900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a hardware configuration that requires putting a PWM signal on the Flexpwm1 output X pin (GPIO_AD_B0_03).&amp;nbsp; I can get the SDK PWM example to put a PWM on A or B outputs, but not the X output.&amp;nbsp; I can't seem to make the PWM drivers access that pin for the pwm signal.&amp;nbsp; How do I configure the FlexPWM1 module, submodule 1 to do this?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 22:05:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854733#M1900</guid>
      <dc:creator>peter_lombrozo</dc:creator>
      <dc:date>2019-03-26T22:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using rt1050 flexpwm X output</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854734#M1901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="325312" data-username="peter.lombrozo@3dsystems.com" href="https://community.nxp.com/people/peter.lombrozo@3dsystems.com"&gt;Peter Lombrozo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; GPIO_AD_B0_03 can be used as flexpwm1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72687i724242C6B2408CB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you modify the pin_mux.c to configure the pin function?&lt;/P&gt;&lt;P&gt;If you already modify it, and it still can't work.&lt;/P&gt;&lt;P&gt;Please tell me the details about your modified code based on the SDK, then I will help you to check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 11:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854734#M1901</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-03-27T11:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using rt1050 flexpwm X output</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854735#M1902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I had the pin mux correct.&amp;nbsp; The problem is that the PWM_X channel is not available in the SDK drivers.&amp;nbsp; However, I got it to work by modifying fsl_pwm.c,h to configure PWM_X that creates a new mode that was not aligned and disabling the deadband.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fsl_pwm.c&lt;BR /&gt;10c10&lt;BR /&gt;&amp;lt; &lt;BR /&gt;---&lt;BR /&gt;387a388,396&lt;BR /&gt;&amp;gt; case kPWM_NonAligned:&lt;BR /&gt;&amp;gt; /* Setup the PWM period for a PWM_X non-aligned signal */&lt;BR /&gt;&amp;gt; /* Indicates the start of the PWM period */&lt;BR /&gt;&amp;gt; base-&amp;gt;SM[subModule].INIT = 0;&lt;BR /&gt;&amp;gt; /* Indicates the center value */&lt;BR /&gt;&amp;gt; base-&amp;gt;SM[subModule].VAL0 = (pulseCnt / 2);&lt;BR /&gt;&amp;gt; /* Indicates the end of the PWM period */&lt;BR /&gt;&amp;gt; base-&amp;gt;SM[subModule].VAL1 = pulseCnt;&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;400c409&lt;BR /&gt;&amp;lt; else&lt;BR /&gt;---&lt;BR /&gt;&amp;gt; else if (chnlParams-&amp;gt;pwmChannel == kPWM_PwmB)&lt;BR /&gt;448c457&lt;BR /&gt;&amp;lt; assert(pwmSignal &amp;lt; 2);&lt;BR /&gt;---&lt;BR /&gt;&amp;gt; assert(pwmSignal &amp;lt; 3);&lt;BR /&gt;521a531,543&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case kPWM_NonAligned: // Only for PWM_X output&lt;BR /&gt;&amp;gt; pulseCnt = base-&amp;gt;SM[subModule].VAL1;&lt;BR /&gt;&amp;gt; /* Calculate pulse width */&lt;BR /&gt;&amp;gt; pwmHighPulse = (pulseCnt * dutyCyclePercent) / 100;&lt;BR /&gt;&amp;gt; if (pwmSignal == kPWM_PwmX)&lt;BR /&gt;&amp;gt; {&lt;BR /&gt;&amp;gt; base-&amp;gt;SM[subModule].VAL0 = pwmHighPulse;&lt;BR /&gt;&amp;gt; //base-&amp;gt;SM[subModule].VAL1 = ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fsl_pwm.h&lt;/P&gt;&lt;P&gt;230c230,231&lt;BR /&gt;&amp;lt; kPWM_EdgeAligned /*!&amp;lt; Unsigned edge-aligned */&lt;BR /&gt;---&lt;BR /&gt;&amp;gt; kPWM_EdgeAligned, /*!&amp;lt; Unsigned edge-aligned */&lt;BR /&gt;&amp;gt; kPWM_NonAligned /*!&amp;lt; Not aligned for PWM_X channel*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 16:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854735#M1902</guid>
      <dc:creator>peter_lombrozo</dc:creator>
      <dc:date>2019-03-27T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using rt1050 flexpwm X output</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854736#M1903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter Lombrozo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks a lot for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; And thank you for the modified point sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Now, after the modification, do you still have any problem about it?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still have the problems, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 08:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Using-rt1050-flexpwm-X-output/m-p/854736#M1903</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-03-28T08:39:53Z</dc:date>
    </item>
  </channel>
</rss>

