<?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: How to route QTMR output via XBAR to pin? in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1543209#M22201</link>
    <description>&lt;P&gt;Hi，&lt;BR /&gt;Sorry for replying late.&lt;BR /&gt;I created a new demo project that bases on the evkmimxrt1020_qtmr_inputcapture_outputpwm, then add the XBAR feature, now I can output the PWM via the GPIO_AD_B1_09.&lt;BR /&gt;Please check the attachment.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
    <pubDate>Tue, 25 Oct 2022 07:52:47 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2022-10-25T07:52:47Z</dc:date>
    <item>
      <title>How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1535880#M21991</link>
      <description>&lt;P&gt;I have a board on which I have to produce a simple PWM waveform on pin GPIO_AD_B1_09 on an MIMRT1021DAG5A.&lt;/P&gt;&lt;P&gt;This requires going through the XBAR.&lt;/P&gt;&lt;P&gt;I have successfully routed another pin through the XBAR to a QTMR input, but can't see any output on this pin with the following PWM code:&lt;/P&gt;&lt;PRE&gt;// Generating 22kHz PWM using TMR1 channel 1 to pin GPIO_AD_B1_09&lt;BR /&gt;// Want to connect TMR1.output1 to pin GPIO_AD_B1_09&lt;BR /&gt;// but need to do it through the XBAR&lt;BR /&gt;#define FAN_PWM_TIMER TMR1&lt;BR /&gt;#define FAN_PWM_TIMER_CHANNEL kQTMR_Channel_1&lt;BR /&gt;#define FAN_PWM_FREQUENCY 22000UL&lt;BR /&gt;#define FAN_TIMER_DIVIDED_CLOCK 1953125UL&lt;BR /&gt;&lt;BR /&gt;void fan_pwm_initialize(void)&lt;BR /&gt;{&lt;BR /&gt; CLOCK_EnableClock(kCLOCK_Iomuxc);&lt;BR /&gt; CLOCK_EnableClock(kCLOCK_Xbar1);&lt;BR /&gt; XBARA_Init(XBARA);&lt;BR /&gt;&lt;BR /&gt; IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_09_XBAR1_INOUT13, 0);&lt;BR /&gt; IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B1_09_XBAR1_INOUT13, 0x1080);&lt;BR /&gt; IOMUXC_GPR-&amp;gt;GPR6 = (IOMUXC_GPR-&amp;gt;GPR6 &amp;amp; (~(IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_13_MASK))) |&lt;BR /&gt; IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_13(0x01U);&lt;BR /&gt;&lt;BR /&gt; XBARA_SetSignalsConnection(XBARA, kXBARA1_InputQtimer1Tmr1, kXBARA1_OutputIomuxXbarInout13);&lt;BR /&gt;&lt;BR /&gt; qtmr_config_t qtmrConfig = {&lt;BR /&gt;.debugMode = kQTMR_RunNormalInDebug,&lt;BR /&gt;.enableExternalForce = false,&lt;BR /&gt;.enableMasterMode = false,&lt;BR /&gt;.faultFilterCount = 0,&lt;BR /&gt;.faultFilterPeriod = 0,&lt;BR /&gt;.primarySource = kQTMR_ClockDivide_64, // 1.953 MHz clock&lt;BR /&gt;.secondarySource = kQTMR_Counter0InputPin,&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt; QTMR_Init(FAN_PWM_TIMER, FAN_PWM_TIMER_CHANNEL, &amp;amp;qtmrConfig);&lt;BR /&gt; // start at 50% duty cycle&lt;BR /&gt; QTMR_SetupPwm(FAN_PWM_TIMER, FAN_PWM_TIMER_CHANNEL, FAN_PWM_FREQUENCY, 50, false, FAN_TIMER_DIVIDED_CLOCK);&lt;BR /&gt; QTMR_StartTimer(FAN_PWM_TIMER, FAN_PWM_TIMER_CHANNEL, kQTMR_PriSrcRiseEdge);&lt;BR /&gt;};&lt;/PRE&gt;&lt;P&gt;How can I make this work? I have looked at the TMR1 registers in a debugger and they look OK.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 23:32:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1535880#M21991</guid>
      <dc:creator>bikenomad</dc:creator>
      <dc:date>2022-10-11T23:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1536081#M21998</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/33587"&gt;@bikenomad&lt;/a&gt;&amp;nbsp;，&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;After having a brief review of the above code, I've not found something wrong,&amp;nbsp;so I guess the issue may be related to hardware.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
      <pubDate>Wed, 12 Oct 2022 07:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1536081#M21998</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-10-12T07:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1538038#M22044</link>
      <description>&lt;P&gt;I have tried two EVK boards with the same result. My EVK boards are version A3, and I have checked to make sure that the pin &lt;FONT face="courier new,courier"&gt;GPIO_AD_B1_09&lt;/FONT&gt; is in fact connected to J17/1.&lt;/P&gt;&lt;P&gt;Could you look a bit more closely?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 21:18:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1538038#M22044</guid>
      <dc:creator>bikenomad</dc:creator>
      <dc:date>2022-10-14T21:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1538183#M22049</link>
      <description>&lt;P&gt;Hi，&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Whether you can upload the complete demo project that is able to replicate the phenomenon.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
      <pubDate>Mon, 17 Oct 2022 01:59:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1538183#M22049</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-10-17T01:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1538736#M22064</link>
      <description>&lt;P&gt;Project is attached.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 18:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1538736#M22064</guid>
      <dc:creator>bikenomad</dc:creator>
      <dc:date>2022-10-17T18:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1540590#M22106</link>
      <description>&lt;P&gt;I uploaded the project. Do you need any more information?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 00:08:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1540590#M22106</guid>
      <dc:creator>bikenomad</dc:creator>
      <dc:date>2022-10-20T00:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1540665#M22114</link>
      <description>&lt;P&gt;Hi，&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I already replicate the phenomenon on MIMXRT1020-EVK, and now I'm still working on it.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
      <pubDate>Thu, 20 Oct 2022 02:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1540665#M22114</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-10-20T02:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1542919#M22192</link>
      <description>&lt;P&gt;Any progress?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1542919#M22192</guid>
      <dc:creator>bikenomad</dc:creator>
      <dc:date>2022-10-24T20:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to route QTMR output via XBAR to pin?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1543209#M22201</link>
      <description>&lt;P&gt;Hi，&lt;BR /&gt;Sorry for replying late.&lt;BR /&gt;I created a new demo project that bases on the evkmimxrt1020_qtmr_inputcapture_outputpwm, then add the XBAR feature, now I can output the PWM via the GPIO_AD_B1_09.&lt;BR /&gt;Please check the attachment.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
      <pubDate>Tue, 25 Oct 2022 07:52:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-route-QTMR-output-via-XBAR-to-pin/m-p/1543209#M22201</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-10-25T07:52:47Z</dc:date>
    </item>
  </channel>
</rss>

