<?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: IMXRT1024 Current Timer Count Settings in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1338165#M16269</link>
    <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840"&gt;@jeremyzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate for your support. I tried these method by using &lt;STRONG&gt;ipg_clk_32k &lt;/STRONG&gt;by (&lt;EM&gt;kGPT_ClockSource_LowFreq) enum&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with the line below in default config:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-&amp;gt;clockSource = kGPT_ClockSource_LowFreq;&lt;/STRONG&gt;//kGPT_ClockSource_Periph;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void GPT_GetDefaultConfig(gpt_config_t *config)
{
    assert(NULL != config);

    /* Initializes the configure structure to zero. */
    (void)memset(config, 0, sizeof(*config));

    config-&amp;gt;clockSource     = kGPT_ClockSource_LowFreq;//kGPT_ClockSource_Periph;
    config-&amp;gt;divider         = 1U;
    config-&amp;gt;enableRunInStop = true;
    config-&amp;gt;enableRunInWait = true;
    config-&amp;gt;enableRunInDoze = false;
    config-&amp;gt;enableRunInDbg  = false;
    config-&amp;gt;enableFreeRun   = false;
    config-&amp;gt;enableMode      = true;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that is not exactly what I want because the lowest frequency value that can bu used is 32KHz as I see. When I divide this frequency with 4096 (maximum number of prescalar) result is 7 Hz. So this is the minimum working frequency that I can reach. But I need 1 Hz for setting every count of tick (with the help of&amp;nbsp;&lt;STRONG&gt;GPT_GetCurrentTimerCount &lt;/STRONG&gt;function) is 1 second or 0.001Hz setting every count is 1ms. Could you help me please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Sep 2021 07:15:00 GMT</pubDate>
    <dc:creator>Lukas_Frank</dc:creator>
    <dc:date>2021-09-10T07:15:00Z</dc:date>
    <item>
      <title>IMXRT1024 Current Timer Count Settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1336715#M16230</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want to use each tick of GPT Timer as 1 milisecond and also 1 microsecond. As I know, if the GPT Timer Frequency is &lt;STRONG&gt;1Mhz&lt;/STRONG&gt; each timer-tick(&lt;SPAN&gt;GPT_GetCurrentTimerCount) is &lt;STRONG&gt;1us&lt;/STRONG&gt;. How can I set each increasion of timer count (from n to n-1) to 1 second or 1 milisecond? According to default logic I have to set 1 Hz (for 1 second increasion) to GPT Timer or 100 Hz (for 1 milisecond increasion). But Prescalar not permitting PER_CLK_ROOT(62500000Hz) to divide 1 Hz or 100 Hz. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you help me for the scenario please ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 08:29:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1336715#M16230</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-08T08:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 Current Timer Count Settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1337305#M16241</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;To implement your design, the key point is to select an appropriate clock to feed the GPT timer, you can make it via clock selection gate and Prescaler just as the below figure shows.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1631154326253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155549i52A8EBCEA6130065/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1631154326253.png" alt="jeremyzhou_0-1631154326253.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;jeremyzhou_0-1631154326253.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&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, 09 Sep 2021 02:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1337305#M16241</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-09-09T02:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 Current Timer Count Settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1338165#M16269</link>
      <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840"&gt;@jeremyzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate for your support. I tried these method by using &lt;STRONG&gt;ipg_clk_32k &lt;/STRONG&gt;by (&lt;EM&gt;kGPT_ClockSource_LowFreq) enum&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with the line below in default config:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;config-&amp;gt;clockSource = kGPT_ClockSource_LowFreq;&lt;/STRONG&gt;//kGPT_ClockSource_Periph;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void GPT_GetDefaultConfig(gpt_config_t *config)
{
    assert(NULL != config);

    /* Initializes the configure structure to zero. */
    (void)memset(config, 0, sizeof(*config));

    config-&amp;gt;clockSource     = kGPT_ClockSource_LowFreq;//kGPT_ClockSource_Periph;
    config-&amp;gt;divider         = 1U;
    config-&amp;gt;enableRunInStop = true;
    config-&amp;gt;enableRunInWait = true;
    config-&amp;gt;enableRunInDoze = false;
    config-&amp;gt;enableRunInDbg  = false;
    config-&amp;gt;enableFreeRun   = false;
    config-&amp;gt;enableMode      = true;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that is not exactly what I want because the lowest frequency value that can bu used is 32KHz as I see. When I divide this frequency with 4096 (maximum number of prescalar) result is 7 Hz. So this is the minimum working frequency that I can reach. But I need 1 Hz for setting every count of tick (with the help of&amp;nbsp;&lt;STRONG&gt;GPT_GetCurrentTimerCount &lt;/STRONG&gt;function) is 1 second or 0.001Hz setting every count is 1ms. Could you help me please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 07:15:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1338165#M16269</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-10T07:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 Current Timer Count Settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1338322#M16273</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Maybe you can consider other timer modules to implement your purpose.&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>Fri, 10 Sep 2021 09:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1338322#M16273</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-09-10T09:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 Current Timer Count Settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1340639#M16335</link>
      <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840"&gt;@jeremyzhou&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Messages is just a reminder for my above question. I know you have too many issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 13:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1340639#M16335</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-15T13:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 Current Timer Count Settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1341065#M16347</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;In my opinion, maybe you can consider other timer modules to make every count of tick is 1 second happen.&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, 16 Sep 2021 02:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-Current-Timer-Count-Settings/m-p/1341065#M16347</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-09-16T02:47:48Z</dc:date>
    </item>
  </channel>
</rss>

