<?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>S32K中的主题 Re: S32K312 Pad-Level during wakeup</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665957#M23741</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, I still have one thing I don't understand: what is the action after wakeup or the pad level is pulled down due to the function I called? Is it caused by writing 1 to the STANDBY_IO_CONFIG bit in the register DCMRWF1? Can this drop be avoided?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 08:40:54 GMT</pubDate>
    <dc:creator>Simon_Liu</dc:creator>
    <dc:date>2023-06-08T08:40:54Z</dc:date>
    <item>
      <title>S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1664726#M23695</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When I used the K312 chip to test the Wakeup function, I found that the GPIO output by OutPut can maintain a high level output after entering standby, but it will become a low level after wakeup.&lt;BR /&gt;Here is my setup:&lt;BR /&gt;1. Use the DS tool to select [Global Padkeeping Enable] under StandByMode in the Power component, and set the [Pad keep enable] option of the GPIO used in the pin component to Enable.&lt;BR /&gt;2. In the case of setting the above PadKeeping, initialize GPIO in Main and set high level output&lt;BR /&gt;3. Call the function Power_Ip_SetMode to enter StandBy&lt;/P&gt;&lt;P&gt;How can I keep the high level of the output terminal during wakeup?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 02:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1664726#M23695</guid>
      <dc:creator>Simon_Liu</dc:creator>
      <dc:date>2023-06-07T02:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665748#M23730</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Simon_Liu" target="_blank"&gt;Hi@Simon_Liu&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The test of PakKeeping in the figure below is very easy to understand.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1686192414352.png" style="width: 796px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226749iD0969046FE381911/image-dimensions/796x448?v=v2" width="796" height="448" role="button" title="Senlent_0-1686192414352.png" alt="Senlent_0-1686192414352.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 02:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665748#M23730</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-08T02:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665785#M23732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use DS configured as follows:&lt;BR /&gt;1. In the pin tool, configure PTE18 as Pad keep enable, which corresponds to PKE in SIUL2_MSRC, and set it during PortInit&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon_Liu_2-1686195291503.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226753i72B156AF36E94611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon_Liu_2-1686195291503.jpeg" alt="Simon_Liu_2-1686195291503.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. In the Power component, select Global Padkeeping Enable, which corresponds to STANDBY_IO_CONFIG in DCMRWF1, which is set by calling the function Power_Ip_SetMode when entering StandBy&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon_Liu_1-1686195286451.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226752iF41FDFD04132C7C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon_Liu_1-1686195286451.jpeg" alt="Simon_Liu_1-1686195286451.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The process in the Main function is as shown in the picture below, but after wakeup, PTE18 will still be pulled down&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon_Liu_3-1686195322330.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226754i65D9957CF8D211F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon_Liu_3-1686195322330.png" alt="Simon_Liu_3-1686195322330.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon_Liu_4-1686195421724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226755i460BA320663F33AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon_Liu_4-1686195421724.png" alt="Simon_Liu_4-1686195421724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 03:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665785#M23732</guid>
      <dc:creator>Simon_Liu</dc:creator>
      <dc:date>2023-06-08T03:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665915#M23740</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Simon_Liu" target="_blank"&gt;Hi@Simon_Liu&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I don't think this is a problem.&lt;/P&gt;
&lt;P&gt;This picture is not very clear and I have highlighted the important place for your obervation, as you can see, the level here is also pulled down.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1686207845152.png" style="width: 607px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226772i63F679B4469478B9/image-dimensions/607x364?v=v2" width="607" height="364" role="button" title="Senlent_0-1686207845152.png" alt="Senlent_0-1686207845152.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the reason it say in picture conclusion.&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;When waking up from standby mode, HSE non-secure boot will cost 1.8ms,the startup code(from reset_handler to main) will cost 4.3ms, Clock_Ip_Init will cost 830ms(Optimization level -O0). When enabling padkeeping, you can make sure the IO voltage will retain the setting in run mode during these 3 periods of time, until you disable the padkeeping and reset the port after waking up.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;After your program enters the main function, it initializes the PORT after a delay, and then pulls it high&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 07:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665915#M23740</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-08T07:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665957#M23741</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, I still have one thing I don't understand: what is the action after wakeup or the pad level is pulled down due to the function I called? Is it caused by writing 1 to the STANDBY_IO_CONFIG bit in the register DCMRWF1? Can this drop be avoided?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 08:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1665957#M23741</guid>
      <dc:creator>Simon_Liu</dc:creator>
      <dc:date>2023-06-08T08:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1666059#M23746</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Simon_Liu" target="_blank"&gt;Hi@Simon_Liu&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I can't think of a better way to solve your application requirements.&lt;/P&gt;
&lt;P&gt;If you want it to be always in a high state, why not directly use an external circuit to pull up&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 09:26:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1666059#M23746</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-08T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1666528#M23765</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on your answer above, I understand that after wakeup, the port will be reset only when the STANDBY_IO_CONFIG bit 1 in DCMRWF1 is set. So if the port is initialized and set to a high level before setting DCMRWF1, will this high level be maintained?&lt;BR /&gt;I did this test and found that this solution can keep the port high.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 01:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1666528#M23765</guid>
      <dc:creator>Simon_Liu</dc:creator>
      <dc:date>2023-06-09T01:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Pad-Level during wakeup</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1666566#M23767</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Simon_Liu" target="_blank"&gt;Hi@Simon_Liu&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1.&lt;SPAN&gt;So if the port is initialized and set to a high level before setting DCMRWF1, will this high level be maintained?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you enable padkeeping before going to standby mode(write &lt;STRONG&gt;DCM_GPR-&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;DCMRWF1&lt;/STRONG&gt;[&lt;STRONG&gt;STANDBY_IO_CONFIG&lt;/STRONG&gt;] = 0. Which is default register value no matter PKE of SIUL2 is set or not), but you did not disable it after wakeup, &lt;STRONG&gt;the SIUL2 module can not be initialized again&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;This is tricky since our chip design enabled this padkeeping feature by default. If you don’t need the padkeeping function while the MCU needs to go to standby mode and wakeup, you need to write 1 to this bit anywhere and leave it alone.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 02:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Pad-Level-during-wakeup/m-p/1666566#M23767</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-09T02:54:25Z</dc:date>
    </item>
  </channel>
</rss>

