<?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: Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
    <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356119#M58193</link>
    <description>&lt;P&gt;The screenshot is from the document&amp;nbsp;S32K3X4-0P55A-1P55A-ERRATA which I downloaded from&amp;nbsp;&lt;A href="https://www.nxp.com/products/S32K3" target="_blank"&gt;https://www.nxp.com/products/S32K3&lt;/A&gt;. I assume it is generic errata for all cortex-M7 products so it may not actually imply anything useful for the S32K344 at all.&lt;BR /&gt;&lt;BR /&gt;I would like clarification on what the quoted bit from chapter 17 of the reference manual means: "S32K3 does not support the ARM load- and store- exclusive instructions."&lt;/P&gt;&lt;P&gt;I've tested and LDREX/STREX don't appear to cause any sort of panic and appear to function as I would expect, but I assume there are subtleties I don't understand from my cursory explanation.&lt;/P&gt;</description>
    <pubDate>Sun, 26 Apr 2026 03:38:31 GMT</pubDate>
    <dc:creator>kscz</dc:creator>
    <dc:date>2026-04-26T03:38:31Z</dc:date>
    <item>
      <title>Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356117#M58191</link>
      <description>&lt;P&gt;Chapter 17 of the S32K3XX reference manual says that "S32K3 does not support the ARM load- and store- exclusive instructions."&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot From 2026-04-25 13-59-31.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383569iA326ADBFB4B2CA64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot From 2026-04-25 13-59-31.png" alt="Screenshot From 2026-04-25 13-59-31.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot From 2026-04-25 13-59-31.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the Errata calls out the use of LDREX/STREX:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot From 2026-04-25 14-45-02.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383570iB3DD76ABAC8A1B56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot From 2026-04-25 14-45-02.png" alt="Screenshot From 2026-04-25 14-45-02.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot From 2026-04-25 14-45-02.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; are LDREX/STREX usable on the S32K344? Are they safe to use?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2026 00:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356117#M58191</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-04-26T00:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356118#M58192</link>
      <description>&lt;P&gt;it seems the ERR050727 appears at&amp;nbsp;MCXE315_MCXE316_0P98C but not on S32K related document?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2026 03:26:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356118#M58192</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-04-26T03:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356119#M58193</link>
      <description>&lt;P&gt;The screenshot is from the document&amp;nbsp;S32K3X4-0P55A-1P55A-ERRATA which I downloaded from&amp;nbsp;&lt;A href="https://www.nxp.com/products/S32K3" target="_blank"&gt;https://www.nxp.com/products/S32K3&lt;/A&gt;. I assume it is generic errata for all cortex-M7 products so it may not actually imply anything useful for the S32K344 at all.&lt;BR /&gt;&lt;BR /&gt;I would like clarification on what the quoted bit from chapter 17 of the reference manual means: "S32K3 does not support the ARM load- and store- exclusive instructions."&lt;/P&gt;&lt;P&gt;I've tested and LDREX/STREX don't appear to cause any sort of panic and appear to function as I would expect, but I assume there are subtleties I don't understand from my cursory explanation.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2026 03:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356119#M58193</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-04-26T03:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356302#M58201</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259211"&gt;@kscz&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Edited:&lt;/P&gt;
&lt;P&gt;The Reference Manual, specifically Section 17.1.1, is somewhat misleading.&lt;BR /&gt;The LDREX and STREX instructions are supported on S32K3xx; however:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;These instructions do not operate as global monitors, so they cannot be used for synchronization between multiple cores.&lt;BR /&gt;Instead, a different mechanism must be used, for example SEMA42.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;These instructions can be used locally between two tasks running on the same core.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2026 12:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356302#M58201</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-06-18T12:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356618#M58223</link>
      <description>&lt;P&gt;What does "not implemented on the S32K3xx device family" mean? They are not optional features for a cortex-M7 core. The instructions appear to both work (i.e. they do not cause a fault) and do what I expect them to do. Is there something about them which doesn't work?&lt;BR /&gt;&lt;BR /&gt;I know they certainly won't work in a multi-core environment, but will the have the correct behavior in a single-core or a lockstep dual-core environment?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 13:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2356618#M58223</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-04-27T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Atomics (i.e. STREX/LDREX) on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2357632#M58241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259211"&gt;@kscz&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I edited my answer from yesterday after a discussion with the design team.&lt;BR /&gt;I will ask the responsible team whether this can be clarified in the Reference Manual.&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;</description>
      <pubDate>Tue, 28 Apr 2026 10:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Understanding-Atomics-i-e-STREX-LDREX-on-S32K3/m-p/2357632#M58241</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-04-28T10:43:39Z</dc:date>
    </item>
  </channel>
</rss>

