<?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: MCU is resetting when running without debugger. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1857563#M34849</link>
    <description>&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;Thank you for you support.&lt;/P&gt;&lt;P&gt;After changing the HSE_CLK to 60MHZ which is half of the core clock(120MHZ). Previously it was configured to 120MHZ.&lt;/P&gt;&lt;P&gt;After doing the above step reset is &lt;STRONG&gt;not observed&lt;/STRONG&gt; with out the debugger as well.&lt;/P&gt;&lt;P&gt;But i am still confused why previously it was &lt;STRONG&gt;not resetting with debugger connected?&lt;/STRONG&gt; please help me to understand this behavior.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manu Sharma&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 13:05:57 GMT</pubDate>
    <dc:creator>ManuSharma</dc:creator>
    <dc:date>2024-04-30T13:05:57Z</dc:date>
    <item>
      <title>MCU is resetting when running without debugger.</title>
      <link>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1856764#M34786</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am observing continues MCU reset when i am running my software with out debugger but with debugger no reset is observed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Changes performed in Software:&lt;/STRONG&gt; &amp;nbsp;I have migrated my MCAL RTD driver from&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;SW32K3_RTD_4.4_2.0.1&lt;/SPAN&gt;&lt;/SPAN&gt; to&amp;nbsp;SW32K3_S32M27x_RTD_R21-11_4.0.0_P01.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue :&lt;/STRONG&gt;&amp;nbsp; After performing the migration i am observing the MCU reset continuously when i am running the software with out debugger but with debugger &lt;STRONG&gt;NO&lt;/STRONG&gt; reset observed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Observation : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1.Check the &lt;STRONG&gt;MC_RGM&lt;/STRONG&gt; register and observe the functional reset register value is set to&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;HSE_SWT_RST&amp;nbsp;&lt;/STRONG&gt;which is majorly because of external clock issue as per my understanding.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. While performing the migration i observed that external slow clock &lt;STRONG&gt;SXOSC&amp;nbsp;&lt;/STRONG&gt;is removed from the tresos configuration, There is not container for SXOSC clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Checked the MCU.xdm file in that SXOSC section is available but when i loading the XDM file containers are not coming on tresos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kindly let know how i can solve this issue of reset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manu Sharma&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 13:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1856764#M34786</guid>
      <dc:creator>ManuSharma</dc:creator>
      <dc:date>2024-04-29T13:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: MCU is resetting when running without debugger.</title>
      <link>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1856946#M34796</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225661"&gt;@ManuSharma&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is usually a clock settings issue. Please c&lt;SPAN&gt;heck AIPS_SLOW_CLK and HSE_CLK values. Also check DCM record regarding HSE_CLK_MODE_OPTION. With this, you know the ratio (either 1:2 or 1:4) that those clocks shall comply with.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can test configurations from the &lt;EM&gt;S32K3 Reference Manual&lt;/EM&gt; &lt;STRONG&gt;chapter&amp;nbsp;24.7.2&lt;/STRONG&gt; System clocking configurations and confirm if the issue persists.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 18:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1856946#M34796</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-04-29T18:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: MCU is resetting when running without debugger.</title>
      <link>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1857563#M34849</link>
      <description>&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;Thank you for you support.&lt;/P&gt;&lt;P&gt;After changing the HSE_CLK to 60MHZ which is half of the core clock(120MHZ). Previously it was configured to 120MHZ.&lt;/P&gt;&lt;P&gt;After doing the above step reset is &lt;STRONG&gt;not observed&lt;/STRONG&gt; with out the debugger as well.&lt;/P&gt;&lt;P&gt;But i am still confused why previously it was &lt;STRONG&gt;not resetting with debugger connected?&lt;/STRONG&gt; please help me to understand this behavior.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manu Sharma&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 13:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1857563#M34849</guid>
      <dc:creator>ManuSharma</dc:creator>
      <dc:date>2024-04-30T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCU is resetting when running without debugger.</title>
      <link>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1858504#M34908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225661"&gt;@ManuSharma&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm not sure why this behavior is observed with the debugger, functionality is not guaranteed if configuration is out of guidelines. To&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;make it 100% working under all circumstances, 120MHz (or 60MHz) must be configured in described way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 16:27:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1858504#M34908</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-05-02T16:27:56Z</dc:date>
    </item>
  </channel>
</rss>

