<?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>topic RTC Temperature compenstation on K22FN512 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Temperature-compenstation-on-K22FN512/m-p/1561317#M64370</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Am using K22FN512 device and the internal RTC deviates a lot with time. So wanted to implement a temperature compensation to reduce the RTC deviation.&lt;/P&gt;&lt;P&gt;I already tried implementing using the AN4949 and AN3031 documents but facing issues in reading the internal ADC for temperature.&lt;/P&gt;&lt;P&gt;So there are 2 aspects&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Read the internal ADC and calulate temperature&lt;/P&gt;&lt;P&gt;2. Compensate the RTC as per temperature read.&lt;/P&gt;&lt;P&gt;Can you please provide any sample codes which implement the above two points?&lt;/P&gt;&lt;P&gt;As I have already gone through the application notes and tried implementing as per application note without sucess, any sample code will be very helpfull.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 12:01:43 GMT</pubDate>
    <dc:creator>anujtanksali</dc:creator>
    <dc:date>2022-11-29T12:01:43Z</dc:date>
    <item>
      <title>RTC Temperature compenstation on K22FN512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Temperature-compenstation-on-K22FN512/m-p/1561317#M64370</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Am using K22FN512 device and the internal RTC deviates a lot with time. So wanted to implement a temperature compensation to reduce the RTC deviation.&lt;/P&gt;&lt;P&gt;I already tried implementing using the AN4949 and AN3031 documents but facing issues in reading the internal ADC for temperature.&lt;/P&gt;&lt;P&gt;So there are 2 aspects&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Read the internal ADC and calulate temperature&lt;/P&gt;&lt;P&gt;2. Compensate the RTC as per temperature read.&lt;/P&gt;&lt;P&gt;Can you please provide any sample codes which implement the above two points?&lt;/P&gt;&lt;P&gt;As I have already gone through the application notes and tried implementing as per application note without sucess, any sample code will be very helpfull.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 12:01:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Temperature-compenstation-on-K22FN512/m-p/1561317#M64370</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2022-11-29T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Temperature compenstation on K22FN512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Temperature-compenstation-on-K22FN512/m-p/1566554#M64406</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/161420"&gt;@anujtanksali&lt;/a&gt; , You will find some examples that&amp;nbsp; on SDK that can read the ADC&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CarlosGarabito_0-1670475348475.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203565iA1780B387ED8701C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CarlosGarabito_0-1670475348475.png" alt="CarlosGarabito_0-1670475348475.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you can find the examples too for RTC witch can help you with your implementation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CarlosGarabito_1-1670475348475.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203566i8A2A6D2E28955145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CarlosGarabito_1-1670475348475.png" alt="CarlosGarabito_1-1670475348475.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it's a good idea to check this blog, this blog can teach you a lot of things &lt;A href="https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/" target="_blank"&gt;https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/&lt;/A&gt; read through each of the topics and immerse yourself in knowledge&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this will help you&lt;/P&gt;
&lt;P&gt;Have a good day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 04:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTC-Temperature-compenstation-on-K22FN512/m-p/1566554#M64406</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-12-08T04:59:03Z</dc:date>
    </item>
  </channel>
</rss>

