<?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>Wireless MCUのトピックRe: QN9080DK BLE library prevents MCU PowerDown0</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875902#M6209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started checking your attached file there might some&amp;nbsp;missing steps or necessary elements that might be intrusive to the flow of the Bluetooth LE stack.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will strongly recommend&amp;nbsp;you to check&amp;nbsp;Chapter 10 Low-Power Management of the&amp;nbsp;Bluetooth® Low Energy Application Developer’s Guide as well as use as a base and follow the flow of the&amp;nbsp;examples configuring those in power down mode, to be sure that you have all the elements of the process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Estephania&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2019 18:58:42 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2019-03-07T18:58:42Z</dc:date>
    <item>
      <title>QN9080DK BLE library prevents MCU PowerDown0</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875901#M6208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "lib_ble_5-0_host_peripheral_cm4.a" library doesn't allow to enter PowerDown0 mode for the second time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Overview:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #00ff00;"&gt;BLE init&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #00ff00;"&gt;Prepare for sleep&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #00ff00;"&gt;POWER_EnterPowerDown0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #00ff00;"&gt;Wakeup from sleep&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Prepare for sleep again&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; fails&lt;/STRONG&gt; &lt;/SPAN&gt;because BLE reports&amp;nbsp;kPmSleep instead of&amp;nbsp;kPmPowerDown0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;POWER_EnterPowerDown0 -&amp;gt;not reached&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 09:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875901#M6208</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2019-03-07T09:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080DK BLE library prevents MCU PowerDown0</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875902#M6209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started checking your attached file there might some&amp;nbsp;missing steps or necessary elements that might be intrusive to the flow of the Bluetooth LE stack.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will strongly recommend&amp;nbsp;you to check&amp;nbsp;Chapter 10 Low-Power Management of the&amp;nbsp;Bluetooth® Low Energy Application Developer’s Guide as well as use as a base and follow the flow of the&amp;nbsp;examples configuring those in power down mode, to be sure that you have all the elements of the process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Estephania&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 18:58:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875902#M6209</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-07T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080DK BLE library prevents MCU PowerDown0</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875903#M6210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;After init the stack is hapilly able to start/stop advertisement many times.&lt;BR /&gt;OS_task is called continuously.&lt;BR /&gt;Is there a memory address I could read detailed internal state from the BLE stack?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I extracted the shutdown/wakeup process from power_profiling_bm, in there I see the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PWR_CheckIfDeviceCanGoToSleep&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;BLE_get_sleep_mode() - kPmPowerDown0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do PowerDown0&lt;BR /&gt;Shutdown&lt;BR /&gt;Wakeup&lt;BR /&gt;PWR_CheckIfDeviceCanGoToSleep&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; BLE_get_sleep_mode() - kPmSleep &amp;lt;- &lt;STRONG&gt;mine stays here&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do WFI&amp;nbsp; &amp;nbsp;&amp;lt;-&lt;STRONG&gt; is this necessary?&lt;/STRONG&gt;&lt;BR /&gt; BLE_get_sleep_mode() - kPmPowerDown0&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&amp;lt;-&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;what make it change to this mode?&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; do PowerDown0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875903#M6210</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2019-03-08T10:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080DK BLE library prevents MCU PowerDown0</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875904#M6211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did more digging:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLE_get_sleep_mode() -&amp;gt; kPmPowerDown0&lt;BR /&gt;&lt;SPAN&gt;enter PowerDown0&lt;/SPAN&gt;&lt;BR /&gt;Wakeup&lt;BR /&gt;BLE_get_sleep_mode() -&amp;gt; kPmSleep&lt;BR /&gt;__enable_irq();&lt;BR /&gt;BLE_get_sleep_mode() -&amp;gt; kPmActive&lt;BR /&gt;while BLE_get_sleep_mode() -&amp;gt; kPmActive &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OSA_dispatch() --&amp;gt; ControllerTask task gets called many times, but stuck in kPmActive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in power_profiling_bm example only 2 calls to ControllerTask is needed then it changes to kPmPowerDown0, which doesnt happen in my app.&lt;/P&gt;&lt;P&gt;Reading some BLE stack internal states would save you a lot of debugging time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 11:25:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875904#M6211</guid>
      <dc:creator>arpad_toth</dc:creator>
      <dc:date>2019-03-08T11:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080DK BLE library prevents MCU PowerDown0</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875905#M6212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconveniences this might cause you, but the libraries can't be shared,&amp;nbsp;also I believe the way you are implementing the changes might be intrusive to the framework as you are not following the recommendations in the documentation we provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why aren't you using the&amp;nbsp;PWR_ChangeDeepSleepMode API? And, are you using the&amp;nbsp;PWR_AllowDeviceToSleep? I did not see any of those in your code, have you added those? If you did, how are you using them? Is your issue during the IDLE state? Is it in the advertisement? Or is in the connection?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using our recommended&amp;nbsp;APIs and process?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 00:02:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080DK-BLE-library-prevents-MCU-PowerDown0/m-p/875905#M6212</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-12T00:02:52Z</dc:date>
    </item>
  </channel>
</rss>

