<?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 LPC55S69 : Power-down in secure world in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989315#M38960</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 can see power management example works and I can wakeup from PowerDown mode as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I migrate to RTOS&amp;nbsp; environment and try to put MCU to PowerDown mode on Secure side :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* POWER DOWN */&lt;BR /&gt; POWER_EnterPowerDown(&lt;BR /&gt; (kPDRUNCFG_PD_LDOMEM | kPDRUNCFG_PD_FRO32K),&lt;/P&gt;&lt;P&gt;0x7FFF,&lt;BR /&gt; WAKEUP_GPIO_GLOBALINT0 | WAKEUP_GPIO_GLOBALINT1 |&lt;BR /&gt; WAKEUP_RTC_LITE_ALARM_WAKEUP&lt;BR /&gt; | WAKEUP_FLEXCOMM3 | WAKEUP_OS_EVENT_TIMER,&lt;BR /&gt; 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOARD_BootClockFRO12M();&lt;BR /&gt; BOARD_BootClockPLL150M();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't wakeup by using any wakeup source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use library libpower_hardrabi_s and libpower_hardabi .&lt;/P&gt;&lt;P&gt;GINTx interrupts processed on Secure side and others on nonsecure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wondering what kind of extra libraries and configurations are need for enable Power-Down mode in case&amp;nbsp;&lt;/P&gt;&lt;P&gt;of real environment where TZ and secure/nonsecure partitioning in use ?&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, 29 Nov 2019 10:29:18 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-11-29T10:29:18Z</dc:date>
    <item>
      <title>LPC55S69 : Power-down in secure world</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989315#M38960</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 can see power management example works and I can wakeup from PowerDown mode as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I migrate to RTOS&amp;nbsp; environment and try to put MCU to PowerDown mode on Secure side :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* POWER DOWN */&lt;BR /&gt; POWER_EnterPowerDown(&lt;BR /&gt; (kPDRUNCFG_PD_LDOMEM | kPDRUNCFG_PD_FRO32K),&lt;/P&gt;&lt;P&gt;0x7FFF,&lt;BR /&gt; WAKEUP_GPIO_GLOBALINT0 | WAKEUP_GPIO_GLOBALINT1 |&lt;BR /&gt; WAKEUP_RTC_LITE_ALARM_WAKEUP&lt;BR /&gt; | WAKEUP_FLEXCOMM3 | WAKEUP_OS_EVENT_TIMER,&lt;BR /&gt; 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOARD_BootClockFRO12M();&lt;BR /&gt; BOARD_BootClockPLL150M();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't wakeup by using any wakeup source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use library libpower_hardrabi_s and libpower_hardabi .&lt;/P&gt;&lt;P&gt;GINTx interrupts processed on Secure side and others on nonsecure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wondering what kind of extra libraries and configurations are need for enable Power-Down mode in case&amp;nbsp;&lt;/P&gt;&lt;P&gt;of real environment where TZ and secure/nonsecure partitioning in use ?&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, 29 Nov 2019 10:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989315#M38960</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-29T10:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Power-down in secure world</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989316#M38961</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;Could you please show me how you implemented the power down function from the secure side?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 22:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989316#M38961</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-12-03T22:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Power-down in secure world</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989317#M38962</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;It is normal nsc function&lt;/P&gt;&lt;P&gt;secureportNON_SECURE_CALLABLE void RTOS_EnterPowerDown(void) { .. }&lt;/P&gt;&lt;P&gt;but it called in rtos tickless implementation at place of macro&lt;/P&gt;&lt;P&gt;configPOST_SLEEP_PROCESSING(xExpectedIdleTime);&lt;/P&gt;&lt;P&gt;and at that point all interrupts are disabled by&amp;nbsp;__disable_irq();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is all preconditions for this Power API call ?&lt;/P&gt;&lt;P&gt;RTOS require disabled interrupts.&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>Wed, 04 Dec 2019 06:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989317#M38962</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-04T06:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Power-down in secure world</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989318#M38963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sabinabruce"&gt;sabinabruce&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried Powerdown by using freertos_mpu_s/ns example.&lt;/P&gt;&lt;P&gt;At any side ( s/ns) it is not possible to wakeup MCU back by any source.&lt;/P&gt;&lt;P&gt;GINTx interrupts served on secure side, RTC/OS_EVENT timer on nonsecure side.&lt;/P&gt;&lt;P&gt;I try to link power and/or power_s libs, result the same.&lt;/P&gt;&lt;P&gt;Powerlib version is 0x10000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you confirm what exact powerlib version and modification should be taken in use&lt;/P&gt;&lt;P&gt;in environment where trustzone is activated.&lt;/P&gt;&lt;P&gt;I think freertos_mpu_s/ns is good example for testing.&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, 05 Dec 2019 17:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Power-down-in-secure-world/m-p/989318#M38963</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-05T17:39:10Z</dc:date>
    </item>
  </channel>
</rss>

