<?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 How to read stack pointer, Link register and program counter value for S32K146 (Arm Cortex-M4) in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-read-stack-pointer-Link-register-and-program-counter/m-p/1383361#M13142</link>
    <description>&lt;P&gt;How to read the below registers value?&lt;/P&gt;&lt;P&gt;1) Stack pointer(SP) - R13&lt;BR /&gt;2) Link Register(LR) - R14&lt;BR /&gt;3) Program Counter - R15&lt;BR /&gt;4)&amp;nbsp;Exception and Reset Control Registers&lt;BR /&gt;5)&amp;nbsp;Program Status Register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@S32k146,&amp;nbsp;@ArmCortexM&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 10:44:04 GMT</pubDate>
    <dc:creator>pratheek_b</dc:creator>
    <dc:date>2021-12-08T10:44:04Z</dc:date>
    <item>
      <title>How to read stack pointer, Link register and program counter value for S32K146 (Arm Cortex-M4)</title>
      <link>https://community.nxp.com/t5/S32K/How-to-read-stack-pointer-Link-register-and-program-counter/m-p/1383361#M13142</link>
      <description>&lt;P&gt;How to read the below registers value?&lt;/P&gt;&lt;P&gt;1) Stack pointer(SP) - R13&lt;BR /&gt;2) Link Register(LR) - R14&lt;BR /&gt;3) Program Counter - R15&lt;BR /&gt;4)&amp;nbsp;Exception and Reset Control Registers&lt;BR /&gt;5)&amp;nbsp;Program Status Register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@S32k146,&amp;nbsp;@ArmCortexM&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 10:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-read-stack-pointer-Link-register-and-program-counter/m-p/1383361#M13142</guid>
      <dc:creator>pratheek_b</dc:creator>
      <dc:date>2021-12-08T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to read stack pointer, Link register and program counter value for S32K146 (Arm Cortex-M4)</title>
      <link>https://community.nxp.com/t5/S32K/How-to-read-stack-pointer-Link-register-and-program-counter/m-p/1383432#M13145</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/132018"&gt;@pratheek_b&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you want to read it with the core in C?&lt;/P&gt;
&lt;P&gt;If so. use inline assembler.&lt;/P&gt;
&lt;P&gt;You can refer to this example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;fault_exceptions.c&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 13:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-read-stack-pointer-Link-register-and-program-counter/m-p/1383432#M13145</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-12-08T13:15:22Z</dc:date>
    </item>
  </channel>
</rss>

