<?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: IRTC Tamper check - LLWU - MKM34/35Z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2318430#M68237</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems there is a problem with the IRTC internal (LLWU) module wakeup in the SDK example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using the iRTC Tamper (LLWU_M3IF) and iRTC Alarm (LLWU_M1IF) wakeup sources as described in the MKM3x series Reference Manual, but &lt;SPAN&gt;it did not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If anyone has faced this issue, could you please share a solution or provide an example?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Feb 2026 07:29:07 GMT</pubDate>
    <dc:creator>Bhagavan</dc:creator>
    <dc:date>2026-02-16T07:29:07Z</dc:date>
    <item>
      <title>IRTC Tamper check - LLWU - MKM34/35Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2315434#M68227</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;MCU - MKM34/35Z - SDK Based application&lt;/P&gt;&lt;P&gt;SDK: SDK_2.x_TWR_KM35Z75M ver. 25.06.00&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IDE: MCUXpresso IDE v25.6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Application:&amp;nbsp;MCU is always in VLLS2 sleep mode, and one GPIO pin (PTG6_LLWU0) along with the Tamper0 pin (IRTC Tamper) are configured as wake-up sources. An interrupt on either pin should wake the system.&lt;/P&gt;&lt;P&gt;The GPIO pin behaves as expected and successfully wakes the system from VLLS2. However, the Tamper pin does not wake the system, even though it is configured exactly according to the reference application.&lt;/P&gt;&lt;P&gt;I am sharing the relevant code snippets for reference and would appreciate help in identifying the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void RTC_TamperInit(void)&lt;BR /&gt;{&lt;BR /&gt;CLOCK_EnableClock(kCLOCK_Rtcreg);&lt;BR /&gt;CLOCK_EnableClock(kCLOCK_Rtc0);&lt;/P&gt;&lt;P&gt;IRTC_GetDefaultConfig(&amp;amp;irtcConfig);&lt;BR /&gt;irtcConfig.timerStdMask = true;&lt;BR /&gt;irtcConfig.wakeupSelect = true;&lt;/P&gt;&lt;P&gt;if (IRTC_Init(RTC, &amp;amp;irtcConfig) == kStatus_Fail)&lt;BR /&gt;{&lt;BR /&gt;return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;IRTC_SetOscCapLoad(RTC, kIRTC_Capacitor2p|kIRTC_Capacitor4p|kIRTC_Capacitor16p);&lt;/P&gt;&lt;P&gt;tamper0Config.filterClk = kIRTC_4;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; tamper0Config.filterDuration = 2;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; tamper0Config.pinPolarity = true;/*true is Active*/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; IRTC_SetTamperParams(RTC, kIRTC_Tamper_0, &amp;amp;tamper0Config);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; /* Lock tamper configuration */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; IRTC_SetTamperConfigurationOver(RTC);&lt;/P&gt;&lt;P&gt;/* Enable RTC as LLWU wake source */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LLWU_EnableInternalModuleInterruptWakup(LLWU, LLWU_IRTC_IDX, true);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; /* Clear stale flags */&lt;BR /&gt;IRTC_ClearStatusFlags(RTC, 0xFFFFFFFF);&lt;BR /&gt;IRTC_ClearTamperStatusFlag(RTC);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;void LLWU_Init(void)&lt;BR /&gt;{&lt;BR /&gt;//GPIO PTG6&lt;BR /&gt;LLWU_SetExternalWakeupPinMode(LLWU, LLWU_WAKEUP_PIN_IDX, LLWU_WAKEUP_PIN_TYPE);&lt;BR /&gt;LLWU_ClearExternalWakeupPinFlag(LLWU, LLWU_WAKEUP_PIN_IDX);&lt;BR /&gt;//IRTC Tamper0&lt;BR /&gt;LLWU_EnableInternalModuleInterruptWakup(LLWU, LLWU_IRTC_IDX, true);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 09:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2315434#M68227</guid>
      <dc:creator>Bhagavan</dc:creator>
      <dc:date>2026-02-10T09:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: IRTC Tamper check - LLWU - MKM34/35Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2315506#M68228</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;It appears your Tamper pin is failing to wake the MCU because the IRTC Tamper Interrupt is likely not enabled at the peripheral level, even though the LLWU is configured. While irtcConfig.wakeupSelect = true prepares the logic, you must explicitly call IRTC_EnableTamperInterrupt(RTC, kIRTC_Tamper0InterruptEnable) to allow the event to propagate. Additionally, ensure the Tamper 0 pin is not masked in the IRTC control registers and verify that the IRTC_SetTamperConfigurationOver (Lock) isn't being called before all flags are cleared, as this can sometimes prevent subsequent state changes from triggering the wakeup signal to the LLWU.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 10:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2315506#M68228</guid>
      <dc:creator>erin77brown</dc:creator>
      <dc:date>2026-02-10T10:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: IRTC Tamper check - LLWU - MKM34/35Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2315539#M68230</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259755"&gt;@erin77brown&lt;/a&gt;&amp;nbsp;for your quick reply.&lt;/P&gt;&lt;P&gt;Sorry, I missed mentioning this earlier. I also tried enabling the interrupt using&lt;BR /&gt;&lt;SPAN&gt;IRTC_EnableInterrupts(RTC, kIRTC_TamperInterruptEnable);&lt;/SPAN&gt; or&amp;nbsp;RTC-&amp;gt;IER |= RTC_IER_TAMPER_IE_MASK;, but unfortunately, it did not help, and the tamper pin does not wake the system.&lt;/P&gt;&lt;P&gt;Could you please confirm whether we must call the function: IRTC_SetTamperConfigurationOver(RTC); after clearing all flags?. Since we are already using IRTC_SetWriteProtection() to lock and unlock the RTC, I would like to understand the correct usage and sequence. If you have any example code, please share it—it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 11:10:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2315539#M68230</guid>
      <dc:creator>Bhagavan</dc:creator>
      <dc:date>2026-02-10T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: IRTC Tamper check - LLWU - MKM34/35Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2316390#M68232</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232467"&gt;@Bhagavan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Please check whether the Tamper Interrupt Status bit is set,&lt;/DIV&gt;
&lt;DIV&gt;and also test&amp;nbsp; whether other iRTC interrupts are able to wake up the system.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 10:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2316390#M68232</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-02-11T10:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: IRTC Tamper check - LLWU - MKM34/35Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2318430#M68237</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems there is a problem with the IRTC internal (LLWU) module wakeup in the SDK example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using the iRTC Tamper (LLWU_M3IF) and iRTC Alarm (LLWU_M1IF) wakeup sources as described in the MKM3x series Reference Manual, but &lt;SPAN&gt;it did not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If anyone has faced this issue, could you please share a solution or provide an example?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 07:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2318430#M68237</guid>
      <dc:creator>Bhagavan</dc:creator>
      <dc:date>2026-02-16T07:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: IRTC Tamper check - LLWU - MKM34/35Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2321795#M68242</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232467"&gt;@Bhagavan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;There is no official demo available for KM34.&lt;/DIV&gt;
&lt;DIV&gt;However, the RTC module is the same as in the Kinetis series.&lt;/DIV&gt;
&lt;DIV&gt;Please refer to:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/LLWU-PORT-interrupt/m-p/266526" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/LLWU-PORT-interrupt/m-p/266526&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;BR&lt;/DIV&gt;
&lt;DIV&gt;Alice&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 08:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IRTC-Tamper-check-LLWU-MKM34-35Z/m-p/2321795#M68242</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-02-24T08:34:58Z</dc:date>
    </item>
  </channel>
</rss>

