<?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: MCAL EcuM - Sleep for S32K118 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056486#M7050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6px;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-content-finding="Community" data-userid="358354" data-username="talha.uyar@karel.com.tr" href="https://community.nxp.com/people/talha.uyar@karel.com.tr" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: underline; font-size: 1.1em; padding: 0px 3px 0px 0px;"&gt;Muhammet Uyar&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the autosar specification have pointed that the GPT notification will not use for wake up so it will not be called as wake-up notification.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113305i91F3247E6B9B40C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The specification also mention&amp;nbsp;the GptWakeupConfiguration which use for wakeup notification.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6px;"&gt;&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/113306iDB3F8488E252117B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hung.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2020 11:20:39 GMT</pubDate>
    <dc:creator>hungnguyenphi</dc:creator>
    <dc:date>2020-06-19T11:20:39Z</dc:date>
    <item>
      <title>MCAL EcuM - Sleep for S32K118</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056483#M7047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a guide or Application Note Document that I can use to understand the EcuM module. I am trying to understand how to use the Wakeup Sources etc. and what modules can Run when the MCU is in sleep mode, as well as the required functions to call. I couldn't find the EcuM Integration Manual or EcuM User Manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no&amp;nbsp;guide or Application Note, can you please tell me how can I set-up a Wakeup Timer and whether the communication peripherals (CAN, LIN, SPI etc.) work when MCU is in the sleep mode? It says in the CAN Integration Manual that a Self-Wakeup functionality can be used if it is available for the hardware. Is it available for S32K118, and if so how can I set it up and use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M. Talha Uyar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 10:48:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056483#M7047</guid>
      <dc:creator>talha_uyar</dc:creator>
      <dc:date>2020-06-17T10:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL EcuM - Sleep for S32K118</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056484#M7048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="358354" data-username="talha.uyar@karel.com.tr" href="https://community.nxp.com/people/talha.uyar@karel.com.tr" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Muhammet Uyar&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EcuM in the MCAL driver just support as stub. So it will not have a guide or Application node. &lt;BR /&gt;&lt;STRONG&gt;If there is no guide or Application Note, can you please tell me how can I set-up a Wakeup Timer and whether the communication peripherals (CAN, LIN, SPI etc.) work when MCU is in the sleep mode?&lt;/STRONG&gt;&lt;BR /&gt;[Hung]&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Please see the "Table 38-4. Module operation in available power modes" in the S32K1xx_RM. It will show us which clocks, peripherals can work in the sleep mode.&lt;/LI&gt;&lt;LI&gt;So basically user can set up the peripheral work on sleep mode by:&lt;BR /&gt; - Configure the peripheral which can run in sleep mode&lt;BR /&gt; - Set the clock of this peripheral to the source clock which can run in sleep mode.&lt;/LI&gt;&lt;LI&gt;As the "Table 39-2. Power mode transition triggers" the MCU will wake-up from sleep mode if it have an interrupt which supported by AWIC (Please see "Table 7-8. AWIC stop and VLPS wake-up sources" ). So to&amp;nbsp;&lt;STRONG&gt;set-up a Wakeup Timer,&amp;nbsp;&lt;/STRONG&gt;user just need to choose the correct timer(which can run in sleep mode) and make sure it can generated the interrupt which can handler by&amp;nbsp;&lt;SPAN&gt;AWIC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Hung.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 10:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056484#M7048</guid>
      <dc:creator>hungnguyenphi</dc:creator>
      <dc:date>2020-06-18T10:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL EcuM - Sleep for S32K118</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056485#M7049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so in the case of GPT using LPIT it can generate interrupt in the STOP1 mode. Here is the main function I wrote:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;int main(void)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; Mcu_Init(&amp;amp;McuModuleConfiguration);&lt;BR /&gt; Mcu_InitClock(McuClockSettingConfig_0);&lt;BR /&gt; Mcu_SetMode((Mcu_ModeType)MCU_RUN_MODE);&lt;/P&gt;&lt;P&gt;Gpt_Init(&amp;amp;GptChannelConfigSet);&lt;BR /&gt; Gpt_EnableNotification(Sample_Timer);&lt;BR /&gt; Gpt_EnableWakeup(Sample_Timer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sys_enableIsrSource(LPIT0_Ch0_IRQn, 0x40);&lt;/P&gt;&lt;P&gt;Gpt_StartTimer(Sample_Timer, 4000000);&lt;/P&gt;&lt;P&gt;Gpt_SetMode(GPT_MODE_SLEEP);&lt;BR /&gt; Mcu_SetMode((Mcu_ModeType)MCU_STOP1_MODE);&lt;BR /&gt; while(1)&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But it fails to call&amp;nbsp;Gpt_Timeout_Notification when I run the code. I&amp;nbsp;understand that in the GPT User Manual it is stated the GptNotification is for non-Wakeup notification only. So how can I set up a wakeup notification function&amp;nbsp;for GPT?&lt;/P&gt;&lt;P&gt;Edit: I tried the same thing for&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;Mcu_SetMode((Mcu_ModeType)MCU_STOP2_MODE);&lt;/SPAN&gt;&amp;nbsp;and the it also does not call the&amp;nbsp;&lt;SPAN&gt;Gpt_Timeout_Notification.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 11:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056485#M7049</guid>
      <dc:creator>talha_uyar</dc:creator>
      <dc:date>2020-06-18T11:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL EcuM - Sleep for S32K118</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056486#M7050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6px;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-content-finding="Community" data-userid="358354" data-username="talha.uyar@karel.com.tr" href="https://community.nxp.com/people/talha.uyar@karel.com.tr" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: underline; font-size: 1.1em; padding: 0px 3px 0px 0px;"&gt;Muhammet Uyar&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the autosar specification have pointed that the GPT notification will not use for wake up so it will not be called as wake-up notification.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113305i91F3247E6B9B40C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The specification also mention&amp;nbsp;the GptWakeupConfiguration which use for wakeup notification.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6px;"&gt;&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/113306iDB3F8488E252117B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hung.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 11:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-EcuM-Sleep-for-S32K118/m-p/1056486#M7050</guid>
      <dc:creator>hungnguyenphi</dc:creator>
      <dc:date>2020-06-19T11:20:39Z</dc:date>
    </item>
  </channel>
</rss>

