<?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>Send BLE data from saadc_callback</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31258/send-ble-data-from-saadc_callback</link><description>Hi, 
 
 There is something I don&amp;#39;t understand and I request your help to answer my interrogation. What I want to do is a SAADC conversion then send the result of this conversion over BLE. 
 So basically my first working version looks something like (simplified</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jul 2018 09:33:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31258/send-ble-data-from-saadc_callback" /><item><title>RE: Send BLE data from saadc_callback</title><link>https://devzone.nordicsemi.com/thread/139855?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b723a3a5-8c67-4e4d-9af3-16ebaa0fd6a7</guid><dc:creator>liu_zhixiang</dc:creator><description>&lt;p&gt;I have set&amp;nbsp; the SAADC interrupt priority to &amp;#39;7&amp;#39;.Can you help me see this link:&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36246/saadc-sample-cant-use-with-sd_power_system_off"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/36246/saadc-sample-cant-use-with-sd_power_system_off&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send BLE data from saadc_callback</title><link>https://devzone.nordicsemi.com/thread/139850?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81bcd42-73ad-4df0-8c73-cd5010f32574</guid><dc:creator>StephaneJ</dc:creator><description>&lt;p&gt;Yes thanks to the answer from Vidar Berg. It was a priority issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send BLE data from saadc_callback</title><link>https://devzone.nordicsemi.com/thread/139841?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da72e152-3c02-4f3e-a22b-90fc21a273bc</guid><dc:creator>liu_zhixiang</dc:creator><description>&lt;p&gt;Hi ,&lt;a href="https://devzone.nordicsemi.com/members/stephanej"&gt;StephaneJ &lt;/a&gt;Do you solve this question.I meet the same one with you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send BLE data from saadc_callback</title><link>https://devzone.nordicsemi.com/thread/123422?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 12:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c22b74d-8a01-494a-b5cb-dd626ac397da</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;sd_ APIs can only be called from main context, or from interrupt context with&amp;nbsp;lower priority than&amp;nbsp;&amp;#39;4&amp;#39;:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/overview/api_overview.html?cp=2_3_1_0_3"&gt;&amp;quot;SoftDevice API functions can only be called from a lower interrupt priority level (higher numerical value for the priority level) than the SVC priority. For more information, see&lt;/a&gt; &lt;a title="This section gives an overview of interrupt levels used by the SoftDevice and the interrupt levels that are available for the application." href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/processor_avail_interrupt_latency/exception_mgmt_sd.html#exception_mgmt_sd"&gt;Interrupt priority levels&lt;/a&gt;.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Could this be the problem? Suggest to set the SAADC interrupt priority to &amp;#39;7&amp;#39;, which is the lowest possible priority, and see if you get the same result.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>