<?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: Rtc Interrupt for 5 sec</title>
    <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895176#M4358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The RTC module has two interrupts:&amp;nbsp;Second interrupt and alarm interrupt.&lt;/P&gt;&lt;P&gt;The alarm interrupt&amp;nbsp;allow the RTC to generate an&amp;nbsp;interrupt at a predefined time.&lt;/P&gt;&lt;P&gt;Please refer to the rtc_alarm_s32k144 SDK RTM 3.0.0 example that is available in the S32DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2019 08:13:25 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2019-04-16T08:13:25Z</dc:date>
    <item>
      <title>Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895175#M4357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using FS32K144Q100 in which i have done code for led blink using RTC but i want 5 sec delay with interrupt .how to do???here is my code..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 07:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895175#M4357</guid>
      <dc:creator>intern_praveena</dc:creator>
      <dc:date>2019-04-15T07:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895176#M4358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The RTC module has two interrupts:&amp;nbsp;Second interrupt and alarm interrupt.&lt;/P&gt;&lt;P&gt;The alarm interrupt&amp;nbsp;allow the RTC to generate an&amp;nbsp;interrupt at a predefined time.&lt;/P&gt;&lt;P&gt;Please refer to the rtc_alarm_s32k144 SDK RTM 3.0.0 example that is available in the S32DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 08:13:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895176#M4358</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-04-16T08:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895177#M4359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I alrdy used alarm_interrupt its working . i want how to make that alarm delay for 5 sec using second interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 09:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895177#M4359</guid>
      <dc:creator>intern_praveena</dc:creator>
      <dc:date>2019-04-16T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895178#M4360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Praveena,&lt;/P&gt;&lt;P&gt;Please have a look at Section&amp;nbsp;48.4.7 Interrupt, S32K1xx RM rev.9&lt;/P&gt;&lt;P&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/64767i0DD505C61B1C38C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see,&amp;nbsp;the frequency of the second interrupt is configurable but it can't trigger every 5s.&lt;/P&gt;&lt;P&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/65290i6606103775F9748F/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;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 11:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895178#M4360</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-04-17T11:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895179#M4361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;every 1 sec alarmISR is calling in that i want 5 sec delay . So what logic i have to use inside the alarmISR function. here is my function,&lt;/P&gt;&lt;P&gt;void alarmISR(void)&lt;BR /&gt; {&lt;BR /&gt; /* Toggle the alarm led */&lt;BR /&gt; PINS_DRV_TogglePins(PTD, (1 &amp;lt;&amp;lt; 15));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 08:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895179#M4361</guid>
      <dc:creator>intern_praveena</dc:creator>
      <dc:date>2019-04-23T08:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895180#M4362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Praveena,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If you want the alarm interrupt to be called every 5s,&amp;nbsp;just increase RTC Time Alarm Register by 5 in the Alarm ISR.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;void RTC_IRQHandler(void)
{
  RTC-&amp;gt;TAR += 5; // Writing to the TAR clears the SR[TAF] Time Alarm Flag.
                 // Next alarm in 5s
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 10:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895180#M4362</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-04-23T10:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895181#M4363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;void alarmISR(void)&lt;BR /&gt; {&lt;BR /&gt; /* Toggle the alarm led */&lt;BR /&gt; PINS_DRV_TogglePins(PTD, (1 &amp;lt;&amp;lt; 15));&lt;/P&gt;&lt;P&gt;// wait for conditions&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the above code , led is toggle and comes out for every 1 sec , so what i want is that there should be any conditions to&amp;nbsp; wait for 5 sec and after that 6th sec it should toggle next like that.can u understand????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 12:06:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895181#M4363</guid>
      <dc:creator>intern_praveena</dc:creator>
      <dc:date>2019-04-23T12:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895182#M4364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use a SW counter (global variable) in the ISR and let it count (increment every second) up to 5.&lt;/P&gt;&lt;P&gt;Once it equals 5, I would clear the counter and toggle the LED.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that's up to you.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 08:30:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895182#M4364</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-04-24T08:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895183#M4365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please explain in my code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 09:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895183#M4365</guid>
      <dc:creator>intern_praveena</dc:creator>
      <dc:date>2019-04-24T09:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rtc Interrupt for 5 sec</title>
      <link>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895184#M4366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;alarmISR&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  sec_counter&lt;SPAN class="operator token"&gt;++&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

  &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sec_counter &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
  &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Toggle the alarm led */&lt;/SPAN&gt;
    &lt;SPAN class="token function"&gt;PINS_DRV_TogglePins&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;PTD&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;15&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    sec_counter &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 09:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Rtc-Interrupt-for-5-sec/m-p/895184#M4366</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-04-24T09:57:47Z</dc:date>
    </item>
  </channel>
</rss>

