<?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>UART SDK migration 8.1.0 -&amp;gt; 10.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10670/uart-sdk-migration-8-1-0---10-0-0</link><description>I have two UART devices on a custom board with an nRF51822. I&amp;#39;ve just upgraded the SDK I use from 8.1.0 to 10.0.0 and one of the UART connections has stopped working, but not the other. 
 Both use the same connection params: no hardware flow control</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Dec 2015 08:42:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10670/uart-sdk-migration-8-1-0---10-0-0" /><item><title>RE: UART SDK migration 8.1.0 -&gt; 10.0.0</title><link>https://devzone.nordicsemi.com/thread/39835?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 08:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f73940e2-7032-49f0-8b94-0cf7121475da</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The app_uart library was changed between SDK 9 and 10. The uart libraries are now using the nrf_drv_uart drivers. The update introduced a bug in app_uart_fifo.c which prohibits the library to recover from an error state. Please try the attached patched app_uart_fifo.c file. The issue is reported and will be fixed in the next SDK release.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/app_5F00_uart_5F00_fifo_2D00_patched.c"&gt;app_uart_fifo-patched.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART SDK migration 8.1.0 -&gt; 10.0.0</title><link>https://devzone.nordicsemi.com/thread/39834?ContentTypeID=1</link><pubDate>Sat, 05 Dec 2015 14:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:658da698-d3ff-444e-b287-56e1d756fbe9</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I also observed similar issue.  Switching to SDK10, UART no longer works.  I haven&amp;#39;t have time to investigate.  I went back to SDK9 everything is fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART SDK migration 8.1.0 -&gt; 10.0.0</title><link>https://devzone.nordicsemi.com/thread/39833?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 17:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91c8361-3f26-4f1b-8667-aa7122553fdc</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Correct. Not using hardware flow control (params.flow_control = APP_UART_FLOW_CONTROL_DISABLED). I&amp;#39;ll create a case. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART SDK migration 8.1.0 -&gt; 10.0.0</title><link>https://devzone.nordicsemi.com/thread/39832?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 15:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f1bcd11-ff66-4a6b-8505-07ba83c1aa21</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Ah, ok, so you have &lt;em&gt;one&lt;/em&gt; board, with &lt;em&gt;one&lt;/em&gt; nRF51 and &lt;em&gt;two&lt;/em&gt; peer devices mounted on it? And you lost com to only one of them?&lt;/p&gt;
&lt;p&gt;Then I guess you have routed the UART traces from the peer devices to two separate set of pins on the nRF51, and then you are dynamically reconfiguring the UART to talk to one or the other? Are you using flow control? Do you mind uploading the code? You can submit a support ticket on &lt;a href="https://www.nordicsemi.com/eng/Support-Community/Contact-Support-Team"&gt;myPage&lt;/a&gt; if your prefer some confidentiality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART SDK migration 8.1.0 -&gt; 10.0.0</title><link>https://devzone.nordicsemi.com/thread/39830?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 15:29:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c907c29-fc07-4e90-b90a-d58df0fd50ea</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;No, just one board. Well, actually, a bunch of them, but I&amp;#39;ve tested on two of them and have the same result. Everything works if I revert back to SDK 8.1.0. Sending strings over UART. Using S110 v 8.0.0 in both cases. I&amp;#39;m using the FIFO library for both UART connections.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART SDK migration 8.1.0 -&gt; 10.0.0</title><link>https://devzone.nordicsemi.com/thread/39831?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 15:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f038280-2ee7-4ed3-8ec1-7f01ba23522e</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;So if understand this correctly:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You have two custom boards&lt;/li&gt;
&lt;li&gt;Both boards have one external device and an nRF51 mounted on them and they communicate through UART. No communication between the two boards?&lt;/li&gt;
&lt;li&gt;They both worked fine with SDK 8, but only one of them works with SDK 10?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So just for the record:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are you using the exact same components on the boards?&lt;/li&gt;
&lt;li&gt;Does the faulty board work if you revert back to SDK 8? I.e. you are sure it&amp;#39;s not broken?&lt;/li&gt;
&lt;li&gt;What kind of data are you sending over UART? Single bytes or strings?&lt;/li&gt;
&lt;li&gt;Are you using a softdevice? If so what version? Are the boards using the same softdevice? I experienced the other day that in SDK 10 certain examples seemed to use the uart_fifo library when using S130, but the regular uart library for S110 (Or the other way around. I don&amp;#39;t remember).&lt;/li&gt;
&lt;li&gt;What nRF51 revision are you using?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>