<?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>BLE communication causes RTC1 to stop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10805/ble-communication-causes-rtc1-to-stop</link><description>Hello everybody, 
 I am using RTC1 for time measurement, this works fine as long as no BLE communication is running. 
 The RTC is initialized with 
 const nrf_drv_rtc_t rtc = NRF_DRV_RTC_INSTANCE(1); // Declaring an instance of nrf_drv_rtc for RTC1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Dec 2015 06:39:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10805/ble-communication-causes-rtc1-to-stop" /><item><title>RE: BLE communication causes RTC1 to stop</title><link>https://devzone.nordicsemi.com/thread/40392?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2015 06:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96f3fbea-685d-467a-822f-a9e7edd757a7</guid><dc:creator>Matthias P.</dc:creator><description>&lt;p&gt;That helped and was actually the problem. I was mixing nrf_drv_rtc and app_timer, which is wrong in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE communication causes RTC1 to stop</title><link>https://devzone.nordicsemi.com/thread/40391?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 15:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:782cda5c-c1b3-4cc1-9623-f6699262a2b8</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Question is how did you get nrf_drv_rtc and app_timer to work in the same project, they are conflicting. Some modules like ble_conn_params uses app_timer to update the connection variables some time after the a bluetooth connection is established. Some app_timer call may stop the rtc from running. You should either just use nrf_drv_rtc or just use app_timer. I will suggest to use app_timer, as this is used heavily in the BLE examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>