<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RTC Appears to Be Way Out of Expected Timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117561/rtc-appears-to-be-way-out-of-expected-timing</link><description>One last issue to crack. This one has been in production for a while and hasn&amp;#39;t caused any issues other than a little annoyance to the customer. By my measurement when RTC is used to count down from 4.00 at 2:55 it will be at 1:55 approx. So basically</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Dec 2024 22:33:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117561/rtc-appears-to-be-way-out-of-expected-timing" /><item><title>RE: RTC Appears to Be Way Out of Expected Timing</title><link>https://devzone.nordicsemi.com/thread/516235?ContentTypeID=1</link><pubDate>Tue, 24 Dec 2024 22:33:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:057a2bd9-2046-42e4-a9f3-7dd149bf115a</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;I have it!&lt;br /&gt;&lt;br /&gt;After some better timing I discovered it was double. &lt;br /&gt;&lt;br /&gt;What&amp;#39;s happening is I clear the event at the start of the interrupt, but because the counter is still the same as the compare it immediately refires. Then it dives into the tasks which change the compare value, however the event has already set and it enters the interrupt one more time. Now the compare is different so the clear works.&lt;br /&gt;&lt;br /&gt;It&amp;#39;s probably related to this errata, though I&amp;#39;m not using PPI. It can also be put down to the sync of different clock domains of course, something I shall have to watch out for in the future.&lt;br /&gt;&lt;br /&gt;// errata 179 - &lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF52810_Rev3/page/ERR/nRF52810/Rev3/latest/anomaly_810_179.html"&gt;docs.nordicsemi.com/.../anomaly_810_179.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>