<?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: How do I decide which MEM_BLOCKs need to be enabled? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1605485#M14591</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It should depend entirely on memory usage of your application and the power consumption optimization you are considering.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 22:46:43 GMT</pubDate>
    <dc:creator>EduardoZamora</dc:creator>
    <dc:date>2023-02-24T22:46:43Z</dc:date>
    <item>
      <title>How do I decide which MEM_BLOCKs need to be enabled?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1604167#M14582</link>
      <description>&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using Q9021 with BLE SDK 1.0.0. Some definitions of my project are as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#define OTA_ENABLE 0

/// Memory retention
#if (OTA_ENABLE)
#define CFG_MEM_RETENTION   (MEM_BLOCK1 | MEM_BLOCK2 | MEM_BLOCK3 | MEM_BLOCK4 | MEM_BLOCK6 | MEM_BLOCK7)// (MEM_ALL)//
#else
#define CFG_MEM_RETENTION   (MEM_BLOCK1 | MEM_BLOCK2 | MEM_BLOCK3 | MEM_BLOCK6 | MEM_BLOCK7)// (MEM_ALL)//
#endif

/// Memory retention
#if (defined(CFG_MEM_RETENTION))
    #define QN_MEM_RETENTION        CFG_MEM_RETENTION
    #define QN_MEM_UNRETENTION      (~(CFG_MEM_RETENTION) &amp;amp; 0xfe)
#else
    #define QN_MEM_RETENTION        (MEM_BLOCK1 | MEM_BLOCK2 | MEM_BLOCK3 | MEM_BLOCK4 | MEM_BLOCK5 | MEM_BLOCK6 | MEM_BLOCK7)
    #define QN_MEM_UNRETENTION      0
#endif&lt;/LI-CODE&gt;&lt;P&gt;How do I decide which MEM_BLOCKs need to be enabled?&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Ted Wu&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 01:53:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1604167#M14582</guid>
      <dc:creator>tedwu1</dc:creator>
      <dc:date>2023-02-23T01:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I decide which MEM_BLOCKs need to be enabled?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1604730#M14586</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167590"&gt;@tedwu1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Memory retention define which memory banks need to be retained in sleep mode.&lt;/P&gt;
&lt;P lang="es-MX"&gt;There are 8 banks of SRAM, and each bank is 8k bytes. Bank 0 is always power on. The power of bank 1-7 can be configured by developer. If the memory bank is not used by application, it can be off to save power.&lt;/P&gt;
&lt;P lang="es-MX"&gt;The BLE stack stores its data in bank 6 and 7. If the BLE is used, bank 6 and 7 should be power on. Developer can configure this macro based on memory usage to optimize power consumption.&lt;/P&gt;
&lt;P lang="es-MX"&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 17:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1604730#M14586</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-02-23T17:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I decide which MEM_BLOCKs need to be enabled?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1604872#M14588</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200888"&gt;@EduardoZamora&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I know that bank 1 to bank 5 need to be enabled? Where can I find information?&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Ted Wu&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 01:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1604872#M14588</guid>
      <dc:creator>tedwu1</dc:creator>
      <dc:date>2023-02-24T01:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I decide which MEM_BLOCKs need to be enabled?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1605485#M14591</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It should depend entirely on memory usage of your application and the power consumption optimization you are considering.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 22:46:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-decide-which-MEM-BLOCKs-need-to-be-enabled/m-p/1605485#M14591</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-02-24T22:46:43Z</dc:date>
    </item>
  </channel>
</rss>

