<?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>How to send SAADC values to bluetooth device ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49736/how-to-send-saadc-values-to-bluetooth-device</link><description>I am trying to share ADC output to Bluetooth device. But issue is as I am getting SAADC output via SPI protocol. 
 Now i have added SAADC+SPI in BLE app uart example, So when i call SPI function in main program Bluetooth stops advertising again when i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jul 2019 09:49:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49736/how-to-send-saadc-values-to-bluetooth-device" /><item><title>RE: How to send SAADC values to bluetooth device ?</title><link>https://devzone.nordicsemi.com/thread/198388?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 09:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d254ae8b-56a3-4623-a060-ec5ad217c9f2</guid><dc:creator>Pooja Vernekar</dc:creator><description>&lt;p&gt;I am working with amplifier which supports SPI protocol and that amplifier output I am using as input to ADC pin of nrf52832.&lt;/p&gt;
&lt;p&gt;So I am getting ADC output via SPI protocol and can see output on Teraterm.&lt;/p&gt;
&lt;p&gt;Now the issue is I want ADC values on Bluetooth device. but when I call SPI function BLE stops advertising and when SAADC function is called BLE gets advertised but no output, I wont get ADC values on Bluetooth device. So how should I resolve this issue.???? Where I want SPI and SAADC function to be called simultaneously in main program and I can get output on Bluetooth device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send SAADC values to bluetooth device ?</title><link>https://devzone.nordicsemi.com/thread/198387?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 09:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17008c19-041d-4ce1-94f0-08d34bf6700b</guid><dc:creator>Duy</dc:creator><description>&lt;p&gt;Do you use interrupts in SAADC and SPI?&lt;/p&gt;
&lt;p&gt;If so, please check their priorities. Also, please attach the debug log when you enable the SPI function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send SAADC values to bluetooth device ?</title><link>https://devzone.nordicsemi.com/thread/198380?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 09:35:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2a5afc6-d456-4460-a5ca-2e17a7cf9afc</guid><dc:creator>awneil</dc:creator><description>[quote userid="80924" url="~/f/nordic-q-a/49736/how-to-send-saadc-values-to-bluetooth-device"]I am getting SAADC output via SPI protocol[/quote]
&lt;p&gt;What do you mean by that?&lt;/p&gt;
[quote userid="80924" url="~/f/nordic-q-a/49736/how-to-send-saadc-values-to-bluetooth-device"]when i call SPI function in main program&amp;nbsp; Bluetooth stops advertising[/quote]
&lt;p&gt;Is it just the BLE Advertising that stops? Do other things keep running? Or does the whole system crash?&lt;/p&gt;
[quote userid="80924" url="~/f/nordic-q-a/49736/how-to-send-saadc-values-to-bluetooth-device"]please look after the code i have attached[/quote]
&lt;p&gt;But what debugging have &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt; &lt;/em&gt;done to find out what&amp;#39;s going on?&lt;/p&gt;
&lt;p&gt;Debugging is a key skill and an essential part of any sort of development - you can&amp;#39;t just expect others to do your debugging for you!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.avrfreaks.net/comment/2418156#comment-2418156" rel="noopener noreferrer" target="_blank"&gt;How To Debug&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send SAADC values to bluetooth device ?</title><link>https://devzone.nordicsemi.com/thread/198306?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 06:21:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b07b6a38-4ce6-4e45-bfac-98c5b73af6bf</guid><dc:creator>Pooja Vernekar</dc:creator><description>&lt;p&gt;Please suggest how to send ADC data to ble device via SPI protocol&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>