<?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: rtc interrupt every sec whilst continuing count in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/rtc-interrupt-every-sec-whilst-continuing-count/m-p/315183#M20805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avdit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your description it seems that you need a periodic interrupt of 1 sec using RTC. For this you can use PE -&amp;gt;Init_RTC module, set the clock source as 1-KHz Low Power Oscillator, clock gate -&amp;gt; Enabled, Prescaler -&amp;gt; 100, Modulo Value -&amp;gt; 9. In the interrupts section, you must enable the interrupt and give the name of the ISR that you may define in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. - If you see the answer helpful/correct, please mark appropriately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 12:23:15 GMT</pubDate>
    <dc:creator>ankur_kala</dc:creator>
    <dc:date>2014-07-03T12:23:15Z</dc:date>
    <item>
      <title>rtc interrupt every sec whilst continuing count</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/rtc-interrupt-every-sec-whilst-continuing-count/m-p/315182#M20804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wish to program the RTC of MC9S08pa16 to generate an interrupt every second where I compute some data whilst the RTC keeps counting. How do I do that?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avdit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 13:02:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/rtc-interrupt-every-sec-whilst-continuing-count/m-p/315182#M20804</guid>
      <dc:creator>avditkohli</dc:creator>
      <dc:date>2014-07-02T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: rtc interrupt every sec whilst continuing count</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/rtc-interrupt-every-sec-whilst-continuing-count/m-p/315183#M20805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avdit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your description it seems that you need a periodic interrupt of 1 sec using RTC. For this you can use PE -&amp;gt;Init_RTC module, set the clock source as 1-KHz Low Power Oscillator, clock gate -&amp;gt; Enabled, Prescaler -&amp;gt; 100, Modulo Value -&amp;gt; 9. In the interrupts section, you must enable the interrupt and give the name of the ISR that you may define in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. - If you see the answer helpful/correct, please mark appropriately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 12:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/rtc-interrupt-every-sec-whilst-continuing-count/m-p/315183#M20805</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2014-07-03T12:23:15Z</dc:date>
    </item>
  </channel>
</rss>

