<?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: SM_048 Implementation in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465587#M15693</link>
    <description>&lt;P&gt;Hi&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;Yes, I have checked this condition but then also I was not able to set it.&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 12:58:43 GMT</pubDate>
    <dc:creator>manish_singh</dc:creator>
    <dc:date>2022-05-27T12:58:43Z</dc:date>
    <item>
      <title>SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1462344#M15602</link>
      <description>&lt;P&gt;As per&amp;nbsp;S32K1xx Series Safety Manual, Rev. 4, 09/2018 document for SM_048, DBG bit in the Watchdog Control and Status Register (CS) should be set to 1 and we are also using LPIT then LPIT_MCR[DBG_EN] = 1.&lt;/P&gt;&lt;P&gt;I am able to set the DBG bit to 1 by configuring the Wdg Run in debug mode parameter as shown below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manish_singh_0-1653298815524.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180610iC1F3A738CCC0A6BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manish_singh_0-1653298815524.png" alt="manish_singh_0-1653298815524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manish_singh_1-1653298954687.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180611i731791CCD81B6FA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manish_singh_1-1653298954687.png" alt="manish_singh_1-1653298954687.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but when I try to set&amp;nbsp;LPIT_MCR[DBG_EN] = 1, then my application is continuously resetting and&amp;nbsp;LPIT_MCR[DBG_EN] bit is never getting set to 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manish_singh_2-1653298985659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180612i3F846CC5FBEC4490/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manish_singh_2-1653298985659.png" alt="manish_singh_2-1653298985659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know the correct procedure to set&amp;nbsp;LPIT_MCR[DBG_EN] bit and also the implementation support to meet SM_048 requirement.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 09:46:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1462344#M15602</guid>
      <dc:creator>manish_singh</dc:creator>
      <dc:date>2022-05-23T09:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1463252#M15637</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/168053"&gt;@manish_singh&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you configure the LPIT module?&lt;/P&gt;
&lt;P&gt;Do you follow the steps in Table 48-4. Initializing the LPIT modul?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, when the MCU is in the active debug mode and the core is halted, the WDOG (with DBG = 1) cannot be refreshed, therefore the WDOG will reset the MCU.&lt;/P&gt;
&lt;P&gt;Regarding SM_048, please read it in the context of the whole Section 5.6.2.1 Debug mode.&lt;/P&gt;
&lt;P&gt;"The debugging facilities of the S32K1xx and S32K14xW pose a possible source of failures if they are activated during the operation of functional safety-relevant applications."&lt;/P&gt;
&lt;P&gt;That is why we can have certain modules active even in this active debug mode, and in this case, the WDOG can reset the MCU.&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;</description>
      <pubDate>Tue, 24 May 2022 12:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1463252#M15637</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-24T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465570#M15691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am able to set&amp;nbsp;LPIT_MCR[DBG_EN] bit to 1, but I am not able to set&amp;nbsp;WDOG -&amp;gt;CS[DBG] = 1 from the code, these bits are only getting set only from the configuration, is there any way I can set it manually.&lt;/P&gt;&lt;P&gt;Source code I am using to set the&amp;nbsp;WDOG -&amp;gt;CS[DBG]&amp;nbsp; = 1&lt;/P&gt;&lt;P&gt;WDOG -&amp;gt;CS = 0x0000A5A4;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465570#M15691</guid>
      <dc:creator>manish_singh</dc:creator>
      <dc:date>2022-05-27T12:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465583#M15692</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/168053"&gt;@manish_singh&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In the initial initialization of the WDOG, you need to set the UPDATE bit.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1653656063965.png" style="width: 742px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181526i87674D017EA72393/image-dimensions/742x145?v=v2" width="742" height="145" role="button" title="danielmartynek_0-1653656063965.png" alt="danielmartynek_0-1653656063965.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, before you write the register, read it first, is UPDATE = 1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465583#M15692</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-27T12:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465587#M15693</link>
      <description>&lt;P&gt;Hi&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;Yes, I have checked this condition but then also I was not able to set it.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465587#M15693</guid>
      <dc:creator>manish_singh</dc:creator>
      <dc:date>2022-05-27T12:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465598#M15694</link>
      <description>&lt;P&gt;I forgot to mention that the WDOG must be unlocked first.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1653657355871.png" style="width: 751px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181528iC61970C8209A8617/image-dimensions/751x494?v=v2" width="751" height="494" role="button" title="danielmartynek_0-1653657355871.png" alt="danielmartynek_0-1653657355871.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 13:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465598#M15694</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-27T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465603#M15695</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I will try the suggested solution and update you.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 13:20:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465603#M15695</guid>
      <dc:creator>manish_singh</dc:creator>
      <dc:date>2022-05-27T13:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465947#M15711</link>
      <description>&lt;P&gt;&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;I have tried the suggested solution but I am not able to set&lt;SPAN&gt;&amp;nbsp;WDOG -&amp;gt;CS[DBG] = 1, kindly find the below code for reference&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manish_singh_0-1653886089934.png" style="width: 458px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181603i90E5403E41031EBF/image-dimensions/458x147?v=v2" width="458" height="147" role="button" title="manish_singh_0-1653886089934.png" alt="manish_singh_0-1653886089934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 04:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1465947#M15711</guid>
      <dc:creator>manish_singh</dc:creator>
      <dc:date>2022-05-30T04:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1466150#M15721</link>
      <description>&lt;P&gt;Hello Manish,&lt;/P&gt;
&lt;P&gt;Please double-check the code, it clears both DBG and UPDATE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 09:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1466150#M15721</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-30T09:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1467950#M15770</link>
      <description>&lt;P&gt;&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;I have updated the code but then also it was not getting set. Can we have a meeting to discuss on this ?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 03:50:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1467950#M15770</guid>
      <dc:creator>manish_singh</dc:creator>
      <dc:date>2022-06-02T03:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: SM_048 Implementation</title>
      <link>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1468098#M15774</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/168053"&gt;@manish_singh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please keep in mind that if the WDOG is enabled in the debug mode, and the core is halted by the debugger, the WDOG does not get refreshed, and the MCU is then reset.&lt;/P&gt;&lt;P&gt;Can you scope the reset_b signal while you are testing it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 08:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SM-048-Implementation/m-p/1468098#M15774</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-06-02T08:24:34Z</dc:date>
    </item>
  </channel>
</rss>

