<?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>Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27937/uart-on-analog-pins-p0-02-p0-03-nrf52832</link><description>Hello i cannot get uart to work correctly on these pins. The board seems to reset when i try to run uart on these pins. I can get them to work on pins P0.06 and P0.08. I think it has something to do with the analog module although i do not have it enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Dec 2017 13:47:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27937/uart-on-analog-pins-p0-02-p0-03-nrf52832" /><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110265?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 13:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10fb8a4e-2702-4a86-8002-479001efea62</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you leaving the RX pin floating or are you connecting it to something? If you leave it floating in the wind the UART module might pick up some noise and generate communication errors. When you use the default P0.06 and P0.08 pins they are both connected to the Segger MCU on your kit.&lt;/p&gt;
&lt;p&gt;Here are two similar cases:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/question/170387/uart-peripheral-dead/"&gt;UART Peripheral Dead?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/question/50037/nrf52-dk-uart-rx-pin/"&gt;nRF52 DK UART RX pin&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110267?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 23:06:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f38cae0-bf5c-423f-bed8-24620931973e</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;that&amp;#39;s interesting :/ i found that it was an issue with the rx pin only i can change the tx pin without problems. After some debugging i found that i was getting APP_UART_COMMUNICATION_ERROR 4 .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110266?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 20:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:442a4fdb-4c6b-4717-87a0-41bfcb819f49</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Just add retarget.c to your project for printf to uart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110261?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 19:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ffbcec-544b-421a-b575-d1aada22d77f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid it&amp;#39;s only you and your set-up, I have no problem to change UART pins with nRF51 and nRF52 firmwares... sorry;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110260?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 19:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d791a48-befe-4759-ad7d-4b405dff00a5</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;But seriously can someone explain why changing the pins causes a hardfault this is really annoying.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110263?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 15:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80660250-47d7-447e-ba3a-8d859dcee0f1</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;The NRF_LOG is not enabled in the example of the uart module. I have found the serial example works fine. However i would like support for printf. I guess i&amp;#39;ll write my own handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110262?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 01:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:532d879f-cd7a-47df-851c-473658be5d5c</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Watch out for NRF_LOG UART backend (if you are using it).  It reconfigures the UART to pins assigned in the sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110259?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 23:11:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf0944e-0ba0-4d5f-b332-9172e8e4f2ba</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;Just tried the uart example from nRF5_SDK_14.2.0_17b948a on pins 2 ,3 and 23,22 changing only the file components/boards/pca10040.h and it just pulls tx high . can still see the start message on pins 8,6. what&amp;#39;s going on ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110264?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 22:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3d1931-5a0b-4951-ba5e-7f60abceee44</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;In fact it seems that the uart module only works on pins P0.08  and P0.06&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110248?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 21:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7855629e-1585-44e8-b711-8b99d6fd2b55</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;Just as a side note i can set the tx pin as an output and pull it high with no issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110257?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 21:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b13e6f9-1dc9-42ee-a33b-46c391608437</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;i had to make clean for some reason. But after the changes i&amp;#39;m still getting the same issue on the dev board with nothing else attached except the saleae.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110256?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 21:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7da3e3f3-26ae-4a03-a930-86d90346d36f</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;after a make clean i get the same output&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110255?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a4c356a-91d3-4aac-9a53-8a6a52b4e56d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;But normally port/pin assignments are managed in board config header file...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110254?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21722593-074c-49d4-9e4c-f098bc01665d</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;It seems to ignore the changed pins and print to the usb serial out anyways. i changed in the board config for pca10040 and in the main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110253?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8dfa430-f08c-48f4-b91a-b5344af90028</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;And stock UART example from nRF5 SDK? That should work, right? And what if you just change PIN numbers, nothing else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110252?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc4c6b5-1f77-4397-ba90-4b670464905d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Because that trace from logic looks like there is something blocking the signal, like some parasite capacitance or other passive/active component connected to these ports...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110251?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3725b128-7a35-48ff-962c-e2433005e497</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;I have tried this on the devkit as well as the custom board i have made.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110250?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:914b81d9-812e-4c70-9a94-652db1a9b80a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;And also not only chip part number but also some details about whole board (like is your FW working on Nordic Dev Kit? What are differences in your HW layout and schematics when compared to some reference design?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110249?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4461d1d6-03f8-478f-a816-dd6f136300aa</guid><dc:creator>mweger</dc:creator><description>&lt;p&gt;I have scanned my config a few times and don&amp;#39;t see those pins used for anything else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart on analog pins P0.02,P0.03 NRF52832</title><link>https://devzone.nordicsemi.com/thread/110258?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 20:30:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fb7f390-76bd-4b79-be97-2f8a41c415b5</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Are you sure that you don&amp;#39;t use these PINs for anything else? If you try to enable them for more HW peripherals the chip will probably hard fault. Also you don&amp;#39;t mention which of many Nordic chips you use...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>