<?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>Use UART in Characteristic Tutorial</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14934/use-uart-in-characteristic-tutorial</link><description>Hello again, 
 i wanna use the UART communication for transfering data from my &amp;#181;c to the nrf51 and vice versa. 
 For a test i used the ble_app_uart example and it works fine. I got my data in the uart_event_handler from app_uart_fifo.c. Now i want to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jul 2016 07:03:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14934/use-uart-in-characteristic-tutorial" /><item><title>RE: Use UART in Characteristic Tutorial</title><link>https://devzone.nordicsemi.com/thread/56979?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2016 07:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84dc5b73-5325-423b-8856-ca2290935001</guid><dc:creator>Sascha</dc:creator><description>&lt;p&gt;Thank you!! This was the solution. I changed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP_UART_FLOW_CONTROL_ENABLED
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP_UART_FLOW_CONTROL_DISABLED
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now it is running. I dont need the flow control.
To your question for the characteristic-master example,
i used this one &lt;a href="https://github.com/NordicSemiconductor/nrf5-ble-tutorial-characteristic/tree/master"&gt;Characteristic Example&lt;/a&gt; when i download the zipped file, the folder is named &amp;quot;nrf5-ble-tutorial-characteristic-master&amp;quot; so my description. Thank you Stefan!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use UART in Characteristic Tutorial</title><link>https://devzone.nordicsemi.com/thread/56978?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 13:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f611f682-a074-4bf2-9bb0-a1a7d71f2e05</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Thanks for your clarification.&lt;/p&gt;
&lt;p&gt;Do you use UART hardware flow control? If so, then having the CTS line high prevents the UART from sending bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use UART in Characteristic Tutorial</title><link>https://devzone.nordicsemi.com/thread/56977?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 13:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b0156b3-85c7-4300-8014-4a642c27339b</guid><dc:creator>Sascha</dc:creator><description>&lt;p&gt;Ok i try to explain. I want a simple hardware UART communication between the nRF51 and our microcontroller. In a simple test i only want to transfer one byte: 0x01 over UART (P0.09) from our µc to nRF51 and when received i send 0x02 back over UART(P0.11) to our µc. 0x01 will correct received by nRF51 in uart_event_handler from app_uart.c, but when i want to send 0x02 back from nRF51 to our µc, there is no data send over the uart tx pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use UART in Characteristic Tutorial</title><link>https://devzone.nordicsemi.com/thread/56976?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 12:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a976c7-4588-486c-a0d0-1f04ffd32963</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As I understand you , you want to use UART together with BLE, am I correct? I anyway don&amp;#39;t realize what example is &amp;quot;characteristic-master example&amp;quot; that you refer to.&lt;/p&gt;
&lt;p&gt;Have you looked at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_nus_eval.html?cp=6_0_0_4_2_2_18"&gt;ble_app_uart example in the nRF5 SDK 11.0.0&lt;/a&gt;? It implements communication with the hardware UART and also transfers data over BLE via the NUS (Nordic UART service) service. In that example, when you send data from your microcontroller to the nRF51 via the UART, it should appear on a connected BLE peer device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use UART in Characteristic Tutorial</title><link>https://devzone.nordicsemi.com/thread/56975?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 11:19:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22895141-1941-46d5-9e2f-c6122d661674</guid><dc:creator>Sascha</dc:creator><description>&lt;p&gt;Ok, i tried something with the ble_app_template project.
I include app_uart.c with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;quot;app_uart.h&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and call&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;log_uart_init()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in main.
Now i can receive rxdata in uart_event_handler from app_uart.c and work with this data.
But now, when i want send some data with app_uart_put() i am stucking. I dont know why, but there will no data be send on the tx pin. What i have done wrong? Perhaps i misunderstood the uart library?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>