<?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: LPS55S69 : power_manager_lpc in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038174#M40407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The IBUSERR can be caused by:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;a)&amp;nbsp;Branch to invalid memory regions for example caused by incorrect function pointers.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;b)&amp;nbsp;Invalid return due to corrupted stack pointer or stack content.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;c)&amp;nbsp;Incorrect entry in the exception vector table.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Could you please check the TEE configuration tool to see how your securty distribution map is, as shown below.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98349iB5166A5B7884D99C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;This way we can see the actual status of a particular location.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2019 20:57:10 GMT</pubDate>
    <dc:creator>Sabina_Bruce</dc:creator>
    <dc:date>2019-12-18T20:57:10Z</dc:date>
    <item>
      <title>LPS55S69 : power_manager_lpc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038172#M40405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken in use power_manager_lpc example from SDK and it work fine and able to wakeup from PowerDown mode&lt;/P&gt;&lt;P&gt;due GINTx and RTC events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modify it a bit and both GINTx and RTC is able to wakeup and clock resturns back to 150Mhz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POWER_EnterPowerDown((kPDRUNCFG_PD_LDOMEM | kPDRUNCFG_PD_FRO32K), 0x7FFF,&lt;BR /&gt; WAKEUP_GPIO_GLOBALINT0 | WAKEUP_GPIO_GLOBALINT1 | WAKEUP_RTC_LITE_ALARM_WAKEUP, 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOARD_BootClockFRO12M();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;BR /&gt; BOARD_BootClockPLL150M();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I take example with secure world usage e.g. hello_world_s/ns&amp;nbsp; and do similar usage of everything in secure world&lt;/P&gt;&lt;P&gt;-&amp;gt; system is not wakeup due any events.&lt;/P&gt;&lt;P&gt;power_s version of power library is taken in use and GINTx processed on secure side and backup area is visible for save cpu retention data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PowerLib version 0x10000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of precondition or miss configuration of TZ gates should be added to that example ?&lt;/P&gt;&lt;P&gt;May be something is not enabled but no any crash and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example where EnterPower down is happens on secure side ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 13:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038172#M40405</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-12T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPS55S69 : power_manager_lpc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038173#M40406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activation of HardFault show some problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entering HardFault interrupt!&lt;BR /&gt;SCB-&amp;gt;BFSR:IBUSERR fault: Instruction bus error on an instruction prefetch.&lt;/P&gt;&lt;P&gt;Additional AHB secure controller error information:&lt;BR /&gt;Secure error at AHB layer 0.&lt;BR /&gt;Address that caused secure violation is &lt;STRONG&gt;0x3012534.&lt;/STRONG&gt;&lt;BR /&gt;Secure error caused by bus master number 0.&lt;BR /&gt;Security level of master 3.&lt;BR /&gt;Secure error happened during read code access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like powerlib_s at secure side try to access ROM&amp;nbsp; code area and it counted&amp;nbsp; as secure violation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in TZ settings I uncheck box "Enable secure check for AHB matrix" it starts to work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be some problems with power lib or why secure checking is failed&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 12:03:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038173#M40406</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-13T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPS55S69 : power_manager_lpc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038174#M40407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The IBUSERR can be caused by:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;a)&amp;nbsp;Branch to invalid memory regions for example caused by incorrect function pointers.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;b)&amp;nbsp;Invalid return due to corrupted stack pointer or stack content.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;c)&amp;nbsp;Incorrect entry in the exception vector table.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Could you please check the TEE configuration tool to see how your securty distribution map is, as shown below.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98349iB5166A5B7884D99C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;This way we can see the actual status of a particular location.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 20:57:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038174#M40407</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-12-18T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPS55S69 : power_manager_lpc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038175#M40408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabina !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be so that power_s library require access to ROM code and it works if access right to it set in S-priv only.&lt;/P&gt;&lt;P&gt;Even power_s&amp;nbsp; run on secure side and should access all memory areas. ROM code must be set to S-Priv only.&lt;/P&gt;&lt;P&gt;Like power_s library should have some preconditions what is not fully clear from UM/DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 07:33:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPS55S69-power-manager-lpc/m-p/1038175#M40408</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-19T07:33:09Z</dc:date>
    </item>
  </channel>
</rss>

