<?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>Is there any several instances of the UART example here?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7584/is-there-any-several-instances-of-the-uart-example-here</link><description>I want to make 2 UARTs data pass-through by the way of two instance of app_uart_init() func.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jun 2015 11:10:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7584/is-there-any-several-instances-of-the-uart-example-here" /><item><title>RE: Is there any several instances of the UART example here?</title><link>https://devzone.nordicsemi.com/thread/27043?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 11:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:000bf5b0-f2f7-4fa4-8974-e9d559bfe15e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Yelun: Yes you can have several instances of uart but not at the same time. As menetioned by RK, you need to close the previous one, and then init() the new one.&lt;/p&gt;
&lt;p&gt;@jizh1000: I don&amp;#39;t think there is a limit. But note: only one works at a time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any several instances of the UART example here?</title><link>https://devzone.nordicsemi.com/thread/27041?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 04:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:638882ab-b57a-4bb8-8c85-28cef3590b33</guid><dc:creator>jizh1000</dc:creator><description>&lt;p&gt;Hi, I have one quesiton. How many uart instances can be initialized? Are there any limits?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any several instances of the UART example here?</title><link>https://devzone.nordicsemi.com/thread/27042?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 03:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b9e55a-cd71-4047-aca1-64a9ac0bd10e</guid><dc:creator>YeLun</dc:creator><description>&lt;p&gt;app_uart_init()： Function for initializing the UART module. Use this initialization when &lt;strong&gt;several instances of the UART module are needed&lt;/strong&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any several instances of the UART example here?</title><link>https://devzone.nordicsemi.com/thread/27040?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 02:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:313c3c03-69ff-44cf-ab2a-9c9bdf6d9902</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;There&amp;#39;s only one UART on the chip so you can&amp;#39;t have two instances at the same time. And if you look at the app_uart code you&amp;#39;ll see all the variables are static and are set up on init to whatever the init values are.&lt;/p&gt;
&lt;p&gt;You can init() it then close() it again and re-init() with new values but that&amp;#39;s about it.&lt;/p&gt;
&lt;p&gt;What are you trying to do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>