<?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 RTE Real Time Driver in S32K</title>
    <link>https://community.nxp.com/t5/S32K/RTE-Real-Time-Driver/m-p/1861452#M35111</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I need some informations about Real Time Enviroment (RTE) SchM_&amp;lt;driver&amp;gt;.c, present in S32k RTDs.&lt;/P&gt;&lt;P&gt;In particular,&amp;nbsp; I noticed that, instead of a&amp;nbsp; simple "enable interrupt/disable interrupt" -critical section approach, a more complex one is used:&lt;/P&gt;&lt;P&gt;in particular:&amp;nbsp; SchM_Enter_&amp;lt;driver&amp;gt;_&amp;lt;DRIVER&amp;gt;_EXCLUSIVE_AREA_&amp;lt;xx&amp;gt;() and&amp;nbsp;SchM_Exit_&amp;lt;driver&amp;gt;_&amp;lt;DRIVER&amp;gt;_EXCLUSIVE_AREA_&amp;lt;xx&amp;gt;()&amp;nbsp; methods are implemented (where &amp;lt;driver&amp;gt; is the driver name and &amp;lt;xx&amp;gt; is an incrementing number&lt;/P&gt;&lt;P&gt;1) could you explain me the ratio under this implementation ? How have I use these functions in my code&amp;nbsp; ? Why the suddivision for &amp;lt;drivers&amp;gt; and for &amp;lt;xx&amp;gt;&lt;/P&gt;&lt;P&gt;2) If I use this in application, which &amp;lt;driver&amp;gt;/&amp;lt;xx&amp;gt; ones shall I use? shall I check the implemented ones, in the RTD, before choosing one?,&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 12:29:34 GMT</pubDate>
    <dc:creator>FabioG</dc:creator>
    <dc:date>2024-05-08T12:29:34Z</dc:date>
    <item>
      <title>RTE Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/RTE-Real-Time-Driver/m-p/1861452#M35111</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I need some informations about Real Time Enviroment (RTE) SchM_&amp;lt;driver&amp;gt;.c, present in S32k RTDs.&lt;/P&gt;&lt;P&gt;In particular,&amp;nbsp; I noticed that, instead of a&amp;nbsp; simple "enable interrupt/disable interrupt" -critical section approach, a more complex one is used:&lt;/P&gt;&lt;P&gt;in particular:&amp;nbsp; SchM_Enter_&amp;lt;driver&amp;gt;_&amp;lt;DRIVER&amp;gt;_EXCLUSIVE_AREA_&amp;lt;xx&amp;gt;() and&amp;nbsp;SchM_Exit_&amp;lt;driver&amp;gt;_&amp;lt;DRIVER&amp;gt;_EXCLUSIVE_AREA_&amp;lt;xx&amp;gt;()&amp;nbsp; methods are implemented (where &amp;lt;driver&amp;gt; is the driver name and &amp;lt;xx&amp;gt; is an incrementing number&lt;/P&gt;&lt;P&gt;1) could you explain me the ratio under this implementation ? How have I use these functions in my code&amp;nbsp; ? Why the suddivision for &amp;lt;drivers&amp;gt; and for &amp;lt;xx&amp;gt;&lt;/P&gt;&lt;P&gt;2) If I use this in application, which &amp;lt;driver&amp;gt;/&amp;lt;xx&amp;gt; ones shall I use? shall I check the implemented ones, in the RTD, before choosing one?,&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 12:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RTE-Real-Time-Driver/m-p/1861452#M35111</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2024-05-08T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: RTE Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/RTE-Real-Time-Driver/m-p/1861498#M35116</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;NXP provides stubs for AUTOSAR SchM integration. If you are targeting AUTOSAROS, these will need to be replaced by the BSW integrator.&lt;/P&gt;
&lt;P&gt;These numbers do not have a meaning other than indicating which register/variable accesses are being protected - See the Integration Manual for the respective module:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bryan_brauchler_0-1715174869879.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277758i6378B963B867E5B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bryan_brauchler_0-1715174869879.png" alt="bryan_brauchler_0-1715174869879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the most simple case, this can simply disable/enable interrupts. See the Baremetal implementation. In the FreeRTOS case, these map to taskENTER_CRITICAL() and taskEXIT_CRITICAL() but this will be updated in the future as this is not sufficient for critical sections in interrupt context.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Bryan&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 13:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RTE-Real-Time-Driver/m-p/1861498#M35116</guid>
      <dc:creator>bryan_brauchler</dc:creator>
      <dc:date>2024-05-08T13:34:20Z</dc:date>
    </item>
  </channel>
</rss>

