<?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>LPC MicrocontrollersのトピックRTC initialization issue in LPC1768</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-initialization-issue-in-LPC1768/m-p/2094918#M58176</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For RTC initialization in LPC1768 I am using below code, after time is set initially , it is working fine, but after power reset it is giving garbage value, that to everytime same garbage value . Tried modifying the init block code in many ways , still error persists, any suggestion, how to resolve the issue?&lt;/P&gt;&lt;P&gt;void RTC_Init(void)&lt;BR /&gt;{&lt;BR /&gt;LPC_SC-&amp;gt;PCONP |=(1&amp;lt;&amp;lt;9); // Enable the power to RTC module&lt;BR /&gt;/* Disable RTC clock, reset clock, Enable RTC calibration */&lt;BR /&gt;LPC_RTC-&amp;gt;CCR = ((1&amp;lt;&amp;lt;SBIT_CTCRST) | (1&amp;lt;&amp;lt;SBIT_CCALEN));&lt;BR /&gt;LPC_RTC-&amp;gt;CALIBRATION = 0x00;&lt;BR /&gt;LPC_RTC-&amp;gt;CCR = (1&amp;lt;&amp;lt;SBIT_CLKEN); /* Enable the clock for RTC */&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Sun, 11 May 2025 12:05:26 GMT</pubDate>
    <dc:creator>Suchismita</dc:creator>
    <dc:date>2025-05-11T12:05:26Z</dc:date>
    <item>
      <title>RTC initialization issue in LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-initialization-issue-in-LPC1768/m-p/2094918#M58176</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For RTC initialization in LPC1768 I am using below code, after time is set initially , it is working fine, but after power reset it is giving garbage value, that to everytime same garbage value . Tried modifying the init block code in many ways , still error persists, any suggestion, how to resolve the issue?&lt;/P&gt;&lt;P&gt;void RTC_Init(void)&lt;BR /&gt;{&lt;BR /&gt;LPC_SC-&amp;gt;PCONP |=(1&amp;lt;&amp;lt;9); // Enable the power to RTC module&lt;BR /&gt;/* Disable RTC clock, reset clock, Enable RTC calibration */&lt;BR /&gt;LPC_RTC-&amp;gt;CCR = ((1&amp;lt;&amp;lt;SBIT_CTCRST) | (1&amp;lt;&amp;lt;SBIT_CCALEN));&lt;BR /&gt;LPC_RTC-&amp;gt;CALIBRATION = 0x00;&lt;BR /&gt;LPC_RTC-&amp;gt;CCR = (1&amp;lt;&amp;lt;SBIT_CLKEN); /* Enable the clock for RTC */&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2025 12:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-initialization-issue-in-LPC1768/m-p/2094918#M58176</guid>
      <dc:creator>Suchismita</dc:creator>
      <dc:date>2025-05-11T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: RTC initialization issue in LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-initialization-issue-in-LPC1768/m-p/2095435#M58182</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250312"&gt;@Suchismita&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to the RTC demo under LPCopen, which contains detailed examples and configurations that can guide you through the implementation process.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1747045722610.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337192i3D66909841B5725B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1747045722610.png" alt="Alice_Yang_1-1747045722610.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The initialization code is as follows：&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1747045631829.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337191iCC05D3BD9610B39F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1747045631829.png" alt="Alice_Yang_0-1747045631829.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 10:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-initialization-issue-in-LPC1768/m-p/2095435#M58182</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-05-12T10:40:04Z</dc:date>
    </item>
  </channel>
</rss>

