<?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>serial library errors while using BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45455/serial-library-errors-while-using-ble</link><description>Hi, I&amp;#39;m working on project using nRF52840-DK board with nRF5_SDK_15.2.0_9412b96. The program collects data from two UARTs, process data and sends results to Android over BLE. The program also collect some data from 3 I2C devices every second. I&amp;#39;m using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2019 16:22:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45455/serial-library-errors-while-using-ble" /><item><title>RE: serial library errors while using BLE</title><link>https://devzone.nordicsemi.com/thread/179025?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 16:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:335b03e9-2cda-481f-9960-b691371318bb</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;No, but it should be straight forward enough looking at&amp;nbsp;the way one UART is initialized to a add a second:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/hardware_driver_uart.html?cp=4_0_0_2_0_19_0#uart_configuration"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/hardware_driver_uart.html?cp=4_0_0_2_0_19_0#uart_configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial library errors while using BLE</title><link>https://devzone.nordicsemi.com/thread/178929?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 12:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91044273-0d4d-48f2-a8cd-5c08ef2dbcdc</guid><dc:creator>MVA</dc:creator><description>&lt;p&gt;Do you have sample code how to use two UARTs with uart driver? The sample code in SDK shows only one UART.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial library errors while using BLE</title><link>https://devzone.nordicsemi.com/thread/178920?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 12:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e969a6b-85f8-41f6-b0e6-28562e1c5a1f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The serial library handles error poorly, I recommend that you use the uart driver directly:&lt;br /&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/hardware_driver_uart.html?cp=4_0_0_2_0_19"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/hardware_driver_uart.html?cp=4_0_0_2_0_19&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The nrf_cli and our serializers use the uart driver directly (and app_uart as well, just that it sends/receives only 1 byte at the time), by using the functions nrf_drv_uart_rx(...) and&amp;nbsp;nrf_drv_uart_tx(...).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>