<?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: S32K348  gpt  config in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K348-gpt-config/m-p/2190982#M53763</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193618"&gt;@youngkin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a project based on the configurations you shared and tested it on the S32K3x8EVB board. I was able to successfully achieve the desired 250ms timing.&lt;/P&gt;
&lt;P&gt;To help ensure that there are no missing configurations, initializations, or code elements, I am attaching my .mex file along with the main source file. This will allow you to compare and validate against your setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 20:18:46 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-10-22T20:18:46Z</dc:date>
    <item>
      <title>S32K348  gpt  config</title>
      <link>https://community.nxp.com/t5/S32K/S32K348-gpt-config/m-p/2189951#M53726</link>
      <description>&lt;P&gt;hello:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I config the gpt, the gpt clock is 40M. and&amp;nbsp; I start the gpt(Gpt_StartTimer(GptConf_GptChannelConfiguration_GptChannelConfiguration_0, 10000000U);),&amp;nbsp; &amp;nbsp;I measure GPT time ，it is 200ms。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_0-1761047702466.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361857iEB2C26A1151C5D3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_0-1761047702466.png" alt="youngkin_0-1761047702466.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_1-1761047713953.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361858i0166BC02613D3C0A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_1-1761047713953.png" alt="youngkin_1-1761047713953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but i think the gpt time should be 250ms（（1/40000000）&amp;nbsp;&amp;nbsp; * 10000000 = 250ms)&lt;/P&gt;&lt;P&gt;I Set the clock of gpt&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_2-1761047810166.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361859i534A6C8E7F563FB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_2-1761047810166.png" alt="youngkin_2-1761047810166.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_3-1761047829406.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361860i42BB0723851330B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_3-1761047829406.png" alt="youngkin_3-1761047829406.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_4-1761047842637.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361861i0735819CC3D8206F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_4-1761047842637.png" alt="youngkin_4-1761047842637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to confirm that the clock source currently being used is an external crystal oscillator(16M)? Currently,&amp;nbsp; the GPT clock&amp;nbsp; &amp;nbsp;seems FIRC(48M).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the mcu clock&amp;nbsp; show as follow：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_5-1761047879071.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361862i71BF6060843FAB00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_5-1761047879071.png" alt="youngkin_5-1761047879071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_6-1761047897251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361863iDB85E89B7CEBB1C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_6-1761047897251.png" alt="youngkin_6-1761047897251.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkin_7-1761047908428.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361864i3ECEDEE8DF384631/image-size/medium?v=v2&amp;amp;px=400" role="button" title="youngkin_7-1761047908428.png" alt="youngkin_7-1761047908428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please take some time to help answer, thank you !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 12:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K348-gpt-config/m-p/2189951#M53726</guid>
      <dc:creator>youngkin</dc:creator>
      <dc:date>2025-10-21T12:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K348  gpt  config</title>
      <link>https://community.nxp.com/t5/S32K/S32K348-gpt-config/m-p/2190982#M53763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193618"&gt;@youngkin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a project based on the configurations you shared and tested it on the S32K3x8EVB board. I was able to successfully achieve the desired 250ms timing.&lt;/P&gt;
&lt;P&gt;To help ensure that there are no missing configurations, initializations, or code elements, I am attaching my .mex file along with the main source file. This will allow you to compare and validate against your setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 20:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K348-gpt-config/m-p/2190982#M53763</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-10-22T20:18:46Z</dc:date>
    </item>
  </channel>
</rss>

