<?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のトピックis it possible to use OSIF_TimeDelay() without RTOS interface</title>
    <link>https://community.nxp.com/t5/S32K/is-it-possible-to-use-OSIF-TimeDelay-without-RTOS-interface/m-p/2012855#M44201</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to know regarding usage of OSIF_TimeDelay in S32k146 non RTOS codebase. I am not using any kind of OS interface in my application. I just want to know is it possoble to use OSIF_TimeDelay()&amp;nbsp; function&amp;nbsp; in normal BareMetal code&amp;nbsp; without any code hangs or it hangs in osif forever if i dont use RTOS.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 12:28:13 GMT</pubDate>
    <dc:creator>bhanu_p</dc:creator>
    <dc:date>2024-12-12T12:28:13Z</dc:date>
    <item>
      <title>is it possible to use OSIF_TimeDelay() without RTOS interface</title>
      <link>https://community.nxp.com/t5/S32K/is-it-possible-to-use-OSIF-TimeDelay-without-RTOS-interface/m-p/2012855#M44201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to know regarding usage of OSIF_TimeDelay in S32k146 non RTOS codebase. I am not using any kind of OS interface in my application. I just want to know is it possoble to use OSIF_TimeDelay()&amp;nbsp; function&amp;nbsp; in normal BareMetal code&amp;nbsp; without any code hangs or it hangs in osif forever if i dont use RTOS.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 12:28:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/is-it-possible-to-use-OSIF-TimeDelay-without-RTOS-interface/m-p/2012855#M44201</guid>
      <dc:creator>bhanu_p</dc:creator>
      <dc:date>2024-12-12T12:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to use OSIF_TimeDelay() without RTOS interface</title>
      <link>https://community.nxp.com/t5/S32K/is-it-possible-to-use-OSIF-TimeDelay-without-RTOS-interface/m-p/2013075#M44211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237374"&gt;@bhanu_p&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yes, you can implement OSIF driver in bare-metal, it is based on the internal SysTick (&lt;A href="https://community.nxp.com/t5/S32K/how-to-set-systick-to-get-microsecond-us-delay-in-use-s32k144/m-p/857689" target="_blank"&gt;Solved: how to set systick to get microsecond(us) delay in use s32k144 - NXP Community&lt;/A&gt;). Actually, the SDK documentation (under SDK installation &lt;STRONG&gt;C:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.3\doc&lt;/STRONG&gt;) explains how to implement the bare-metal option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1734026621351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315657i1895B3767EB280CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1734026621351.png" alt="Julin_AragnM_0-1734026621351.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="Julin_AragnM_1-1734026625534.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315658i1C4C5F6C40929D02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_1-1734026625534.png" alt="Julin_AragnM_1-1734026625534.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is only necessary to link the osif_baremetal.c file (and osif.h), and call the OSIF_TimeDelay function, which will initialize the timer, since&amp;nbsp;&lt;SPAN&gt;the timer is initialized at the first call in OSIF that needs timing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 18:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/is-it-possible-to-use-OSIF-TimeDelay-without-RTOS-interface/m-p/2013075#M44211</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-12-12T18:09:07Z</dc:date>
    </item>
  </channel>
</rss>

