<?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>Disable UART of nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55367/disable-uart-of-nrf52</link><description>Hi, 
 I am learning nRF development with 52DK device and SDK v16.0. I noticed that by default the 52DK planned P0.5~8 for UART purpose. 
 I am wondering if I can disable UART usage and plan those PINs for other purposes (e.g. SPIM)? 
 
 What will be lost</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Dec 2019 08:18:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55367/disable-uart-of-nrf52" /><item><title>RE: Disable UART of nRF52</title><link>https://devzone.nordicsemi.com/thread/224328?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 08:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bb6e5b4-afc2-49ab-ad73-dedada5e3457</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This should not be too hard to do. First off, you have to remove the function(s) in your main file that is using UART. Then you should go through the sdk_config.h file and disable UART by setting the functions enabling UART to 0, this includes the BLE_NUS_ENABLED and the UARTE peripheral driver, etc.&lt;/p&gt;
&lt;p&gt;Now you should be free to use these pins as whatever you&amp;#39;d like. You shouldn&amp;#39;t lose anything except the UART functionalities when disabling it. You can also use other pins as UART by assigning them to other pins if you need the initial pins for something else but still want to use UART.&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></channel></rss>