<?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>Receiving Garbage Over BLE UART When Using &amp;quot;SAADC UART Timer Driven Scan Mode&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35404/receiving-garbage-over-ble-uart-when-using-saadc-uart-timer-driven-scan-mode</link><description>I am working with the BL652 Module from Laird, and with Keil 5, using a ST Link SWD programmer clone. 
 I am using the ble_app_uart_timer_driven_scan_mode from the ADC examples on github: https://github.com/NordicPlayground/nRF52-ADC-examples 
 I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jun 2018 23:23:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35404/receiving-garbage-over-ble-uart-when-using-saadc-uart-timer-driven-scan-mode" /><item><title>RE: Receiving Garbage Over BLE UART When Using "SAADC UART Timer Driven Scan Mode"</title><link>https://devzone.nordicsemi.com/thread/137284?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 23:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05207285-d57d-4d29-ab0f-402e9c1b5040</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;This did it. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving Garbage Over BLE UART When Using "SAADC UART Timer Driven Scan Mode"</title><link>https://devzone.nordicsemi.com/thread/136764?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 13:08:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916db063-b79c-424f-8012-20c79d35fb4f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Liam,&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;I have been informed that you will test this on the nRF52DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;Please let me know your results.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please check &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30253/ble_app_uart__saadc_timer_driven__scan-problem-with-the-ble-component/119941#119941" target="_blank" rel="noopener noreferrer"&gt;this thread for the solution&lt;/a&gt; of your issue.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;quot;The ADC values are not converted to a string before sent over NUS. If you want to display the values as a string, you have to convert it to a string before sending it. You can use&amp;nbsp;&lt;a href="https://www.tutorialspoint.com/c_standard_library/c_function_sprintf.htm"&gt;sprintf()&lt;/a&gt;&amp;nbsp;function or similar for this.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving Garbage Over BLE UART When Using "SAADC UART Timer Driven Scan Mode"</title><link>https://devzone.nordicsemi.com/thread/136604?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 15:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae2c167d-d9dc-42dd-a88e-05b56211fc42</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;Martin, thank you for the reply, and sorry for the delay.&lt;/p&gt;
&lt;p&gt;I get the same result when I use the nRF Toolbox app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;em&gt;ble_app_uart_timer_driven_scan_mode&amp;quot;&amp;nbsp; &lt;/em&gt;example is unmodified EXCEPT for that I changed the four pins read in default to four different analog pins. (0-3)&lt;/p&gt;
&lt;p&gt;I can connect to the device normally when the &amp;quot;ble_app_uart&amp;quot; example is loaded, but I am not sure how monitor the com port -- no port is created by the ST Link programmer, that I can tell.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving Garbage Over BLE UART When Using "SAADC UART Timer Driven Scan Mode"</title><link>https://devzone.nordicsemi.com/thread/136091?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 08:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:007c88f5-5e9c-4c61-87bb-540b2302c239</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Liam,&lt;/p&gt;
&lt;p&gt;First off, I would like you to use the &amp;quot;uart&amp;quot; app inside the &lt;a href="https://www.nordicsemi.com/eng/Products/Nordic-mobile-Apps/nRF-Toolbox-App" target="_blank" rel="noopener noreferrer"&gt;nRF Toolbox app&lt;/a&gt;. This is the updated version of &amp;quot;nRF Uart v2.0&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;From the first look it seems like the baudrate can be off.&lt;/p&gt;
&lt;p&gt;Are you running the unmodified &amp;quot;&lt;em&gt;ble_app_uart_timer_driven_scan_mode&amp;quot;&amp;nbsp; example?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Have you &lt;a href="https://devzone.nordicsemi.com/tutorials/b/tutorials/posts/testing-and-using-a-simple-ble-application"&gt;tested&amp;nbsp;&lt;/a&gt;the standard &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_nus_c.html&amp;amp;resultof=%22ble_app_uart%22%20" target="_blank" rel="noopener noreferrer"&gt;&amp;quot;ble_app_uart&amp;quot;&lt;/a&gt; example as well?&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>