<?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: Mixing Autosar and non-autosar drivers in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200208#M54225</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199320"&gt;@_Leo_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the clarification. However, my original question #1 is still not really answered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In some of the examples, some of the drivers are from Autosar set and some are from non-autosar set. I understand that 'BaseNXP' is only provided in the non-autosar version, but for all the peripherals, both versions are available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to rephrase my question:&lt;/P&gt;&lt;P&gt;Is such 'mixing up' of the driver models a good thing? Are there any 'gotcha's' when mixing up the two models? (For example, for peripheral X, a global is initialized this way in autosar driver but another way in the non-autosar driver). Is there a specific reason the example code is doing it?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Nov 2025 16:57:15 GMT</pubDate>
    <dc:creator>durga_choudhury</dc:creator>
    <dc:date>2025-11-06T16:57:15Z</dc:date>
    <item>
      <title>Mixing Autosar and non-autosar drivers</title>
      <link>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2198525#M54131</link>
      <description>&lt;P&gt;In many of the the examples provided (specifically for S32K148), Autosar compliant and non-compliant drivers are mixed in the same project. A few questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is there any guidance on when this is desirable, when this does not matter, and when it is NOT desirable&lt;/P&gt;&lt;P&gt;2. Is it possible to write an application with non-autosar drivers only (that is what I am trying to do)&lt;/P&gt;&lt;P&gt;3. Besides compliance issues, which driver model is better, e.g. with lower memory and CPU usage requirements?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2025 20:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2198525#M54131</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2025-11-04T20:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing Autosar and non-autosar drivers</title>
      <link>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2199438#M54180</link>
      <description>&lt;P&gt;Thank you for your interest in our products and for contributing to our community.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regarding your questions:&lt;/P&gt;
&lt;P&gt;1. Depending on the context wanted to be used by the upper layer, a specific interface must be used:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;○ AUTOSAR context: − High Level Interface usage&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;○ non-AUTOSAR context: − Low Level Interface usage or − IP Layer (ex-SDK)&lt;BR /&gt;2. Yes.&lt;BR /&gt;3. The non-AUTOSAR access the hardware directly, therefore, it is highly-optimized code.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I hope this information is helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 21:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2199438#M54180</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2025-11-05T21:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing Autosar and non-autosar drivers</title>
      <link>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200208#M54225</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199320"&gt;@_Leo_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the clarification. However, my original question #1 is still not really answered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In some of the examples, some of the drivers are from Autosar set and some are from non-autosar set. I understand that 'BaseNXP' is only provided in the non-autosar version, but for all the peripherals, both versions are available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to rephrase my question:&lt;/P&gt;&lt;P&gt;Is such 'mixing up' of the driver models a good thing? Are there any 'gotcha's' when mixing up the two models? (For example, for peripheral X, a global is initialized this way in autosar driver but another way in the non-autosar driver). Is there a specific reason the example code is doing it?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 16:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200208#M54225</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2025-11-06T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing Autosar and non-autosar drivers</title>
      <link>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200328#M54229</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;
&lt;P&gt;For AUTOSAR context you should use "MCAL" components, meanwhile for non-AUTOSAR context you should use "Driver" components:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Leo__0-1762463821367.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364319i22C93C33075B2837/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Leo__0-1762463821367.png" alt="_Leo__0-1762463821367.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you application requires to be &lt;STRONG&gt;AUTOSAR compliant&lt;/STRONG&gt; you should use &lt;STRONG&gt;only "MCAL" components&lt;/STRONG&gt; ("BaseNXP" component is the only exception).&lt;/P&gt;
&lt;P&gt;If you application &lt;STRONG&gt;do not&lt;/STRONG&gt; requires to be &lt;STRONG&gt;AUTOSAR compliant&lt;/STRONG&gt; you should use &lt;STRONG&gt;only "Driver" components&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;There are cases where there are no "Drivers" component for a certain peripheral, but there is a certain "MCAL" component for such peripheral. In this case, &lt;STRONG&gt;mixing them&lt;/STRONG&gt; is recommended. However, keep in mind that your application &lt;STRONG&gt;will ultimately not be AUTOSAR compliant.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;What is &lt;STRONG&gt;not recommended&lt;/STRONG&gt; is mixing "MCAL" and "Driver" components for the &lt;STRONG&gt;same peripheral&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;I hope this information is helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 21:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200328#M54229</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2025-11-06T21:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing Autosar and non-autosar drivers</title>
      <link>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200892#M54272</link>
      <description>Thank you very much for the clarification.</description>
      <pubDate>Fri, 07 Nov 2025 14:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Mixing-Autosar-and-non-autosar-drivers/m-p/2200892#M54272</guid>
      <dc:creator>durga_choudhury</dc:creator>
      <dc:date>2025-11-07T14:28:52Z</dc:date>
    </item>
  </channel>
</rss>

