<?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 Synchronize Channels of Quad Timer on i.MX in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131074#M34672</link>
    <description>&lt;P&gt;It should be possible to synchronize multiple channels of a Quad Timer (TMR) module on the i.MX RT1050 by writing multiple bits to the TMRx_ENBL register (see Section 53.11.14 of the RM).&lt;/P&gt;&lt;P&gt;I am working with the SDK_2.x_EVKB_IMXRT1050. It only provides memory-mapped access to the TMR registers (via the `TMR_Type`)&amp;nbsp;&lt;EM&gt;at the CHANNEL&lt;/EM&gt; level, so an atomic write to the ENBL register to enable multiple channels simultaneously is not possible with the `TMR_Type` typedef.&lt;/P&gt;&lt;P&gt;As a concrete example, I would like to enable Channels 0 and 1 of TMR3 simultaneously. This should be possible with something like `TMR3-&amp;gt;ENBL = 3U;`. I think that the current implementation, where ENBL is part of the CHANNEL struct (and so is accessed at 4 locations in the `TMR_Type` struct), is not arranged properly.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jul 2025 17:00:15 GMT</pubDate>
    <dc:creator>aberger</dc:creator>
    <dc:date>2025-07-09T17:00:15Z</dc:date>
    <item>
      <title>Synchronize Channels of Quad Timer on i.MX</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131074#M34672</link>
      <description>&lt;P&gt;It should be possible to synchronize multiple channels of a Quad Timer (TMR) module on the i.MX RT1050 by writing multiple bits to the TMRx_ENBL register (see Section 53.11.14 of the RM).&lt;/P&gt;&lt;P&gt;I am working with the SDK_2.x_EVKB_IMXRT1050. It only provides memory-mapped access to the TMR registers (via the `TMR_Type`)&amp;nbsp;&lt;EM&gt;at the CHANNEL&lt;/EM&gt; level, so an atomic write to the ENBL register to enable multiple channels simultaneously is not possible with the `TMR_Type` typedef.&lt;/P&gt;&lt;P&gt;As a concrete example, I would like to enable Channels 0 and 1 of TMR3 simultaneously. This should be possible with something like `TMR3-&amp;gt;ENBL = 3U;`. I think that the current implementation, where ENBL is part of the CHANNEL struct (and so is accessed at 4 locations in the `TMR_Type` struct), is not arranged properly.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 17:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131074#M34672</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2025-07-09T17:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Channels of Quad Timer on i.MX</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131520#M34678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Regarding "&lt;SPAN&gt;It should be possible to synchronize multiple channels of a Quad Timer (TMR) module on the i.MX RT1050 by writing multiple bits to the TMRx_ENBL register (see Section 53.11.14 of the RM).&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;Yes, your understanding is correct,&amp;nbsp;Multiple ENBL bits can&amp;nbsp;be set at the same time to synchronize the start of separate counters.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_1-1752132941631.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346945iB04C01DB1A1774A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_1-1752132941631.png" alt="mayliu1_1-1752132941631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As for “&lt;SPAN&gt;As a concrete example, I would like to enable Channels 0 and 1 of TMR3 simultaneously. This should be possible with something like `TMR3-&amp;gt;ENBL = 3U;`. I think that the current implementation, where ENBL is part of the CHANNEL struct (and so is accessed at 4 locations in the `TMR_Type` struct), is not arranged properly.&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;Please pay attention that&amp;nbsp;&lt;SPAN&gt;TMRx_ENBL register default value is 1, it means&amp;nbsp;0001b - Timer channel is enabled. (default).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So if you want realize&amp;nbsp; enable Channels 0 and 1 of TMR3 simultaneously, first, you need clear TMRx_ENBL(TMR3-&amp;gt;ENBL = 0U ,disable&amp;nbsp; Channels 0 and 1 ).&amp;nbsp; &amp;nbsp;After all the TMR configuration, then you can set&amp;nbsp; `TMR3-&amp;gt;ENBL = 3U.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The SDK provides basic drivers. However, if customers need to implement more complex driver functions, they can add the required code as needed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Wish it helps you.&lt;BR /&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Wish you a nice day!&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;MayLiu&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131520#M34678</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-07-10T07:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Channels of Quad Timer on i.MX</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131995#M34686</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239163"&gt;@mayliu1&lt;/a&gt;. In general if issues or shortcomings are discovered with the SDK, is there a better place to report them (e.g. submit an issue to a GitHub repository)?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 22:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2131995#M34686</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2025-07-10T22:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Channels of Quad Timer on i.MX</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2132236#M34691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your updated information.&lt;/P&gt;
&lt;P&gt;I will create an internal ticket to relevant NXP team for your inquire.&lt;/P&gt;
&lt;P&gt;Thanks for your raising this question.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;MayLiu&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 06:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Synchronize-Channels-of-Quad-Timer-on-i-MX/m-p/2132236#M34691</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-07-11T06:14:12Z</dc:date>
    </item>
  </channel>
</rss>

