<?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>Is it possible to SAADC sample then update Characteristic for notification 50 times per second?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31309/is-it-possible-to-saadc-sample-then-update-characteristic-for-notification-50-times-per-second</link><description>Hi, 
 I&amp;#39;m using a nRF52832, SD132, SDK14.2 on a custom board. 
 I want to use BLE for precision, my use case require me to perform at least 50 reading from the SAADC per second. In a perfect world, I would like to be able to update in real time my user</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Mar 2018 18:38:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31309/is-it-possible-to-saadc-sample-then-update-characteristic-for-notification-50-times-per-second" /><item><title>RE: Is it possible to SAADC sample then update Characteristic for notification 50 times per second?</title><link>https://devzone.nordicsemi.com/thread/123752?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 18:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:318b0421-e2e0-4bcf-b7c4-6eefc0d4b71c</guid><dc:creator>StephaneJ</dc:creator><description>&lt;p&gt;The answer is YES.&lt;/p&gt;
&lt;p&gt;For the slow speed issue, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31272/notification-speed-nrfconnect-vs-web-bluetooth/123748#123748"&gt;my answer is here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For the SAADC sample while BLE notify, I took a look at the example ble_app_proximity. The issue for me was that I was using it in &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/hardware_driver_saadc.html?cp=4_0_0_2_11_1_0#saadc_blocking"&gt;blocking mode&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now I use it with &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/hardware_driver_saadc.html?cp=4_0_0_2_11_1_1#saadc_nonblocking"&gt;double buffering&lt;/a&gt; and with timer ! I can now reach my 50Hz goal :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>