<?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>S32KのトピックRe: RTD GPT configuration</title>
    <link>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2178399#M53190</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250000"&gt;@durga_choudhury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is shown as configurable in the Peripherals view because the driver is designed to be flexible. It can be reused to configure other timers with different resolutions, so having that value exposed makes it easier to adapt the setup for different use cases.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2025 20:19:35 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-09-30T20:19:35Z</dc:date>
    <item>
      <title>RTD GPT configuration</title>
      <link>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2176852#M53111</link>
      <description>&lt;P&gt;The details of the HW/SW this question pertains to is this:&lt;/P&gt;&lt;P&gt;S32K148 (on a custom board)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;S32 Design Studio for S32 Platform&lt;/P&gt;&lt;P&gt;Version: 3.6.2&lt;/P&gt;&lt;P&gt;Build id: 250529 (Update 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RTD version is as shown below:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="durga_choudhury_0-1758920952334.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358778iA7B406FC8E8A05AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="durga_choudhury_0-1758920952334.png" alt="durga_choudhury_0-1758920952334.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am including a GPT to my project. I want it to count up from 0 to 5000 and start over. The problem I am facing is there seems to be no way to configure this upper bound. This is a 16 bit counter and the SDK configurator does not seem to like any value other than 65535 (trying to do so makes the project invalid, please see the screenshot below:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="durga_choudhury_1-1758921184994.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358779iF57763B7490B6FC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="durga_choudhury_1-1758921184994.png" alt="durga_choudhury_1-1758921184994.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this value can only take a fixed value (65535) then I don't see it being a configurable parameter (and useful)&lt;/P&gt;&lt;P&gt;If this can take any value from 1 up to 65535 then the tool seems to be broken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only workaround that I have found is to change&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define FTM_CNT_MAX_VALUE 0x0000FFFF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define FTM_CNT_MAX_VALUE 5000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in Ftm_Gpt_Ip.h (knowing that any such change will be overwritten the next time code is regenerated, but that is my only way to make progress right now)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I am mistaken, please correct me. If not, please advise on the best way to proceed.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Sep 2025 21:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2176852#M53111</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2025-09-26T21:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: RTD GPT configuration</title>
      <link>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2177664#M53154</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250000"&gt;@durga_choudhury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think there may be a misunderstanding regarding the GptChannelTickValueMax parameter. This value represents the maximum number of ticks that a channel can count. Since the FTM is a 16-bit timer, the resolution is:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;2^{&lt;SPAN class="msupsub"&gt;&lt;SPAN class="vlist-t"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;16}&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;1&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;65&lt;/SPAN&gt;&lt;SPAN class="mpunct"&gt;,&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;535&lt;/SPAN&gt;&lt;SPAN class="mord text"&gt;&lt;SPAN class="mord"&gt;&amp;nbsp;ticks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This value is mandatory, and that is why an error is displayed if a different value is set.&lt;/P&gt;
&lt;P&gt;To define the desired timeout period for the channel, you should use the Gpt_StartTimer() function. For reference, you can consult the Gpt_example_S32K148 included with the RTDs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 18:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2177664#M53154</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-09-29T18:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: RTD GPT configuration</title>
      <link>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2177678#M53156</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the clarification. I am still confused as to why a number that is a hard constant is configurable on the Peripherals view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Durga Choudhury&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 19:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2177678#M53156</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2025-09-29T19:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: RTD GPT configuration</title>
      <link>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2178399#M53190</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250000"&gt;@durga_choudhury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is shown as configurable in the Peripherals view because the driver is designed to be flexible. It can be reused to configure other timers with different resolutions, so having that value exposed makes it easier to adapt the setup for different use cases.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 20:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RTD-GPT-configuration/m-p/2178399#M53190</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-09-30T20:19:35Z</dc:date>
    </item>
  </channel>
</rss>

