<?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>nRF52 RTC issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16934/nrf52-rtc-issue</link><description>I&amp;#39;m using the nRF52-DK (SDK11.0.0+s132) and added in some example code from the RTC example (the RTC2 tick interrupt with prescaler=0 to toggle a GPIO) to the ble_hrs example. It mostly interrupts every with a 32.768kHz tick (GPIO mostly pin has 61us</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 08 Oct 2016 17:07:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16934/nrf52-rtc-issue" /><item><title>RE: nRF52 RTC issue</title><link>https://devzone.nordicsemi.com/thread/64908?ContentTypeID=1</link><pubDate>Sat, 08 Oct 2016 17:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca9c9af-e5cf-4948-a805-e1789685eb7d</guid><dc:creator>Tosa</dc:creator><description>&lt;p&gt;thanks RK! (converted comment to answer below)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 RTC issue</title><link>https://devzone.nordicsemi.com/thread/64909?ContentTypeID=1</link><pubDate>Sat, 08 Oct 2016 04:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a524f33f-6b18-4bd9-a573-f507a2ecafed</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Are you using an interrupt handler for this and do you have the softdevice running and advertising? If so it&amp;#39;s just not going to work, there are many threads every week about this, the softdevice has a higher interrupt priority than your timer so it will interrupt it and delay your handler.&lt;/p&gt;
&lt;p&gt;You need to use PPI or the PWM module to generate accurate timing with the softdevice running, you cannot do it with interrupt handlers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>