<?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>LPC MicrocontrollersのトピックRe: LPC55S69 : read SecureGPIO state</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-read-SecureGPIO-state/m-p/1059142#M40971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="320103" data-username="yevgen.gyl@solita.fi" href="https://community.nxp.com/people/yevgen.gyl@solita.fi"&gt;Eugene Hiihtaja&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will gladly answer your questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If GPIO is configured as secure, the GINT is not an option, I suggest to use Secure PINT, please refer to Chapter 20 in the User Manual.&lt;/LI&gt;&lt;LI&gt;The SecureMask allows us to control the on/off state of the normal&amp;nbsp; GPIO read path, this is enough for only reading.&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105216iE67467395F27D5CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Yes, they must be configured. It is also important to add that two conditions must be met in order for a pin’s output bit to be driven onto the pin:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;The pin must be selected for secure GPIO operation via IOCON (FUNC value must be 10).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;The pin must be selected for output by a 1 in the DIR register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If either or both of these conditions is (are) not met, writing to the pin has no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4. Although the peripheral is configured as secure, it still can be acceded through the GPIO, so configuring the GPIO &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as secure is needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more detailed information I suggest you check this application note: &lt;A href="https://www.nxp.com/docs/en/application-note/AN12326.pdf" title="https://www.nxp.com/docs/en/application-note/AN12326.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12326.pdf&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2020 21:46:10 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2020-04-08T21:46:10Z</dc:date>
    <item>
      <title>LPC55S69 : read SecureGPIO state</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-read-SecureGPIO-state/m-p/1059141#M40970</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;Do I understand right :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If gpio pin configured as secure GPIO (via IOCON and SecMask ) it can't be used by GINTx peripheral ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; As result pin can't be used for wakeup MCU from PowerDown low power mode ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Secure GPIOs can generate interrupts if they included to PINT peripheral only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For protect reading state of pin it is enough to use SecMask only. IOCON setting is not mandatory ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For protect writing to secure GPIO, IOCON and SecMask should be configured. Is this so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. If pin configured for FLEXCOMM peripheral ( for example SPI SSEL), for protect reading of this kind of pin,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;it is enough for configure SecMask only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify those combinations.&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>Mon, 06 Apr 2020 06:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-read-SecureGPIO-state/m-p/1059141#M40970</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-04-06T06:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : read SecureGPIO state</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-read-SecureGPIO-state/m-p/1059142#M40971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="320103" data-username="yevgen.gyl@solita.fi" href="https://community.nxp.com/people/yevgen.gyl@solita.fi"&gt;Eugene Hiihtaja&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will gladly answer your questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If GPIO is configured as secure, the GINT is not an option, I suggest to use Secure PINT, please refer to Chapter 20 in the User Manual.&lt;/LI&gt;&lt;LI&gt;The SecureMask allows us to control the on/off state of the normal&amp;nbsp; GPIO read path, this is enough for only reading.&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105216iE67467395F27D5CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Yes, they must be configured. It is also important to add that two conditions must be met in order for a pin’s output bit to be driven onto the pin:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;The pin must be selected for secure GPIO operation via IOCON (FUNC value must be 10).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;The pin must be selected for output by a 1 in the DIR register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If either or both of these conditions is (are) not met, writing to the pin has no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4. Although the peripheral is configured as secure, it still can be acceded through the GPIO, so configuring the GPIO &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as secure is needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more detailed information I suggest you check this application note: &lt;A href="https://www.nxp.com/docs/en/application-note/AN12326.pdf" title="https://www.nxp.com/docs/en/application-note/AN12326.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12326.pdf&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 21:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-read-SecureGPIO-state/m-p/1059142#M40971</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-04-08T21:46:10Z</dc:date>
    </item>
  </channel>
</rss>

