<?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 PIT Timer clock source in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/PIT-Timer-clock-source/m-p/1768900#M3473</link>
    <description>&lt;P&gt;hi&amp;nbsp; ALL&lt;/P&gt;&lt;P&gt;I&amp;nbsp;created a project about pit timer about 1 ms timer&amp;nbsp;interrupt with RTD 3.0.0 ,S32DS 3.5, s32K312&lt;/P&gt;&lt;P&gt;PIT clock frequency is 30 MHz ,so 1 ms =1/( 30 MHz/30000)&amp;nbsp;&lt;/P&gt;&lt;P&gt;so&amp;nbsp;PIT_PERIOD =&amp;nbsp; 30000，but the timer is incorrect ,&lt;/P&gt;&lt;P&gt;and i debug the project find the&amp;nbsp;PIT clock frequency ≈ 121 MHz&lt;/P&gt;&lt;P&gt;could you tell me was wrong with my project ?thanks&lt;/P&gt;&lt;P&gt;see attached file "pit_test.zip"&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 09:14:36 GMT</pubDate>
    <dc:creator>Reyna_pan45</dc:creator>
    <dc:date>2023-12-05T09:14:36Z</dc:date>
    <item>
      <title>PIT Timer clock source</title>
      <link>https://community.nxp.com/t5/S32-SDK/PIT-Timer-clock-source/m-p/1768900#M3473</link>
      <description>&lt;P&gt;hi&amp;nbsp; ALL&lt;/P&gt;&lt;P&gt;I&amp;nbsp;created a project about pit timer about 1 ms timer&amp;nbsp;interrupt with RTD 3.0.0 ,S32DS 3.5, s32K312&lt;/P&gt;&lt;P&gt;PIT clock frequency is 30 MHz ,so 1 ms =1/( 30 MHz/30000)&amp;nbsp;&lt;/P&gt;&lt;P&gt;so&amp;nbsp;PIT_PERIOD =&amp;nbsp; 30000，but the timer is incorrect ,&lt;/P&gt;&lt;P&gt;and i debug the project find the&amp;nbsp;PIT clock frequency ≈ 121 MHz&lt;/P&gt;&lt;P&gt;could you tell me was wrong with my project ?thanks&lt;/P&gt;&lt;P&gt;see attached file "pit_test.zip"&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 09:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/PIT-Timer-clock-source/m-p/1768900#M3473</guid>
      <dc:creator>Reyna_pan45</dc:creator>
      <dc:date>2023-12-05T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: PIT Timer clock source</title>
      <link>https://community.nxp.com/t5/S32-SDK/PIT-Timer-clock-source/m-p/1769040#M3475</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;your system is running out of FIRC not SPLL due to wrong clock init API used.&amp;nbsp; &lt;BR /&gt;So instead of&amp;nbsp;Clock_Ip_InitClock(&amp;amp;Clock_Ip_aClockConfig[0]); use rather&lt;/P&gt;
&lt;P&gt;Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;/P&gt;
&lt;P&gt;then have&amp;nbsp;#define PIT_PERIOD 30000U /* 1ms */ as you calculated&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 12:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/PIT-Timer-clock-source/m-p/1769040#M3475</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-12-05T12:36:42Z</dc:date>
    </item>
  </channel>
</rss>

