<?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>Kinetis MicrocontrollersのトピックRe: RTC Second interrupt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295211#M12097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some more information, I have set the RTC module with the help of PEX but that isn't possible. It says that it's only possible if the HW supports the second interrupt.&lt;/P&gt;&lt;P&gt;Well but where can I see this? In the Sub family reference it is suported and I don't find any else datasheet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Apr 2014 06:45:05 GMT</pubDate>
    <dc:creator>pascalschröer</dc:creator>
    <dc:date>2014-04-13T06:45:05Z</dc:date>
    <item>
      <title>RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295208#M12094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi at all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does the MK20DX128 mc support the RTC second interrupt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 20:29:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295208#M12094</guid>
      <dc:creator>pascalschröer</dc:creator>
      <dc:date>2014-04-12T20:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295209#M12095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best place to look is in the interrupt vector table in the user's manual to the exact part that you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some devices have just the Alarm interrupt and some have the alarm and seconds interrupt.The 72MHz K20DX128, for example, has a seconds interrupt at IRQ 67 (and the alarm at IRQ66).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 22:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295209#M12095</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-04-12T22:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295210#M12096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I did that... in the K20 Sub family reference there is the RTC second interrupt described as IRQ 29&lt;/P&gt;&lt;P&gt;(VECTOR 44) but if I would like to activate, the interrupt doesn't fire... So I though that the interrupt isn't&lt;/P&gt;&lt;P&gt;implemented maybe. By the way, the Alarm interrupt works like it should, that is IRQ 28... so I don't kwon what's wrong with the second interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 05:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295210#M12096</guid>
      <dc:creator>pascalschröer</dc:creator>
      <dc:date>2014-04-13T05:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295211#M12097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some more information, I have set the RTC module with the help of PEX but that isn't possible. It says that it's only possible if the HW supports the second interrupt.&lt;/P&gt;&lt;P&gt;Well but where can I see this? In the Sub family reference it is suported and I don't find any else datasheet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 06:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295211#M12097</guid>
      <dc:creator>pascalschröer</dc:creator>
      <dc:date>2014-04-13T06:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295212#M12098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pascal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend customer to refer Kinetis 100MHz RTC example code, which generate an interrupt every second.&lt;/P&gt;&lt;P&gt;Customer can download the example code from below link, the project is [rtc_demo].&lt;/P&gt;&lt;P&gt;The software should be very similar with your application, and customer need to check RTC second interrupt related interrupt vector number.&lt;/P&gt;&lt;P&gt;KINETIS512_V2_SC&amp;nbsp; : Kinetis 100MHz Rev 2 Example Projects: &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 03:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295212#M12098</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-04-16T03:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295213#M12099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you help but it doesen't work... I have created a second interrupt with the help of PEX but that doesn't work too... Is it possible,&lt;/P&gt;&lt;P&gt;that there is a interrupt vector number in the datasheet, but not implemented in my special MCU? Because all the other interrupts&lt;/P&gt;&lt;P&gt;(PIT, WDOG, alram) work like they should. Now I have created a RTC with the help of a PIT interrupt but that isn't the solution of my problem^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks :smileywink:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 13:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295213#M12099</guid>
      <dc:creator>pascalschröer</dc:creator>
      <dc:date>2014-04-17T13:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295214#M12100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a binary for the FRDM-K20D50M which uses the 1s interrupt.&lt;/P&gt;&lt;P&gt;- the RED LED toggles a 1s - controlled by the RTC seconds interrupt&amp;nbsp; (and the green at 2.5Hz)&lt;/P&gt;&lt;P&gt;- If you connect via a terminal emulator on the OpenSDA virtual COM there is a command line menu (115k Baud) - in the administrator menu (4) there are commands to set the time and date and to display the present time and date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Admin. menu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;===================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; go to main menu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show_time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; display time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set_time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set time 01:22:56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set_date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Date 23:02:2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reset device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;last_rst&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reset cause&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;help&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Display menu specific help&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;quit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leave command mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#show_time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;17:04:2014 20:40:20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show_time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;17:04:2014 20:40:21&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show_time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;17:04:2014 20:40:22&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show_time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;17:04:2014 20:40:23&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can see that the seconds are counting (driven by the interrupt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get the alarm interrupt working? The seconds interrupt is otherwise very similar - just set the seconds interrupt enable rather than the alarm interrupt enable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I don't see any real advantage of parts with the seconds interrupt since the alarm interrup can be used for second interrupts anyway. Since the RTC is just a 32 bit counter the SW needs to perform time/date management so a seconds interrupt is the simplest way to do it. The SW that is attached performs Gregorian time conversions and allows the same features as the RTC in the Coldfires (using emulation). That is, it supports seconds interrupts, minutes interrupts, hours, day interrupts, alarm and stop-watch interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load this to your board you can check what is missing in your configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is also the complete RTC interface code, including configuration, interrupt handling, Gregorian conversions, etc.&lt;/P&gt;&lt;P&gt;If you prefer the complete project code it is at &lt;A href="http://www.utasker.com/forum/index.php?topic=1721.0" title="http://www.utasker.com/forum/index.php?topic=1721.0"&gt;KINETIS Project Code&lt;/A&gt; - this also enable you to simulate your FRDM board, the Kinetis and its peripherals so that you will be able to make better progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 19:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295214#M12100</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-04-17T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Second interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295215#M12101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2014 22:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Second-interrupt/m-p/295215#M12101</guid>
      <dc:creator>pascalschröer</dc:creator>
      <dc:date>2014-05-11T22:16:13Z</dc:date>
    </item>
  </channel>
</rss>

