<?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: how to set systick to get microsecond(us) delay in use s32k144 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1597725#M20612</link>
    <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I also have the same requirement to generate microsecond delay, but my Controllers is MPC5777C. OSIF is connected to PIT(default) and its frequency is 100MHz. I have also followed your instructions and updated divider value in "static inline void osif_UpdateTickConfig(void)" function, as shown in image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eashwar_0-1676188907576.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210564i64835833E2545E39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Eashwar_0-1676188907576.png" alt="Eashwar_0-1676188907576.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when I call "OSIF_TimeDelay(1)" program pointer is struck in&amp;nbsp; "osif_Tick()".&lt;/P&gt;&lt;P&gt;Kindly provide suitable solution.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eashwar_1-1676188965230.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210565iCB904B31D8D5775F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Eashwar_1-1676188965230.png" alt="Eashwar_1-1676188965230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eashwar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Feb 2023 08:03:18 GMT</pubDate>
    <dc:creator>Eashwar</dc:creator>
    <dc:date>2023-02-12T08:03:18Z</dc:date>
    <item>
      <title>how to set systick to get microsecond(us) delay in use s32k144</title>
      <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857689#M3676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S32DS software has the&amp;nbsp; delay function.the example project that s32ds provide is &lt;STRONG&gt;millisecond(ms)&lt;/STRONG&gt; delay "&lt;STRONG&gt;OSIF_TimeDelay(1)",&lt;/STRONG&gt; now I want to use&amp;nbsp;&lt;STRONG&gt;microsecond(us)&lt;/STRONG&gt; delay ,how l acquire this function ,please help me if you know how to configuration register or give me example project. thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 09:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857689#M3676</guid>
      <dc:creator>jinshuaixu</dc:creator>
      <dc:date>2019-03-14T09:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to set systick to get microsecond(us) delay in use s32k144</title>
      <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857690#M3677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The&amp;nbsp;OSIF implementation can be found in the osif_baremetal.c file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75256i249F6C65954693DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75019i846CB62EDFF8A101/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The reload value of the SysTick is the core frequency divided by 1000, that means that the Systick interrupt is called every 1ms and increment the&amp;nbsp;s_osif_tick_cnt counter.&lt;/P&gt;&lt;P&gt;The counter is then read and compered by the OSIF_TimeDelay() function.&lt;/P&gt;&lt;P&gt;If the core frequency was divided by 10000, the counter would increment every 100us (OSIF_TimeDelay(1) = 100us).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SysTick description can be found in ARM documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0553b/DUI0553.pdf"&gt;Cortex™-M4 Devices&amp;nbsp;Generic User Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Section 4.4 System timer, SysTick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 13:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857690#M3677</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-03-14T13:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to set systick to get microsecond(us) delay in use s32k144</title>
      <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857691#M3678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for you response, l have test the way you you offer，the result is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 00:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857691#M3678</guid>
      <dc:creator>jinshuaixu</dc:creator>
      <dc:date>2019-03-18T00:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to set systick to get microsecond(us) delay in use s32k144</title>
      <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1597373#M20583</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I also have the same requirement to generate microsecond delay, but my Controllers is MPC5777C. OSIF is connected to PIT(default) and its frequency is 100MHz. I have also followed your instructions and updated divider value in "static inline void osif_UpdateTickConfig(void)" function, as shown in image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eashwar_0-1676036429456.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210489i4FCFEA5DE3BA18CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Eashwar_0-1676036429456.png" alt="Eashwar_0-1676036429456.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when I call "OSIF_TimeDelay(1)" program pointer is struck in&amp;nbsp; "osif_Tick()".&lt;/P&gt;&lt;P&gt;Kindly provide suitable solution.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eashwar_1-1676036643526.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210491i0517807F73F3DCD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eashwar_1-1676036643526.png" alt="Eashwar_1-1676036643526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eashwar&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 13:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1597373#M20583</guid>
      <dc:creator>Eashwar</dc:creator>
      <dc:date>2023-02-10T13:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to set systick to get microsecond(us) delay in use s32k144</title>
      <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1597725#M20612</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I also have the same requirement to generate microsecond delay, but my Controllers is MPC5777C. OSIF is connected to PIT(default) and its frequency is 100MHz. I have also followed your instructions and updated divider value in "static inline void osif_UpdateTickConfig(void)" function, as shown in image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eashwar_0-1676188907576.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210564i64835833E2545E39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Eashwar_0-1676188907576.png" alt="Eashwar_0-1676188907576.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when I call "OSIF_TimeDelay(1)" program pointer is struck in&amp;nbsp; "osif_Tick()".&lt;/P&gt;&lt;P&gt;Kindly provide suitable solution.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eashwar_1-1676188965230.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210565iCB904B31D8D5775F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Eashwar_1-1676188965230.png" alt="Eashwar_1-1676188965230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eashwar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 08:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1597725#M20612</guid>
      <dc:creator>Eashwar</dc:creator>
      <dc:date>2023-02-12T08:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to set systick to get microsecond(us) delay in use s32k324</title>
      <link>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1947185#M40552</link>
      <description>&lt;P&gt;i'm finding same fuction for s32k324. configuration already done can you please do my help&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 10:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/1947185#M40552</guid>
      <dc:creator>semiconductor_user</dc:creator>
      <dc:date>2024-09-04T10:52:40Z</dc:date>
    </item>
  </channel>
</rss>

