<?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: LPC55S69 : Core1 and TrustZone in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922590#M36764</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&gt;1.&amp;nbsp;&amp;nbsp;The System Tick timer for CPU1 has three options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93066i1AC833FFE5D84D50/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The datasheet shows the current consumption when CPU1 is in sleep mode or off.&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/92995i25E73091CD111322/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&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93025i12CBD89B81D4CF75/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second question I did not understand what you mean. Here is the basic functionality if the CPU is in secure or non-secure states.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92996i39114979EA4E8BE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93026i822A40231F292511/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some really great &lt;A href="https://www.youtube.com/watch?v=5D2TJztL4CE"&gt;videos &lt;/A&gt;that explain in detail, how the trustzone feature works with our LPC55S6x Family.&lt;/P&gt;&lt;P&gt;If you have more questions let me know.&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, 22 Oct 2019 14:45:16 GMT</pubDate>
    <dc:creator>Sabina_Bruce</dc:creator>
    <dc:date>2019-10-22T14:45:16Z</dc:date>
    <item>
      <title>LPC55S69 : Core1 and TrustZone</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922587#M36761</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;It is not so clear from user/ds documents about some dependencies between some peripherals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can Core1 and their peripherals to be allocated in secure part and be fully protected from Core 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; So Core 0 shouln't able to access to Core 1 code/data/peripherals at all ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; So like Core 1 running under Trustzone protection at secure part ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If Core 1 generate some interrupts, Core 0 can call some secure API and read status if need ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like Core 1 should be able to access areas what is protected by Core0's Trustzone.&lt;/P&gt;&lt;P&gt;Or Core0 is able to exclude Core1 areas by using own MPU only ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What if Core0 stay in Deepsleep mode and can Core 1 continue to to switch between Run and DeepSleep modes&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;and Core1 should use some GPIO lines for wakeup from DeepSleep ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I need if both Cores can switch between Run and DeepSleep freely by using own set of GPIO lines and peripherals. And able to wakeup up each other when need.&lt;/P&gt;&lt;P&gt;But all Core1 peripherals/memory should be at secure world.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this kind of configuration is possible ?&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>Tue, 15 Oct 2019 12:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922587#M36761</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-10-15T12:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Core1 and TrustZone</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922588#M36762</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&gt;Here are the answers to your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1. Can Core1 and their peripherals to be allocated in secure part and be fully protected from Core 0.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; So Core 0 shouln't able to access to Core 1 code/data/peripherals at all ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; So like Core 1 running under Trustzone protection at secure part ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; If Core 1 generate some interrupts, Core 0 can call some secure API and read status if need ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The LPC55S66 and LPC55S69 have implemented core 0 as a Cortex-M33 with full TEE and TrustZone® support enabled. The LPC55S69 has a second Cortex-M33 (core 1) that does not implement the secure environment with TZ. In this case Core 0 is the secure part and Core 1 shouldn't be able to access Core 0, unless through secure gateways.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;TrustZone® technology divides the system into two states, safe (S) and non-secure (NS), and can switch between the two states through corresponding commands. The CPU states can be secure privilege, secure non-privilege, privilege (Handler), or non-privilege (Thread).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="border: 0px;"&gt;What if Core0 stay in Deepsleep mode and can Core 1 continue to to switch between Run and DeepSleep modes&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp; &amp;nbsp;and Core1 should use some GPIO lines for wakeup from DeepSleep ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Only Core 0 is able to enter deep sleep mode. core 1 is able to enter normal sleep mode. Please refere to &lt;A href="https://www.nxp.com/webapp/Download?colCode=UM11126"&gt;chapter 14&lt;/A&gt; for the power profiles available in the LPC55s69.You can however enter sleep mode for either CPU 0 or CPU1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have additional questions.&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>Wed, 16 Oct 2019 20:54:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922588#M36762</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-10-16T20:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Core1 and TrustZone</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922589#M36763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sabina !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically Core1 can be always ON and used like this :&lt;/P&gt;&lt;P&gt;- it can have own Core clock and use 32kHz or 1Mhz internal oscillators as clock source and for Systick timer.&lt;/P&gt;&lt;P&gt;&amp;nbsp; And only switch between RUN and Sleep (_ WFI())&amp;nbsp; modes.&lt;/P&gt;&lt;P&gt;&amp;nbsp; In this case it can consume some mkA but exact digits is not visible in DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Secure gateways can be configured in ways that Core1 always and Core0 in Secure mode access some part of SRAM memory.&lt;/P&gt;&lt;P&gt;But Core0 in Non-Secure mode can't access it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this true ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&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, 17 Oct 2019 08:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922589#M36763</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-10-17T08:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Core1 and TrustZone</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922590#M36764</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&gt;1.&amp;nbsp;&amp;nbsp;The System Tick timer for CPU1 has three options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93066i1AC833FFE5D84D50/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The datasheet shows the current consumption when CPU1 is in sleep mode or off.&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/92995i25E73091CD111322/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&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93025i12CBD89B81D4CF75/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second question I did not understand what you mean. Here is the basic functionality if the CPU is in secure or non-secure states.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92996i39114979EA4E8BE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93026i822A40231F292511/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some really great &lt;A href="https://www.youtube.com/watch?v=5D2TJztL4CE"&gt;videos &lt;/A&gt;that explain in detail, how the trustzone feature works with our LPC55S6x Family.&lt;/P&gt;&lt;P&gt;If you have more questions let me know.&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, 22 Oct 2019 14:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Core1-and-TrustZone/m-p/922590#M36764</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-10-22T14:45:16Z</dc:date>
    </item>
  </channel>
</rss>

