<?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>SAADC event disables NRF52 DK from advertising.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34456/saadc-event-disables-nrf52-dk-from-advertising</link><description>I&amp;#39;m trying to setup a basic program for my NRF52DK to send SAADC values on pin0 of the board over Bluetooth to the nordic android app by updating characteristic values. I&amp;#39;m using SDK15 and added all of the drivers and enabled all of the sdk_config for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 May 2018 09:16:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34456/saadc-event-disables-nrf52-dk-from-advertising" /><item><title>RE: SAADC event disables NRF52 DK from advertising.</title><link>https://devzone.nordicsemi.com/thread/133603?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 09:16:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a93998d-aee9-442e-9720-e87fc4529c7c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Glad to hear that it worked out!&lt;/p&gt;
&lt;p&gt;It is a bit unfortunate that all the peripheral examples in the SDK that uses a timer uses TIMER0. This means that you have to change that when merging this with a ble_example.&lt;/p&gt;
&lt;p&gt;Not that difficult to do,&amp;nbsp;but one has to be aware of it &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC event disables NRF52 DK from advertising.</title><link>https://devzone.nordicsemi.com/thread/133544?ContentTypeID=1</link><pubDate>Sun, 27 May 2018 11:26:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:784c1a30-9093-4ba8-811a-2c96f1be99df</guid><dc:creator>christianphan</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;Thanks that did the trick. I just changed the timer instance like you mentioned and enable timer1. Still trying to learn more about timers on the NRF52 DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC event disables NRF52 DK from advertising.</title><link>https://devzone.nordicsemi.com/thread/132913?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 08:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79a0af46-b55c-43db-8e01-9d8b3058b64a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It seems that you have partly figured out the issue. Do you know which of the function calls that returns the err_code != NRF_SUCCESS that is passed into the APP_ERROR_CHECK(err_code) inside saadc_sampling_event_init(); ?&lt;/p&gt;
&lt;p&gt;Check in the header file where that function is defined what the different return values mean.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suspect without having had the opportunity to test your main.c (I would have to create a project and include all the correct files), that the issue is related to timers. I see that you initialize m_timer with TIMER0. This is also used by the SoftDevice. Try changing the initialization of m_timer to&amp;nbsp;NRF_DRV_TIMER_INSTANCE(1); You also have to enable TIMER1 in sdk_config.h.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC event disables NRF52 DK from advertising.</title><link>https://devzone.nordicsemi.com/thread/132345?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 18:36:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d841fa46-050b-4a41-8fb7-a884fa6de4b9</guid><dc:creator>christianphan</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2543.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../2543.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;my config file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>