<?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 XBAR for Qtimer  in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987224#M5528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know much about Xbar peripheral and I hope someone can answer my question. I am using this pin GPIO_AD_B1_00 for outputing a PWM with variable duty cycle each period, using Qtimer3_Timer0, and DMA. Please see below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IOMUXC_SetPinMux(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOMUXC_GPIO_AD_B1_00_QTIMER3_TIMER0,&amp;nbsp;&amp;nbsp;&amp;nbsp; /* GPIO_AD_B1_00 is configured as QTIMER3_TIMER0 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0U); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need two PWMs generated using DMA, and Qtimer. I have managed to get one PWM working, but I have only the pin mentioned above available to be used for PWM with Qtimer. Is there any way I can use Qtimer with any other GPIO to generate the desired PWM through XBAR? I am just thinking of a way of demuxing the output of Qtimer3_Timer0 to two GPIOs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Farid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2020 06:58:10 GMT</pubDate>
    <dc:creator>farid_mabrouk</dc:creator>
    <dc:date>2020-02-05T06:58:10Z</dc:date>
    <item>
      <title>XBAR for Qtimer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987224#M5528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know much about Xbar peripheral and I hope someone can answer my question. I am using this pin GPIO_AD_B1_00 for outputing a PWM with variable duty cycle each period, using Qtimer3_Timer0, and DMA. Please see below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IOMUXC_SetPinMux(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOMUXC_GPIO_AD_B1_00_QTIMER3_TIMER0,&amp;nbsp;&amp;nbsp;&amp;nbsp; /* GPIO_AD_B1_00 is configured as QTIMER3_TIMER0 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0U); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need two PWMs generated using DMA, and Qtimer. I have managed to get one PWM working, but I have only the pin mentioned above available to be used for PWM with Qtimer. Is there any way I can use Qtimer with any other GPIO to generate the desired PWM through XBAR? I am just thinking of a way of demuxing the output of Qtimer3_Timer0 to two GPIOs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Farid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 06:58:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987224#M5528</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-02-05T06:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: XBAR for Qtimer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987225#M5529</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="351771" data-username="farid.mabrouk@alumni.ubc.ca" href="https://community.nxp.com/people/farid.mabrouk@alumni.ubc.ca"&gt;Andre marcus&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and&lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;According to your statement, I think the QTIMER is enough to implement your application: generate two PWM, as the QTIMER module contains four identical counter/timer groups. Each 16-bit counter/timer group contains a prescaler, a counter, a load register, a hold register, a capture register, two compare registers, two status and control registers, and one control register.&lt;BR /&gt;In further, the SDK library contains the QTIMER demo project, please refer to it for details.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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, 05 Feb 2020 07:55:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987225#M5529</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-02-05T07:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: XBAR for Qtimer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987226#M5530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have only one pin dedicated to be used with Qtimer; and I’m using it to generate a Pwm; I don’t know how to use a gpio that is not dedicated to be used with Qtimer to generate my second pwm;&amp;nbsp;&amp;nbsp;How is that possible? Not sure if you know what I want to do?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 08:05:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987226#M5530</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-02-05T08:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: XBAR for Qtimer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987227#M5531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="351771" data-objecttype="3" href="https://community.nxp.com/people/farid.mabrouk@alumni.ubc.ca"&gt;Andre marcus&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply and clarification.&lt;BR /&gt;1) How is that possible?&lt;BR /&gt;-- Yes, it's possible, as the XBAR module is able to assign QTIMERn_TMn_OUTPUT to the I/O pins which work as the output of the XBAR (as the below figure shows).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102003iC84C5E5EE513541D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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, 06 Feb 2020 05:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/XBAR-for-Qtimer/m-p/987227#M5531</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-02-06T05:02:04Z</dc:date>
    </item>
  </channel>
</rss>

