<?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>S12 / MagniV Microcontrollers中的主题 Re: on reset --- RTC in 52235</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/on-reset-RTC-in-52235/m-p/210656#M8711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Registers will get 0's during reset. why do you shutdown your micro if you want it real-time though?&amp;nbsp;If you want to maintain value&amp;nbsp;when its&amp;nbsp;OFF, you should flash it in EEPROM.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2009 12:14:53 GMT</pubDate>
    <dc:creator>Xbot</dc:creator>
    <dc:date>2009-10-02T12:14:53Z</dc:date>
    <item>
      <title>on reset --- RTC in 52235</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/on-reset-RTC-in-52235/m-p/210655#M8710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on these issue from couple of days and i am not able to figure why it is happening so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On reset all the RTC registers (seconds,minutes,hours days,alm&amp;nbsp; ) are reseting to zero. In the manual it is given as the values will be&amp;nbsp; arbitary .So I expected&amp;nbsp; on reset the values would be same before the shutdown but it is reseting on each power on and also reset. Can some body explain about this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my plan is to provide back up using&amp;nbsp; battery for the RTC and make it to run continously to maintain real time .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also including the intailizatiopn code here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCF_CLOCK_RTCDR = ( (SYSTEM_CLOCK_KHZ * 1000 ) )&amp;nbsp; /* for configuring tjhe clock */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCF_RTC_RTCCTL = (MCF_RTC_RTCCTL_EN ) ;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCF_SCM_PPMRL &amp;amp;= (0xFFFFEFFF)&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;&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;&amp;nbsp; /* enables the RTC*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me......i am stuck at this simple thing............&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 time&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 04:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/on-reset-RTC-in-52235/m-p/210655#M8710</guid>
      <dc:creator>Latha</dc:creator>
      <dc:date>2009-08-26T04:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: on reset --- RTC in 52235</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/on-reset-RTC-in-52235/m-p/210656#M8711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Registers will get 0's during reset. why do you shutdown your micro if you want it real-time though?&amp;nbsp;If you want to maintain value&amp;nbsp;when its&amp;nbsp;OFF, you should flash it in EEPROM.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 12:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/on-reset-RTC-in-52235/m-p/210656#M8711</guid>
      <dc:creator>Xbot</dc:creator>
      <dc:date>2009-10-02T12:14:53Z</dc:date>
    </item>
  </channel>
</rss>

