<?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>How to send data from Pic controller to nrf51822 using UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2680/how-to-send-data-from-pic-controller-to-nrf51822-using-uart</link><description>Hello all, 
 I want to send some sensor data( collected by Pic controller) to other BLE client(may be a phone) using nrf51822 via UART. Can somebody suggest how to communicate using UART? Do I need to run UART program on both the controller and the nrf51822</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jun 2014 12:31:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2680/how-to-send-data-from-pic-controller-to-nrf51822-using-uart" /><item><title>RE: How to send data from Pic controller to nrf51822 using UART?</title><link>https://devzone.nordicsemi.com/thread/10513?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2014 12:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1306bda3-b4e3-4203-a652-4ba3ec793ae5</guid><dc:creator>John</dc:creator><description>&lt;p&gt;We developed an application where a PIC gathers sensor data and sends it via UART to the nRF51822 when a host is connected and requests the data. It is probably similar to the example cited by LKH. A couple of things we learned along the way:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Because the Soft Device can interrupt the UART transaction HW flow control was necessary to prevent losing data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;We needed the radio to be able to wake up the PIC with a break character which the nRF UART cannot generate directly. However the support folks at Nordic were able to show us how to generate a break by disconnecting the UART TX from the GPIO pin and holding it low for enough time to generate a break to the PIC&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If your application is sensitive to power consumption, disable the UART on the radio when you are not using it as it does burn a surprising amount of power while idle.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send data from Pic controller to nrf51822 using UART?</title><link>https://devzone.nordicsemi.com/thread/10512?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2014 10:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3784671-f5fa-4fe3-aaef-5ce90d9e509b</guid><dc:creator>LKH</dc:creator><description>&lt;p&gt;Hi,
In your case, S110 Softdevice is suitable.
There is an example of nRF51822 with ble_UART_app
(nrf51822\board\pca10001\s110\experimanetal\bek_app_uart)
When you send data from pic to nRF with UART, it sends data via BLE with nus(Nordic Uart Service;nordic custom service).&lt;/p&gt;
&lt;p&gt;Check the example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>