<?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: [Kw36] When exiting low power mode, RAM changes abnormally Low probability in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177688#M58726</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do the test in the application, not in the function&amp;nbsp;&lt;SPAN&gt;PWR_HandleDeepSleepMode_1(void). This function will go to sleep. then recover from the sleep. May be in some time, we can't access the variable in this function. I add code in function BleApp_AdvertisingCallback.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; if(A == 3)&lt;BR /&gt;{&lt;BR /&gt;AppPrintString("yes");&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is the result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At first , print yes. Then mcu go to sleep. I press button to wake. Print yes again. It means the variable doesn't change.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 660px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129032i740EE6F3E7F78AE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 05:37:47 GMT</pubDate>
    <dc:creator>nxf56274</dc:creator>
    <dc:date>2020-11-04T05:37:47Z</dc:date>
    <item>
      <title>[Kw36] When exiting low power mode, RAM changes abnormally Low probability</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177147#M58711</link>
      <description>&lt;P&gt;We use low power mode 1，and find&lt;/P&gt;&lt;P&gt;static void PWR_HandleDeepSleepMode_1(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;if(gpfPWR_LowPowerEnterCb != NULL)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; gpfPWR_LowPowerEnterCb();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; BOARD_BLPEtoBLPI();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; rfOscEn = RSIM_CONTROL_READ_FIELD(RSIM_CONTROL_RF_OSC_EN);&lt;BR /&gt;&amp;nbsp; &amp;nbsp;RSIM-&amp;gt;CONTROL = RSIM_CONTROL_MODIFY_FIELD(RSIM_CONTROL_RF_OSC_EN, 0);&lt;BR /&gt;&amp;nbsp; &amp;nbsp;PWRLib_MCU_Enter_LLS3();&lt;BR /&gt;&amp;nbsp; &amp;nbsp;RSIM-&amp;gt;CONTROL = RSIM_CONTROL_MODIFY_FIELD(RSIM_CONTROL_RF_OSC_EN, rfOscEn);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde"&gt; // RAM Variable keep , NO change&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BOARD_BLPItoBLPE();&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt; // RAM Variable happen change . It's&amp;nbsp; unable to explain this phenomenon&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; if(gpfPWR_LowPowerExitCb != NULL)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gpfPWR_LowPowerExitCb();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 09:11:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177147#M58711</guid>
      <dc:creator>UAES_ZhangBin</dc:creator>
      <dc:date>2020-11-03T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Kw36] When exiting low power mode, RAM changes abnormally Low probability</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177603#M58721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How did you test the variable?&amp;nbsp; Please describe it in detail. I made a simple test. Ram didn't change.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 01:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177603#M58721</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-11-04T01:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: [Kw36] When exiting low power mode, RAM changes abnormally Low probability</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177635#M58722</link>
      <description>&lt;P&gt;This failure does not necessarily occur, the probability is extremely low.&lt;/P&gt;&lt;P&gt;uint8 A = 3;&amp;nbsp; &amp;nbsp;//global variable&lt;/P&gt;&lt;P&gt;void A_FaultTest（void）&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; if（A != 3）&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while（1）{}；&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A_FaultTest （）；&lt;/P&gt;&lt;P&gt;BOARD_BLPItoBLPE();&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A_FaultTest&lt;/STRONG&gt; （）；// when&amp;nbsp; fault come, enter while (1).&amp;nbsp; &lt;STRONG&gt;Varible A change cannot be detected by data write breakpoint.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 02:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177635#M58722</guid>
      <dc:creator>UAES_ZhangBin</dc:creator>
      <dc:date>2020-11-04T02:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: [Kw36] When exiting low power mode, RAM changes abnormally Low probability</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177688#M58726</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do the test in the application, not in the function&amp;nbsp;&lt;SPAN&gt;PWR_HandleDeepSleepMode_1(void). This function will go to sleep. then recover from the sleep. May be in some time, we can't access the variable in this function. I add code in function BleApp_AdvertisingCallback.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; if(A == 3)&lt;BR /&gt;{&lt;BR /&gt;AppPrintString("yes");&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is the result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At first , print yes. Then mcu go to sleep. I press button to wake. Print yes again. It means the variable doesn't change.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 660px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129032i740EE6F3E7F78AE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 05:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kw36-When-exiting-low-power-mode-RAM-changes-abnormally-Low/m-p/1177688#M58726</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-11-04T05:37:47Z</dc:date>
    </item>
  </channel>
</rss>

