<?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: Getting RTC interrupt with no reason in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Getting-RTC-interrupt-with-no-reason/m-p/1071384#M7383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, could you try to disable interrupts and move the vector table before the jump to the app?&lt;/P&gt;&lt;P&gt;/* Relocate vector table */&lt;BR /&gt; S32_SCB-&amp;gt;VTOR = (uint32_t)APP_START_ADDRESS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend jumping into the application after reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2020 08:36:29 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2020-06-23T08:36:29Z</dc:date>
    <item>
      <title>Getting RTC interrupt with no reason</title>
      <link>https://community.nxp.com/t5/S32K/Getting-RTC-interrupt-with-no-reason/m-p/1071383#M7382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;BR /&gt;I am using my custom bootloader with APP (with position independent code) on s32k144 and I am facing a&amp;nbsp;problem right after app launch (when all clocks are configured and some periphery are inited). MCU permanently runs into this RTC interrupt with no reason (see RTC SR register) and main program halts on same address. I am running into this interrupt even if it is disabled in NVICISER1 (14 bit, according to interrupt map) and when RTC was not inited at all (after every reflashing I am disabling power to reset RTC registers). When I am using step-by-steb debug in main program - all works as it should. I am not sure that this is RTC issue, but how can I check this?&lt;BR /&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/113321i3335DFF94E30F8C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Content of other registers in interrupt, maybe it can help:&lt;BR /&gt;&lt;SPAN&gt;NVIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NVICISER0: 0x0001FFFF @e000e100&lt;BR /&gt;NVICISER1: 0x00000000 @e000e104&lt;BR /&gt;NVICISER2: 0x0167C000 @e000e108&lt;BR /&gt;NVICISER3: 0x04005000 @e000e10c&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NVICICER0: 0x0001FFFF @e000e180&lt;BR /&gt;NVICICER1: 0x00000000 @e000e184&lt;BR /&gt;NVICICER2: 0x0167C000 @e000e188&lt;BR /&gt;NVICICER3: 0x04005000 @e000e18c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVICISPR0: 0x00000000 @e000e200&lt;BR /&gt;NVICISPR1: 0x00004000 @e000e204&lt;BR /&gt;NVICISPR2: 0x00000000 @e000e208&lt;BR /&gt;NVICISPR3: 0x00000000 @e000e20c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVICICPR0: 0x00000000 @e000e280&lt;BR /&gt;NVICICPR1: 0x00004000 @e000e284&lt;BR /&gt;NVICICPR2: 0x00000000 @e000e288&lt;BR /&gt;NVICICPR3: 0x00000000 @e000e28c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVICIABR0: 0x00000000 @e000e300&lt;BR /&gt;NVICIABR1: 0x00000000 @e000e304&lt;BR /&gt;NVICIABR2: 0x00000000 @e000e308&lt;BR /&gt;NVICIABR3: 0x00004000 @e000e30c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCB&lt;/P&gt;&lt;P&gt;ICSR: 0x0040087E @e000ed04&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;ICSR-&amp;gt;&lt;/SPAN&gt;VECTACTIVE 0x07E - reserved of CAN2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 14:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Getting-RTC-interrupt-with-no-reason/m-p/1071383#M7382</guid>
      <dc:creator>svetotled</dc:creator>
      <dc:date>2020-06-19T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting RTC interrupt with no reason</title>
      <link>https://community.nxp.com/t5/S32K/Getting-RTC-interrupt-with-no-reason/m-p/1071384#M7383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, could you try to disable interrupts and move the vector table before the jump to the app?&lt;/P&gt;&lt;P&gt;/* Relocate vector table */&lt;BR /&gt; S32_SCB-&amp;gt;VTOR = (uint32_t)APP_START_ADDRESS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend jumping into the application after reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 08:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Getting-RTC-interrupt-with-no-reason/m-p/1071384#M7383</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-06-23T08:36:29Z</dc:date>
    </item>
  </channel>
</rss>

