<?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>Looking for an example of implementing 2 UART connections at the same time for SDK12.3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69646/looking-for-an-example-of-implementing-2-uart-connections-at-the-same-time-for-sdk12-3</link><description>Hi I have a custom nRF52840 board, and I have a current BLE UART setup. I also want to communicate with a IMU module via serial connection. Can you point me in the direction of a good example to start off from? 
 
 Thank you, 
 
 Robert</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jan 2021 11:40:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69646/looking-for-an-example-of-implementing-2-uart-connections-at-the-same-time-for-sdk12-3" /><item><title>RE: Looking for an example of implementing 2 UART connections at the same time for SDK12.3</title><link>https://devzone.nordicsemi.com/thread/287486?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 11:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c483984d-f3c7-44d5-a465-a03cb58e2053</guid><dc:creator>Robert Haddad</dc:creator><description>&lt;p&gt;Thank you Simon, Will do. Hope you had a great new year&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looking for an example of implementing 2 UART connections at the same time for SDK12.3</title><link>https://devzone.nordicsemi.com/thread/287144?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 09:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9808723-c69a-40e1-8c5e-e1068374c4d7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Yes, you would need to enable the UARTE1 in sdk_config.h and make a second (distinct) uart_init() function for the other UART instance where you need to make sure that it doesn&amp;#39;t have any calls that will mix it up with the first uart_init().&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looking for an example of implementing 2 UART connections at the same time for SDK12.3</title><link>https://devzone.nordicsemi.com/thread/285897?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 16:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea0ac81e-9e57-44a0-a13c-387c0fc8a7c5</guid><dc:creator>Robert Haddad</dc:creator><description>&lt;p&gt;Thanks for getting back to me Simonr, okay, would I just make another instance of uart_init(void) and the uart handler functions? And enable UARTE1 in the sdk_config.h?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looking for an example of implementing 2 UART connections at the same time for SDK12.3</title><link>https://devzone.nordicsemi.com/thread/285825?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 13:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0e84349-5a50-43f9-b3a7-3e854b51412d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is there a reason you&amp;#39;re using the SDK v12.3? This SDK only provides experimental support for the nRF52840, and production ready support is not provided until SDK v15.0.0. I would suggest using the latest SDK version(v17.0.2).&lt;/p&gt;
&lt;p&gt;Either way, we don&amp;#39;t have any examples as far as I know that implements both UART peripherals, but it should not be too hard to implement, just keep in mind to not mix UARTE0 and UARTE1 in your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;PS: The Holiday season is upon us, which will leave the Nordic support team understaffed until January 4th, 2021. This means that delayed replies will occur during this time. Sorry about the inconvenience and happy Holidays!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>