<?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: FRDM-KL25Z how to get RTC work properly</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149139#M151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graeme Bragg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to do above but failed, &lt;/P&gt;&lt;P&gt;have you done any Projects which involves RTC if you could share it would be very helpfull !!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 07:42:36 GMT</pubDate>
    <dc:creator>pradyumnakammar</dc:creator>
    <dc:date>2013-03-18T07:42:36Z</dc:date>
    <item>
      <title>FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149127#M139</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;I am new to freescale.&lt;/P&gt;&lt;P&gt;I start on &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z"&gt;FRDM-KL25Z evaluation board&lt;/A&gt;. I am using cw 10.3 with PE. I added a RTC components using PE. I would like to measure the current consumed by RTC module. what I need to do is just run RTC keep time counting on. I set the time, and using the RTC_GetTime(RTC1_DeviceData, rtc) function which suppose to get the second, minute, hour, date, day, month, year values and stores into rtc object. however, when I run this in debug mode(using OpenSDA USB), I checked the rtc object. the value is just same as initial value. I dont know what is wrong. I did automatic initialize rtc device, and call&amp;nbsp; rtc_enable() function as well.&lt;/P&gt;&lt;P&gt;Can anyone give me a hint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 01:18:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149127#M139</guid>
      <dc:creator>pengliang</dc:creator>
      <dc:date>2012-10-24T01:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149128#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know about how to get RTC running properly? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 12:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149128#M140</guid>
      <dc:creator>pengliang</dc:creator>
      <dc:date>2012-10-24T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149129#M141</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;Have you tried to get started with our &lt;A href="http://cache.freescale.com/files/32bit/software/KL25_SC.exe"&gt;FRDM-KL25Z Sample Code Package&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;It has a Sample Code Guide with step-by-step instructions to download tools, load projects, configure the hardware, run the code, and use the OpenSDA mass-storage flash programmer to program pre-compiled binaries onto your board... and some other goodies you can find useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if works for you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 15:59:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149129#M141</guid>
      <dc:creator>toñohernández</dc:creator>
      <dc:date>2012-10-25T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149130#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried some the samples. There is no one related to RTC setting. and I notice, RTC requires external crystal 32k, the evaluation board has a 8MHz external crystal populated. How can this achieve RTC running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 19:37:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149130#M142</guid>
      <dc:creator>pengliang</dc:creator>
      <dc:date>2012-10-25T19:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149131#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Too bad they seem to have forgotten the code warrior projects that are supposed to be there in the cw directory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 20:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149131#M143</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2012-10-25T20:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149132#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out~~&lt;/P&gt;&lt;P&gt;Thanks for replys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 18:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149132#M144</guid>
      <dc:creator>pengliang</dc:creator>
      <dc:date>2012-10-26T18:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149133#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peng Liang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I am facing the same problem,&lt;/P&gt;&lt;P&gt;what solution did you find?&lt;/P&gt;&lt;P&gt;And by the way can I ask you what is the consumption you measure for RTC running?&lt;/P&gt;&lt;P&gt;Thank you and regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 09:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149133#M145</guid>
      <dc:creator>antoineodonne</dc:creator>
      <dc:date>2012-12-17T09:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149134#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you need to install 32k crystal instead of 8M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 13:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149134#M146</guid>
      <dc:creator>pengliang</dc:creator>
      <dc:date>2012-12-17T13:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149135#M147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Sample Code Package for &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z"&gt;FRDM-KL25&lt;/A&gt; in drivers folder you can find and example, there is the source and its header file for RTC configuration:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kinetis L Sample Code\kl25_sc\kl25-sc-baremetal\src\drivers&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is all commented so you can follow step by step the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 15:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149135#M147</guid>
      <dc:creator>adriansc</dc:creator>
      <dc:date>2012-12-17T15:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149136#M148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for information&lt;/P&gt;&lt;P&gt;The new &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL05Z"&gt;FRDM-KL05Z&lt;/A&gt; freedom board for Kinetis-L &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05 MCUs&lt;/A&gt; will have an external 32KHz crystal on board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 15:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149136#M148</guid>
      <dc:creator>GregC</dc:creator>
      <dc:date>2013-01-09T15:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149137#M149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this thread is a couple of months old, but I have found a way to get the RTC working properly without needing to swap crystals, etc.&amp;nbsp; By default, there is no link between the internal 32K reference and the RTC clock input HOWEVER it is possible to route the internal 32K out to PTC3 and bring it back in on the RTC clock input on PTC1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can configure the required settings in Codewarrior/Processor Expert on the CPU component (in expert mode) as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;set RTC Clock Input to "Enabled".&amp;nbsp; This sets PTC1 as an input for a clock source.&lt;/LI&gt;&lt;LI&gt;set MCGIRCLK source to "slow" in "Clock Source Settings" &amp;gt; "Clock Source Setting 0" &amp;gt; "Internal Reference Clock"&lt;/LI&gt;&lt;LI&gt;set ERCLK32K Clock Source to "RTC Clock Input" in "Clock Source Settings" &amp;gt; "Clock Source Setting 0" &amp;gt; "External Reference Clock"&lt;/LI&gt;&lt;LI&gt;Enable "CLKOUT pin control" in "Internal Peripherals" &amp;gt; "System Integration Module"&lt;UL&gt;&lt;LI&gt;set "CLKOUT pin" to "PTC3/LLWU_P7/..."&lt;/LI&gt;&lt;LI&gt;Set "CLKOUT pin output" to "MCGIRCLK"&lt;/LI&gt;&lt;LI&gt;This routes the internal 32K reference oscillator out to pin PTC3&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the RTC, set the "Clock Source" to "ERCLK32K".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And don't forget to put a wire link between PTC1 and PTC3 :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Low and behold, you have an internally-sourced 32K signal to run the RTC on the Freedom board without needing any external devices or needing to change any crystals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 17:13:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149137#M149</guid>
      <dc:creator>heliosfa</dc:creator>
      <dc:date>2013-02-19T17:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149138#M150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Peng Liang&lt;/P&gt;&lt;P&gt;I have to generate an hourly interrupt and wake up the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL0"&gt;KL05&lt;/A&gt; from VLLSx mode. It's mentioned using 32k crystal instead of 8M crystal for RTC. I guess it means the processor ll run at 32kHz clock. I would like to know how RTC could use this clock. Could anything be done for preventing RTC registers from getting reset due to VLLSx wakeup interrupt?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149138#M150</guid>
      <dc:creator>subramaniantr</dc:creator>
      <dc:date>2013-03-13T13:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z how to get RTC work properly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149139#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graeme Bragg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to do above but failed, &lt;/P&gt;&lt;P&gt;have you done any Projects which involves RTC if you could share it would be very helpfull !!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 07:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-how-to-get-RTC-work-properly/m-p/149139#M151</guid>
      <dc:creator>pradyumnakammar</dc:creator>
      <dc:date>2013-03-18T07:42:36Z</dc:date>
    </item>
  </channel>
</rss>

