<?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 , BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85404/saadc-ble</link><description>Hi, 
 I use this code for sampling analog input with 3.3 kHz and send it over BLE to PC , i use dongle to to read the sampled datas on nrfconnect tool for desktop. I tried to collect data in string (nus_string) before sending it via BLE . The SAADC block</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2022 18:02:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85404/saadc-ble" /><item><title>RE: SAADC , BLE</title><link>https://devzone.nordicsemi.com/thread/356979?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 18:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47215946-ec11-4d63-abdd-269e0fe0199f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Normally, the USB would cause more noise than external supply. Is the voltage of your external supply stable? Are you using any switching regulators in the supply system?&lt;/p&gt;
&lt;p&gt;You can average out the noise by enabling &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html#saadc_operationmodes_oversample"&gt;oversampling&lt;/a&gt; in the SAADC peripheral, but this will increase the sample time for each result proportionally. Enabling BURST mode will allow you to do the oversampling as fast as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC , BLE</title><link>https://devzone.nordicsemi.com/thread/356431?ContentTypeID=1</link><pubDate>Sat, 05 Mar 2022 16:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5c6aece-0cbf-496a-bbb7-7b5524e4f37c</guid><dc:creator>gozde</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I solved this problem , but my new problem is now, the external power supply create noise on my signal. When i supply nrf with usb , the results are suitable but when i supply the nrf with 3.3V through external power supply pins, the analog signal which i want to convert to digital has noise on it.&lt;/p&gt;
&lt;p&gt;What is the reason of that? How can i solve it?&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC , BLE</title><link>https://devzone.nordicsemi.com/thread/356152?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 20:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adae92b8-bf30-49f4-81a4-cf25a2d7d9dd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For sending large number of samples, it is better to send the actual raw samples as 16-bit integers, as converting it to/from string will be time-consuming and generate more data over the air.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In an &lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples/blob/13.0.0/ble_app_uart__saadc_timer_driven__scan_mode/main.c#L773-L782"&gt;older version of the GitHub example&lt;/a&gt;, we actually sent the raw SAADC data over NUS, but too many people got confused when trying to read the received data on phone applications like nRF Toolbox UART. You can use this method, but you need to read the received values as int16_t on the receiver end, and not as string. To be able to achieve 3.3kHz sample interval over BLE, you need to configure quite low connection interval and/or increase the BLE packet length to send more samples in each transfer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>