<?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>Timing behaviour with and without debugger connected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56619/timing-behaviour-with-and-without-debugger-connected</link><description>We have a problem that we are struggling to solve. We have written an application for the Nordic Semiconductor nRF52832 which uses a proprietory radio protocol. This protocol is based on the concept of a time frame, during which a message is passed from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jan 2020 10:00:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56619/timing-behaviour-with-and-without-debugger-connected" /><item><title>RE: Timing behaviour with and without debugger connected.</title><link>https://devzone.nordicsemi.com/thread/229564?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 10:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44675d6f-adf1-4d26-b8b9-b436738639c3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Dave,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you give more detail of the change in the timing ? If you can capture a logic analyzer trace showing how much off the timing it would be nice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only reason why enabling the debugger can cause the change in the timing I can think of is that the debugger when active will keep the CPU and the HFCLK running.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What do you use to keep the timing ? with the TIMER or with the RTC ? Please make sure that you initialized the clock source properly.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you put the CPU to sleep between the communication event ?&lt;/p&gt;
&lt;p&gt;You can test by disable the radio activity and only keep a timer running and check if the timer timeout drift off when you disable the debugger.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>