<?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: Standby mode &amp;amp; wake-up with RTC in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1758319#M28701</link>
    <description>Thanks, I'm waiting for your response after your review.&lt;BR /&gt;&lt;BR /&gt;Thanks for the code examples, but I have already reviewed all the sample projects in the community.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Nov 2023 10:59:35 GMT</pubDate>
    <dc:creator>buccno</dc:creator>
    <dc:date>2023-11-16T10:59:35Z</dc:date>
    <item>
      <title>Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1756798#M28614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm conducting low-power testing on a board using the S32k312 processor. The board has an external oscillator with a frequency of 16MHz. I've configured two different clock frequencies.&lt;BR /&gt;&lt;BR /&gt;In the first set of clock configurations, the processor clock is derived from PLL, and in the second set, it uses FIRC (Software Standby mode entry sequence is here).&lt;BR /&gt;&lt;BR /&gt;When I switch to the second clock configuration, debugging becomes problematic, leading me to infer power consumption from the power supply. In my test code, I examined CLKOUT RUN (PTD10) and CLKOUT STANDBY (PTA12) pins with an oscilloscope.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Initially, everything seems correct, but after setting the "SOC STANDBY" mode during the prepare mode, I can't obtain a proper frequency; I get a frequency similar to what is shown in the image. What could be the reason for this?&lt;/P&gt;&lt;P&gt;I also created an alarm in the RTC for testing, but it seems like it's not waking up (I suspect the inability to read the correct frequency from the CLKOUT standby pin is indicating this issue).&lt;/P&gt;&lt;P&gt;I'm sharing my test code, and I would greatly appreciate it if you could take a look. Thanks in advance for your assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 12:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1756798#M28614</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2023-11-14T12:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1756868#M28624</link>
      <description>&lt;P&gt;In addition to&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;uint32 retval = Clock_Ip_GetClockFrequency(CLKOUT_RUN_CLK);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;uint32 ret_val2 = Clock_Ip_GetClockFrequency(CLKOUT_STANDBY_CLK);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This retval = 48 MHz, because I set it to FIRC clock.&lt;/P&gt;&lt;P&gt;ret_val2 = 24 MHz, FIRC/2.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;but when I look pins with oscilloscope for freqs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="buccno_0-1699960699224.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249726i4E94C1EDB3FB059B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="buccno_0-1699960699224.png" alt="buccno_0-1699960699224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this two pin equal to each other(48 MHz), why?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 11:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1756868#M28624</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2023-11-14T11:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1757676#M28670</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209588"&gt;@buccno&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Not sure what the issue is, but I understand you want to keep the FIRC running while the MCU is in the Standby mode (Power_Ip_SetMode(&amp;amp;Power_Ip_aModeConfigPB[2U])).&lt;/P&gt;
&lt;P&gt;The FIRC must be enabled in the Standby mode first.&lt;/P&gt;
&lt;P&gt;It is disabled in teh project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1700058116632.png" style="width: 704px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249977iC397FF719E57526E/image-dimensions/704x401?v=v2" width="704" height="401" role="button" title="danielmartynek_0-1700058116632.png" alt="danielmartynek_0-1700058116632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 14:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1757676#M28670</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-11-15T14:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1757714#M28671</link>
      <description>&lt;P&gt;Thank you for your response, but the MCU still doesn't wake up. When it goes into standby mode, the power downs from 50mA to 20mA(20mA is too big for standby I think btw), but I can't seem to wake it up.&lt;BR /&gt;&lt;BR /&gt;Honestly, I can't figure out the reason, and I'm sharing the code I'm working on. Everything looks correct, but where is the issue?&lt;/P&gt;&lt;P&gt;Also, should I use the RTC_Ip_Trigger function before entering standby mode?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 15:14:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1757714#M28671</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2023-11-15T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1758166#M28691</link>
      <description>&lt;P&gt;Let me look at the project.&lt;/P&gt;
&lt;P&gt;Meanwhile refer to the examples here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/s32k312-RTC-not-working/td-p/1512153" target="_blank"&gt;https://community.nxp.com/t5/S32K/s32k312-RTC-not-working/td-p/1512153&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 07:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1758166#M28691</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-11-16T07:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1758319#M28701</link>
      <description>Thanks, I'm waiting for your response after your review.&lt;BR /&gt;&lt;BR /&gt;Thanks for the code examples, but I have already reviewed all the sample projects in the community.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Nov 2023 10:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1758319#M28701</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2023-11-16T10:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1762040#M28892</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209588"&gt;@buccno&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I haven't much time testing it.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The FIRC clock must be configured to 48 MHz during the RUN - STANDBY transition:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1700668356547.png" style="width: 677px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251134i1EE6B6E7B67FAB55/image-dimensions/677x219?v=v2" width="677" height="219" role="button" title="danielmartynek_0-1700668356547.png" alt="danielmartynek_0-1700668356547.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The system clock must be configured to on of the examples in the RM, Section 24.7.2 Clocking use case examples. The examples can be changed, however, the divider ratio must be maintained.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1700668523048.png" style="width: 610px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251135i91B4B78C6BDA26E8/image-dimensions/610x183?v=v2" width="610" height="183" role="button" title="danielmartynek_1-1700668523048.png" alt="danielmartynek_1-1700668523048.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I see you use O0 optimization.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please keep in mind that the RTD drivers have been tested with Os only, as per the release notes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 15:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1762040#M28892</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-11-22T15:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Standby mode &amp; wake-up with RTC</title>
      <link>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1762654#M28925</link>
      <description>I solved the problem. I hadn't added the WKPU module to the project, so it wasn't waking up. Now, I can wake it up. The response "Please keep in mind that the RTD drivers have been tested with Os only, as per the release notes." was helpful; I didn't know that. thank you.</description>
      <pubDate>Thu, 23 Nov 2023 11:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Standby-mode-amp-wake-up-with-RTC/m-p/1762654#M28925</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2023-11-23T11:18:08Z</dc:date>
    </item>
  </channel>
</rss>

