<?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 and S140 - NRF PDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19190/saadc-and-s140---nrf-pdk</link><description>My code hit weak handler when I try to modify the examples/peripheral/saadc to run with softdevice s140 on nrf82840 PDK. All I did was adding a BLE Stack initialization before calling saadc_init , saadc_sampling_event_init and saadc_sampling_event_enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jan 2017 10:03:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19190/saadc-and-s140---nrf-pdk" /><item><title>RE: SAADC and S140 - NRF PDK</title><link>https://devzone.nordicsemi.com/thread/74328?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 10:03:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dc16a19-02fc-4c53-ba84-740d33dc9f62</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Have you changed the timer instance to use another timer than TIMER0?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static const nrf_drv_timer_t m_timer = NRF_DRV_TIMER_INSTANCE(0);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;TIMER0 is used by the SoftDevice and cannot be used by the application, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html?cp=2_3_0_0_6_0"&gt;here&lt;/a&gt; (SoftDevice S132, but also applies to S140). Using TIMER0 may lead to hardfault or SoftDevice assert. You can use any of the other timers (1 through 4).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>