<?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>Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29910/having-issues-with-back-to-back-printfs-across-the-uart</link><description>I am using the &amp;quot;Nordic Uart Service&amp;quot;, example to create a simple serial console which allows a user to change settings such as tx power, advertising intervals so that different combinations of these settings can be characterized. As such a simple text</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Mar 2018 15:14:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29910/having-issues-with-back-to-back-printfs-across-the-uart" /><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/122640?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 15:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b2aa6a-64bc-4c5d-93ed-c1f2b6f70e6d</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;Just needed someone to ask me the right questions, thanks for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/122483?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 14:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6bd91ab-a0d6-42f1-809c-c2e09d1eb5d2</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Great! Good to hear that you figured it out!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/120769?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 22:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc9627bc-72c9-4a20-921b-a7170fa4efc3</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;UART_TX_BUF_SIZE is 512, increasing this does resolve the issue. I am guessing that the printf isn&amp;#39;t a blocking call when buffer fills, joys of not having an OS. &amp;nbsp;Thank you for your patience and help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/120768?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 21:56:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043300ae-e348-41fe-8eeb-308fbf2d6ca5</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;The following is the list of simple commands which I am trying to display. &amp;nbsp;Each is a printf in a loop, printing to the UART. &amp;nbsp;The uart is through the USB, initially I suspected that the HW hand shake may not be working and inserted a delay between each printf to allow the serial driver to catch up. &amp;nbsp;This did not seem to help. &amp;nbsp;Many of the lines are beyond the 20 chars per packet but it doesn&amp;#39;t seem to have a problem until the total number of characters exceed 512 bytes. &amp;nbsp;The problem does not occur in subsequent prints, unless they also exceed 512 bytes. &amp;nbsp;This is just a simple test application.&lt;/p&gt;
&lt;p&gt;disconnect() disconnect peer&lt;br /&gt; connect() re-connect to peer&lt;br /&gt; list() display list&lt;br /&gt; reboot() reboot console&lt;br /&gt; scan() scan peers&lt;br /&gt; test() simple send and receive of the text &amp;quot;test&amp;quot;&lt;br /&gt; tgt_reboot() reboot peer&lt;br /&gt; uptime() current uptime in seconds/mseconds&lt;br /&gt;ble_shutdown() shutdown ble softdevice&lt;br /&gt; help_vars() &lt;br /&gt; help() your looking at it&lt;br /&gt; connect(arg) reconnect with the last connected peer&lt;br /&gt; tgt_name(arg) &amp;quot;1234567&amp;quot; - include the quotes, maximum 7 chars&lt;br /&gt; loopback(arg) itterati&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/119520?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 11:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:579293aa-8f5a-40ee-a55a-07247de9be01</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;When you write: &amp;quot;&lt;span&gt;after I exceed a certain amount of characters the output no longer appears.&amp;quot; after how many characters does the output no longer appear? These two links might be useful (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/9466/maximum-length-of-data-over-ble" rel="noopener noreferrer" target="_blank"&gt;link 1&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/1105/how-do-i-calculate-throughput-for-a-ble-link" rel="noopener noreferrer" target="_blank"&gt;link 2&lt;/a&gt;).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/118950?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 15:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c7b19a8-7cbc-49f9-a48b-7e0b84a1d5a1</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;At one point I place a 500ms delay between each consecutive print in this code to see if I was overrunning the UART.  I didn&amp;#39;t see any improvement in the behavior and removed it.  I know this is a crude replacement for HW flow control, but I was just checking if it could be the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/118952?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 18:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ea77ca-9d0c-47c4-a1e5-0ebd49805fcb</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I have a similar set up to configure my custom board(nRF52832) also, although mine is less elaborate and the user on the PC end simply sends the AT commands and waits for ACK/NAK from the custsom board. Now the uart between pc and the dongle is fast while the BLE between the dongle and the custom board is &amp;quot;slow&amp;quot; (well, relative to the uart) so do you have h/w flow control enabled for the uart?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/118951?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 13:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55647d98-1b6a-411b-a93d-e411de844ee6</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;PC &amp;lt;--&amp;gt; UART &amp;lt;--&amp;gt; pca10056 &amp;lt;--&amp;gt; BLE(NUS) &amp;lt;--&amp;gt; custom board(nrf52840).  The printfs are only running on the pca10056 and simply present the options allowed. Essentially using the pca10056 as a dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having issues with back to back printfs across the UART.</title><link>https://devzone.nordicsemi.com/thread/118949?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 14:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cbd5a62-cd12-4295-9f91-09f2122dd0c8</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Don&amp;#39;t quite understand your setup here. Is it a simple &amp;quot;PC &amp;lt;-- uart --&amp;gt; nRF52&amp;quot; connection or a more elaborate &amp;quot;PC &amp;lt;-- uart--&amp;gt; BLE dongle &amp;lt;-- BLE --&amp;gt; nRF52-to-be-configured&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>