<?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 possibility to configure UART2 in nRF52 board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22211/is-there-any-possibility-to-configure-uart2-in-nrf52-board</link><description>In my project I need two UART,but in nRf52 there is only one dedicated UART. So is it possible to configure GPIO as UART2?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 20 May 2017 10:53:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22211/is-there-any-possibility-to-configure-uart2-in-nrf52-board" /><item><title>RE: Is there any possibility to configure UART2 in nRF52 board?</title><link>https://devzone.nordicsemi.com/thread/87296?ContentTypeID=1</link><pubDate>Sat, 20 May 2017 10:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30193831-6a30-45c0-9af2-17503180b6d4</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Update: The nRF52840 has &lt;strong&gt;two&lt;/strong&gt; UARTE peripherials. Just use that chip...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any possibility to configure UART2 in nRF52 board?</title><link>https://devzone.nordicsemi.com/thread/87295?ContentTypeID=1</link><pubDate>Sat, 20 May 2017 10:51:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:099a3882-543e-4b25-b768-8122e0f8ac82</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;There is no UART2. Your only hope is to use the remaining peripherials in a &lt;em&gt;clever&lt;/em&gt; way to implement an UART in &lt;strong&gt;software&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The sending part (NRF52 as the sender)  is relatively simple if you can use one of the PWM peripherials - just use them to generate the signal like an UART would do with start and stop bit and so on.&lt;/p&gt;
&lt;p&gt;The receiving part is a lot trickier, because the softdevice will use some CPU time on its own and really does not like to be interrupted at certain points.&lt;/p&gt;
&lt;p&gt;The idea is to use a timer in capture mode. This &lt;em&gt;probably&lt;/em&gt; works for low rates up to about 9600 baud and will requires some tricks in the timer interrupt.&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll likely want to look at some open source software uart implementations to get how they work in practise. I don&amp;#39;t see one for the NRF5x series yet, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any possibility to configure UART2 in nRF52 board?</title><link>https://devzone.nordicsemi.com/thread/87294?ContentTypeID=1</link><pubDate>Sat, 20 May 2017 07:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ec22c18-8b9d-464f-8e1d-fa4d6edf49ca</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;or read the dupe here - &lt;a href="https://devzone.nordicsemi.com/question/138963/is-it-possible-to-configure-two-uarts-in-nrf52/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>