<?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>Combining BLE and SAADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61536/combining-ble-and-saadc</link><description>Hi everyone, 
 I have written a code that sends data over BLE notifications (IMU data). It works great so far and now I want to read the analog values from eight force sensors and send them also as well. 
 Using the SAADC,PPI AND TIMER drivers I wrote</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 May 2020 06:00:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61536/combining-ble-and-saadc" /><item><title>RE: Combining BLE and SAADC</title><link>https://devzone.nordicsemi.com/thread/251161?ContentTypeID=1</link><pubDate>Fri, 22 May 2020 06:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f09effb-c5d8-410c-b4b9-c8acdadfcd6d</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Hi Jared and thank you for your help,&lt;/p&gt;
&lt;p&gt;I re-wrote my code using a different approach and it works fine. Basically I created a second RTC timer for SAADC operation.&amp;nbsp;So, now I have two timers, one for the SAADC and one to update the payload and send a notification. This is the flowchart of how my code works&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Events_5F00_Timers_5F00_Notifications.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining BLE and SAADC</title><link>https://devzone.nordicsemi.com/thread/251053?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 15:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3def848-3d91-442d-9909-bd79bb524d0a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Which SDK are you using? Could share code where you initialize the SAADC?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The first step would be to check what&amp;nbsp;nrf_drv_saadc_sample() returns in the loop. Is the SAADC operation queued successfully?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>