<?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 PCF85263A runs fast in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1276743#M11079</link>
    <description>&lt;P&gt;In one of our products, we have used PCF85263A RTC IC. With the default kernel driver and hardware design, it is observed that in 11 hours, RTC time was ahead by 20 seconds! So, we tried to adjust the time by writing into the offset register. But after trying 6 values, we are not able to have the RTC time correct with the current time.&lt;/P&gt;&lt;P&gt;In the kernel driver, I have set the fast mode for offset (OFFM=1) and tried these values: 4, -4, -9, -15, -21 and, -18. When I checked for load capacitance of oscillator, I found that in hardware design, no capacitor is connected. The oscillator datasheet shows that the Load Capacitance is 6pF.&lt;/P&gt;&lt;P&gt;Kindly guide me for the correct values to write into offset register (0x24) and Oscillator register (0x25).&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 04:39:15 GMT</pubDate>
    <dc:creator>chauhan_pandura</dc:creator>
    <dc:date>2021-05-14T04:39:15Z</dc:date>
    <item>
      <title>PCF85263A runs fast</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1276743#M11079</link>
      <description>&lt;P&gt;In one of our products, we have used PCF85263A RTC IC. With the default kernel driver and hardware design, it is observed that in 11 hours, RTC time was ahead by 20 seconds! So, we tried to adjust the time by writing into the offset register. But after trying 6 values, we are not able to have the RTC time correct with the current time.&lt;/P&gt;&lt;P&gt;In the kernel driver, I have set the fast mode for offset (OFFM=1) and tried these values: 4, -4, -9, -15, -21 and, -18. When I checked for load capacitance of oscillator, I found that in hardware design, no capacitor is connected. The oscillator datasheet shows that the Load Capacitance is 6pF.&lt;/P&gt;&lt;P&gt;Kindly guide me for the correct values to write into offset register (0x24) and Oscillator register (0x25).&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 04:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1276743#M11079</guid>
      <dc:creator>chauhan_pandura</dc:creator>
      <dc:date>2021-05-14T04:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: PCF85263A runs fast</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1276818#M11081</link>
      <description>&lt;P&gt;Dear Pandurang Chauhan,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;The oscillator datasheet shows that the Load Capacitance is 6pF.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[A] Please set the Load Capacitance CL[1:0] bits in the&amp;nbsp;oscillator control register (address 25h) to 01, to 6pF. By default 7pF load capacitance is set.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_0-1620974940450.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144726i37DAD6D70F0142EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_0-1620974940450.png" alt="JozefKozon_0-1620974940450.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Kindly guide me for the correct values to write into offset register (0x24) and Oscillator register (0x25).&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[A] Please make sure you have the COF[2:0] bits in Function register address 28h to the default value. The output frequency on the CLK pin will be set to 32768 Hz.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_1-1620975320678.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144727i30380BC7EFD27B67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_1-1620975320678.png" alt="JozefKozon_1-1620975320678.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_2-1620975370834.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144728i611CDBAE91CF4064/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_2-1620975370834.png" alt="JozefKozon_2-1620975370834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After that please follow the&amp;nbsp;Offset calibration workflow, section 7.8.3 pages 32 and 33 in the datasheet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure the frequency on the CLK pin, convert to time, calculate the difference, calculate the ppm deviation and calculate the offset register value.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_4-1620975679441.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144730iCAFA15090752D6CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_4-1620975679441.png" alt="JozefKozon_4-1620975679441.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 07:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1276818#M11081</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2021-05-14T07:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: PCF85263A runs fast</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1277005#M11084</link>
      <description>&lt;P&gt;Hello Jozef,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;1. Load capacitance:&lt;/P&gt;&lt;P&gt;Yes. the kernel driver is not updating this and the default value is for 7pF. Ok. will update this for 6pF. Actually, I was confused because there is no external capacitor with an Oscillator in the design.&lt;/P&gt;&lt;P&gt;2. Offset calculation.&lt;/P&gt;&lt;P&gt;One pulse time observed is 30.60 uS. So, the calculation should be as below:&lt;/P&gt;&lt;P&gt;Dmeas = ((1/32768)*1000000 - 30.60 uS =&amp;nbsp;−0.082421875 uS&lt;/P&gt;&lt;P&gt;Eppm = 10^6 *&amp;nbsp;−0.082421875/30.60 =&amp;nbsp;−2693.525326797.&lt;/P&gt;&lt;P&gt;Now, as we know this value is out of range for Offset register, so we cannot use this value, right?&lt;/P&gt;&lt;P&gt;The datasheet of the oscillator indicates that the ppm value is +/-20ppm.&lt;/P&gt;&lt;P&gt;According to this, the calculation results in&amp;nbsp;9.830425166.&lt;/P&gt;&lt;P&gt;the offset register should have&amp;nbsp;9 or 10 value in fast mode (OFFM = 1). Kindly confirm.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pandurang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 12:32:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1277005#M11084</guid>
      <dc:creator>chauhan_pandura</dc:creator>
      <dc:date>2021-05-14T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: PCF85263A runs fast</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1277371#M11089</link>
      <description>&lt;P&gt;Hi Jozef,&lt;/P&gt;&lt;P&gt;1. Can we know the relation of Load capacitance with RTC running behavior? I mean if the value of load capacitance is not matching with what should be required, what will be the effect on RTC run? If the load capacitance has higher value than required, will RTC run faster or slower?&lt;/P&gt;&lt;P&gt;2. For the Offset register, if the RTC runs faster, we should write a positive value, correct? Because&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;A positive value written to the Offset Register will cause the RTC device to run slower and a negative value written to the Offset Register will cause the RTC device to run faster.&lt;/SPAN&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly confirm.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Pandurang&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 10:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1277371#M11089</guid>
      <dc:creator>chauhan_pandura</dc:creator>
      <dc:date>2021-05-17T10:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: PCF85263A runs fast</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1280909#M11131</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Pandurang,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Can we know the relation of Load capacitance with RTC running behavior? I mean if the value of load capacitance is not matching with what should be required, what will be the effect on RTC run? If the load capacitance has higher value than required, will RTC run faster or slower?&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;[A] If the load capacitance value is higher, than required the RTC should run slower, because it takes longer time to charge and discharge the capacitor, resulting in lower oscillator frequency. But in your case the crystal requires 6pF and you had the load capacitance set to default 7pF, which should result in negative deviation, but your deviation is positive. Could you please provide the crystal datasheet?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;2. For the Offset register, if the RTC runs faster, we should write a positive value, correct?&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;[A] Yes, that is correct.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;3. Offset calculation.&lt;/P&gt;
&lt;P&gt;One pulse time observed is 30.60 uS. So, the calculation should be as below:&lt;/P&gt;
&lt;P&gt;Dmeas = ((1/32768)*1000000 - 30.60 uS =&amp;nbsp;−0.082421875 uS&lt;/P&gt;
&lt;P&gt;Eppm = 10^6 *&amp;nbsp;−0.082421875/30.60 =&amp;nbsp;−2693.525326797.&lt;/P&gt;
&lt;P&gt;Now, as we know this value is out of range for Offset register, so we cannot use this value, right?&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;[A] I have checked your calculation and they are correct. The deviation is too large and cannot be corrected with the Offset register. Have you set the load capacitance to the 6pF as required per crystal? How did you measure the CLKOUT frequency?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The datasheet of the oscillator indicates that the ppm value is +/-20ppm.&lt;/P&gt;
&lt;P&gt;According to this, the calculation results in&amp;nbsp;9.830425166.&lt;/P&gt;
&lt;P&gt;the offset register should have&amp;nbsp;9 or 10 value in fast mode (OFFM = 1). Kindly confirm.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;[A] You can test it, but I don't think it will correct the large deviation. A crystal with +/- 100ppm or better is recommended. Yours crystal has +/-20ppm, which is excellent. So there shouldn't be such large deviation. Could you please test another crystal? Another piece in case this one is faulty or from an other manufacturer.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;With Best Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Jozef&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 07:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCF85263A-runs-fast/m-p/1280909#M11131</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2021-05-24T07:01:39Z</dc:date>
    </item>
  </channel>
</rss>

