<?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>Stuck on discovering services after using Timers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15753/stuck-on-discovering-services-after-using-timers</link><description>I&amp;#39;ve got the experimental ble blinky example project on an NRF52 PCA10040 working fine with an added custom characteristic. I can connect, discover and read/write characteristics without any problems. 
 However once I&amp;#39;ve added in my LCD code nRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Aug 2016 13:25:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15753/stuck-on-discovering-services-after-using-timers" /><item><title>RE: Stuck on discovering services after using Timers</title><link>https://devzone.nordicsemi.com/thread/60129?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 13:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cdd0180-bde9-4820-9480-4a35468ac153</guid><dc:creator>samkent</dc:creator><description>&lt;p&gt;Fixed it by changing the timer frequencies in my config file.&lt;/p&gt;
&lt;p&gt;Lowering the frequency to 125kHz is accurate for my needs and BLE works fine.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define TIMER1_CONFIG_FREQUENCY    NRF_TIMER_FREQ_125kHz
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck on discovering services after using Timers</title><link>https://devzone.nordicsemi.com/thread/60128?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 10:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a49df9a9-8dc2-4322-a35e-325e4ac535d2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Samkent,&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t need to enable Timer 0 in the driver configuration.&lt;/p&gt;
&lt;p&gt;Have you made sure the assertion handler was not called ?
Did your device advertise back when it&amp;#39;s disconnected ?&lt;/p&gt;
&lt;p&gt;Have you checked the disconnect reason when your receive BLE_GAP_EVT_DISCONNECTED event ?&lt;/p&gt;
&lt;p&gt;Could you capture &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;a sniffer trace&lt;/a&gt; so that we can investigate what happened over the air ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck on discovering services after using Timers</title><link>https://devzone.nordicsemi.com/thread/60127?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 10:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44737da1-705c-4d33-bfb6-0f8a45d93c86</guid><dc:creator>samkent</dc:creator><description>&lt;p&gt;If I comment out nrf_drv_timer_enable() bluetooth works fine
Are the timers blocking the softdevice in some way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>