<?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>Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14021/sending-data-from-smart-beacon-to-a-pic-with-rs232</link><description>Hi all! I want to send data from a beacon (nrf51822) to a Pic microcontroller with the RS232 standard, what function should I use to send data? For example, I can use the app_uart_put function? If yes, the beacon knows which is the port to which I connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 May 2016 17:55:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14021/sending-data-from-smart-beacon-to-a-pic-with-rs232" /><item><title>RE: Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/thread/53586?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 17:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:360a03c5-2d15-4e8b-ad8d-0b2946c47fa6</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;You have to connect the USART module of your PIC to any pins of the nRF51.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On the PIC, you have to connect the UART lines to the specific pins of the hardware module. You can choose if you want to use flow control (if the hardware module supports it) or not, so will have to connect 2 or 4 signals.&lt;/li&gt;
&lt;li&gt;On the nRF side, you can connect the UART lines to any pins (pin crossbar). You will have to specify these pins when initialization the &lt;code&gt;app_uart&lt;/code&gt; library.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you PIC is powered by a 3.3V voltage source, you do not need any external transceiver or level shifter. If you use TTL signals, you will need a level shifter. They are so many different PIC families (and old ones)... I do not know which one you use, but be aware of this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/thread/53584?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 16:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd0fbb1-06fa-40e4-9fdd-ea6cf979de13</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Note that you will need an RS232 &lt;strong&gt;Transceiver&lt;/strong&gt; if you want actual RS232 voltage levels.&lt;/p&gt;
&lt;p&gt;Do &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt; connect RS232 voltage levels direct to a microcontroller pin!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/thread/53583?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 15:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e151d66-1baa-4d86-bb45-73ae722c2f74</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;Ok, thank you! the pin that I have to specify are rx and tx right?or I need also rts and cts pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/thread/53582?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 15:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40a99e84-923c-4f16-8a2f-da989c9fb0db</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You should be able to use that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/thread/53585?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 15:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6166be0c-6732-495a-8ff6-1d53aee5dcb4</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;Yes I mean pins, sorry. So I can use uart_put to send data in serial mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from smart beacon to a Pic with RS232</title><link>https://devzone.nordicsemi.com/thread/53581?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 14:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0297a0e5-111f-4000-a394-16c33d8224a3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;By port do you mean pins? You need to specify them uart_init() or similar.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>