<?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: OS Timer interface for bare metal</title>
    <link>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2300270#M56343</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;,&lt;/P&gt;
&lt;P&gt;Refer to&amp;nbsp;OsIf.h, there are these functions:&lt;/P&gt;
&lt;P&gt;OsIf_Init(),&lt;/P&gt;
&lt;P&gt;OsIf_GetCounter(),&lt;/P&gt;
&lt;P&gt;OsIf_MicrosToTicks(),&lt;/P&gt;
&lt;P&gt;OsIf_GetElapsed(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 08:47:11 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2026-01-26T08:47:11Z</dc:date>
    <item>
      <title>OS Timer interface for bare metal</title>
      <link>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2298624#M56301</link>
      <description>&lt;P&gt;In the older driver model that worked with S32DS for ARM, there was an API for timer delay that supported bare metal implementation. In the new Real Time Driver model, I cannot find an equivalent. Trying to do that creates an error; please see the attached screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Details about the project:&lt;/P&gt;&lt;P&gt;MCU: S32K148 in 144 pin configuration&lt;/P&gt;&lt;P&gt;System OS: Bare metal&lt;/P&gt;&lt;P&gt;RTD version: 3.0.0&lt;/P&gt;&lt;P&gt;Driver configuration: Low level (non-Autosar); please see the screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="durga_choudhury_0-1769130089734.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/373984i1A34CD45E7BF1C6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="durga_choudhury_0-1769130089734.png" alt="durga_choudhury_0-1769130089734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 01:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2298624#M56301</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2026-01-23T01:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: OS Timer interface for bare metal</title>
      <link>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2300270#M56343</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;,&lt;/P&gt;
&lt;P&gt;Refer to&amp;nbsp;OsIf.h, there are these functions:&lt;/P&gt;
&lt;P&gt;OsIf_Init(),&lt;/P&gt;
&lt;P&gt;OsIf_GetCounter(),&lt;/P&gt;
&lt;P&gt;OsIf_MicrosToTicks(),&lt;/P&gt;
&lt;P&gt;OsIf_GetElapsed(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 08:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2300270#M56343</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-01-26T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: OS Timer interface for bare metal</title>
      <link>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2300529#M56359</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the update. This is in agreement with what I had found. A couple of follow ups:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. So there is no equivalent of OSIf_TimeDelay() in the Real Time drivers? I am seeing such gaps in other parts of the driver APIs as well which makes porting existing code somewhat non-trivial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Are these APIs uniform across all MCAL implementations? Put another way, if I use hardware and MCAL implementation from another vendor who claims MCAL compliance, can I expect all these APIs to be available in their driver implementation? (You can read this the other way around also; if I am migrating to NXP FROM another vendor who claims MCAL compliance, can I expect NXP drivers to provide all the APIs that the other vendors driver provides?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Durga Choudhury&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 14:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2300529#M56359</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2026-01-26T14:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: OS Timer interface for bare metal</title>
      <link>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2301360#M56399</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250000"&gt;@durga_choudhury&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;No there is no such function, individual drivers use the OsIf APIs, for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1769519939394.png" style="width: 406px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374452i9F8A7FDF944077A5/image-dimensions/406x278?v=v2" width="406" height="278" role="button" title="danielmartynek_0-1769519939394.png" alt="danielmartynek_0-1769519939394.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;RTD includes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;AUTOSAR MCAL drivers&lt;/LI&gt;
&lt;LI&gt;Low-level IP-level drivers&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Only the highest (AUTOSAR) layer of MCAL is portable.&lt;/P&gt;
&lt;P&gt;For example,&amp;nbsp;Adc_Init().&lt;/P&gt;
&lt;P&gt;But OsIf_GetElapsed() is not&amp;nbsp;an AUTOSAR API,&amp;nbsp;It is NXP-specific.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 13:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/OS-Timer-interface-for-bare-metal/m-p/2301360#M56399</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-01-27T13:31:23Z</dc:date>
    </item>
  </channel>
</rss>

