<?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>8-bit MicrocontrollersのトピックRe: RTC Interrupt handling on HC08-LK24</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180072#M12990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you must ackknowledgetheinterrupt by writing to the RTIACK bit in the SRTISC Register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eckhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2009 17:34:14 GMT</pubDate>
    <dc:creator>eckhard</dc:creator>
    <dc:date>2009-05-11T17:34:14Z</dc:date>
    <item>
      <title>RTC Interrupt handling on HC08-LK24</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180071#M12989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i use the RTC to generate a periodic 1 second interrupt. Everythings fine, but the ISR itself dosen´t seem to work correct. I run the code in the Simulator from CW for HC08 and then the cursor is stuck into&amp;nbsp; the RTC isr, until i disable RTIE bit. Do I need to Acknowledge the RTC interrupt ? And if yes, then how ? I searched thru www and the datasheet, up to now without success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hanks for your help in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 16:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180071#M12989</guid>
      <dc:creator>lc_hc</dc:creator>
      <dc:date>2009-05-11T16:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Interrupt handling on HC08-LK24</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180072#M12990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you must ackknowledgetheinterrupt by writing to the RTIACK bit in the SRTISC Register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eckhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 17:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180072#M12990</guid>
      <dc:creator>eckhard</dc:creator>
      <dc:date>2009-05-11T17:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Interrupt handling on HC08-LK24</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180073#M12991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Eckhard:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your comment. Unfortunately theres no RTIACK Bit and even no RTI Status Register. But this one ( RTCSR ):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;SECF — Second Flag&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;This clearable, read-only bit is set on every increment of the second&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;counter. When the SECIE bit in RTCCR1 is set, SECF generates a&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;CPU interrupt request. In normal operation, clear the SECF bit by&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;reading RTCSR with SECF set and then reading the second register&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;(SECR). Reset clears SECF.&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial"&gt;1 = Second counter incremented&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;0 = No second counter incremented&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;Is this used to acknowledge the irq from the ISR ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 18:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180073#M12991</guid>
      <dc:creator>lc_hc</dc:creator>
      <dc:date>2009-05-11T18:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Interrupt handling on HC08-LK24</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180074#M12992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and welcome to the fora, lc-hc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are generating interrupts by having the SECIE bit set in the RTCCR1 register, then yes, this is what you have to do to clear the SECF flag which is the source of that interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like Eckard, on first read of your post I was thinking of the RTI too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 19:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/RTC-Interrupt-handling-on-HC08-LK24/m-p/180074#M12992</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2009-05-11T19:29:07Z</dc:date>
    </item>
  </channel>
</rss>

