<?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 port library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26240/serial-port-library</link><description>I confused a little about serial port library example. Can I consider this like software uart example similar to arduino softwareserial library?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Nov 2017 06:40:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26240/serial-port-library" /><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103320?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 06:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:671371f3-2ba3-4d51-966b-4a6e2e202bbb</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Thanks for clearify&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103319?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 06:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a855535c-986e-4611-ac97-74676cbafba3</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;To be more precise:&lt;/p&gt;
&lt;p&gt;nrf52832 = 1xUART &lt;strong&gt;or&lt;/strong&gt; 1xUARTE&lt;/p&gt;
&lt;p&gt;nrf52840 = 1xUART 1xUARTE &lt;strong&gt;or&lt;/strong&gt; 2xUARTE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103313?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 08:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25089c8d-efff-4ff8-b1cd-0c32aea293be</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;No, 1 instance on nRF52832 and 2 instances on nRF52840&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103312?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 08:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967ecf98-0278-4f9c-88c3-5b621e00bc54</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Do I understand correct.. We have 2 instance of uart for nrf52832 and 4 instance for nrf52840 chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103318?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 11:27:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfcee2de-d47f-4c50-8736-ced0f06f70c2</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;You can have still two instances of UARTE but there is almost no problem to connect Tx line from nrf52 to more receivers.&lt;/p&gt;
&lt;p&gt;The only limitation that comes to my mind is related with current &amp;quot;consumption&amp;quot; of each node from Tx line. If there will be too many devices UARTE signal might have too big voltage drop to be correctly interpreted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103317?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 10:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e63baace-4af9-4f08-83eb-699972d80cda</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;still two.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103316?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 10:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d2eec2-ac3c-49f5-b6d9-56507ddf6ca3</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;ok. How many if I need only rx line on 9600bps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103315?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 10:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e25c59f-9a32-4f49-acb3-3cc030b7f3e7</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;You can have maximum 2 instatnces, so &lt;strong&gt;biderctional&lt;/strong&gt; communication is possible with 2 chips only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103314?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 10:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71cc50ed-98cb-4259-b85f-2e6625d4a223</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Thanks. So can I use this library in situation where I would use arduino softwareserial library?
For example I need to communicate with 3 chips via uart. Can I solve this task by serial port library?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial port library</title><link>https://devzone.nordicsemi.com/thread/103311?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 09:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853ed3d0-84cc-4d79-a84f-8fd9752fa29f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://www.arduino.cc/en/Reference/SoftwareSerial"&gt;SoftwareSerial library&lt;/a&gt; in Arduino implements UART in software(&amp;quot;bit banging&amp;quot;). It has several known limitations, e.g. if using multiple software serial ports, only one can receive data at a time.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/lib_serial.html?cp=4_0_0_3_37"&gt;Serial port library in the SDK&lt;/a&gt; is designed as a more sophisticated replacement for the app_uart module, with Multi-instance capability, configurable buffers and more robust and generic API. It does not implement any “software” UART. The Multi-instance capability in the serial port library is very useful in e.g. the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/chips/nrf52840.html?cp=2_0"&gt;nRF52840&lt;/a&gt; where you have 2 hardware UARTE instances.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>