<?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>THE uart of 52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36347/the-uart-of-52832</link><description>When I used &amp;quot;nRF5_SDK_15.0.0_a53641a\examples\ble_central\ble_app_uart_c &amp;quot; , it run ok . But my hareware is used PIN33 for RX, PIN32 for TX. So I changed pca10040.h ,please see the following . And now the software doesn&amp;#39;t run. The J-LINK shows &amp;quot; 0&amp;gt; &amp;lt;error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2019 06:51:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36347/the-uart-of-52832" /><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/197991?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 06:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:841c443b-8892-4f2b-9c03-91a9fd76f282</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Brent.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No, the uart doesn&amp;#39;t have to be 8/7 (or 8/6 like it&amp;#39;s configured in the SDK), so we can&amp;#39;t make a rule like that. You can use any GPIO just as you&amp;#39;d like.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/197948?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 20:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc7fdd3-2fe0-4a04-9084-2160317062fd</guid><dc:creator>brent_dong</dc:creator><description>&lt;p&gt;Hi,All,&lt;/p&gt;
&lt;p&gt;Glad to see the information, but what is the solution? according to nrf52832 data sheet, any GPIO can be defined as uart pin and made the board, we need to make it a rule, uart has to be 8,7?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Brent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/142452?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 14:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e711da-4c31-44b9-baa5-01ea548007a2</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Those definitions is, as you can see, in the pca10040.h header. &lt;br /&gt;PCA10040 is, as you might know, the nRF52-DK.&lt;/p&gt;
&lt;p&gt;On the nRF52-DK the UART pins are internally connected to the on-board Segger debugger chip, and it will be available on your PC as a normal COM port. &lt;br /&gt;If you are using the nRF52-DK and want to make use of this, then I would recommend this pinout.&lt;/p&gt;
&lt;p&gt;However, any of the GPIO&amp;#39;s can be used as long as they aren&amp;#39;t used by any of the other peripherals.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52_DK_User_Guide_v1.2.pdf#%5B%7B%22num%22%3A62%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C56.692%2C107.429%2Cnull%5D"&gt;nRF52 Development Kit User Guide v1.2 - 5.2 Virtual COM port.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/141779?ContentTypeID=1</link><pubDate>Sat, 28 Jul 2018 15:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3087674-0929-471c-ade1-45a397d50ace</guid><dc:creator>PhilippeG</dc:creator><description>&lt;p&gt;Hi Joakim,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for this post. In the&amp;nbsp;pca10040.h, i see that :&lt;/p&gt;
&lt;p&gt;#define RX_PIN_NUMBER&amp;nbsp; 8&lt;/p&gt;
&lt;p&gt;#define TX_PIN_NUMBER&amp;nbsp; 6&lt;/p&gt;
&lt;p&gt;#define CTS_PIN_NUMBER 7&lt;/p&gt;
&lt;p&gt;#define RTS_PIN_NUMBER 5&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does it means by default your chips nrf52832 are configured this way, is it what you recommand to use as a&amp;nbsp; pinout of the nrf52832?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/140983?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 12:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234628dc-049a-4f98-8303-c7e8ce60dca3</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I can see that you have another post almost identical to this one, that one of my colleagues has reponded to. I&amp;#39;ll copy their answer to this thread as well.&lt;br /&gt;As you didn&amp;#39;t repond to my colleagues answer, might we assume that the issue has been resolved?&lt;/p&gt;
&lt;p&gt;Martin&amp;#39;s answer:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Why do you change the RX pin? Do you connect it to something else? If you connect it to something else, do you also connect the other device to ground?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If you just change the pin number, but don&amp;#39;t connect anything to it, it will be left floating in the wind and will pick up noise. The UART will then believe that the noise is actual data, but not be able to make sense of it. Then it generates a Communication error. &amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139989?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 03:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e5a2222-020d-4203-87b7-646da5dfbbd9</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;please help me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139885?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 11:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a89564f-3d01-442b-b165-9c70fcd5e778</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;I&amp;#39;m no Nordic. Good luck mate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139884?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 11:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7737a87c-b730-4412-90b7-9159435dceac</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;These is not my code, it is yours. I download&amp;nbsp; at&amp;nbsp; &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF5-SDK/nRF5-SDK-zip/59011"&gt;https://www.nordicsemi.com/eng/nordic/Products/nRF5-SDK/nRF5-SDK-zip/59011&lt;/a&gt;&amp;nbsp;.I dId&amp;nbsp;nothing but changeed PCA10040.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139881?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 11:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b17d0133-c5ea-4cfa-915b-71d52334d379</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;You need to debug your code and see what is the error code that is returned when it occurs. And make sure you are not using the P0.19 pin elsewhere in you code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139860?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32cab029-757e-438f-80f0-3328884d1b37</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;&lt;span&gt;#define RX_PIN_NUMBER&amp;nbsp;8 //8&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#define TX_PIN_NUMBER 18//6&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#define CTS_PIN_NUMBER 0XFF&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#define RTS_PIN_NUMBER 0XFF&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#define HWFC&amp;nbsp; &amp;nbsp;false// true&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As above, the software runs&amp;nbsp; well . why? The RX&amp;nbsp; must be used P0.08?&amp;nbsp; &amp;nbsp;But my hardware can&amp;#39;t change now.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139857?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d118a70-cc68-45b8-b15e-e06d4d00e094</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;J-LINK&amp;nbsp; STILL PRINTS the following&lt;/p&gt;
&lt;p&gt;&amp;nbsp;0&amp;gt; &amp;lt;error&amp;gt; app: Communication error occurred while handling UART.&lt;br /&gt; 0&amp;gt; &amp;lt;error&amp;gt; app: Fatal error&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139856?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:904d502b-a067-4702-8a3e-f6c82956d65c</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;#define RX_PIN_NUMBER 19 //8&lt;br /&gt;#define TX_PIN_NUMBER 18//6&lt;br /&gt;#define CTS_PIN_NUMBER 0XFF&lt;br /&gt;#define RTS_PIN_NUMBER 0XFF&lt;br /&gt;#define HWFC false// true&lt;/p&gt;
&lt;p&gt;I changed as above. but the software still doesnot run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139854?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b777df44-c8c8-4921-a5bc-227413ed650d</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Then,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define RX_PIN_NUMBER 19&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#define TX_PIN_NUMBER 18&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139853?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d05e61-dc13-4837-8b09-14a8c5763c82</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;RX IS used P0.19 , TX is used P0.18&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139851?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb3f979a-c239-4303-b6f3-dd9dcb1aacde</guid><dc:creator>jinxiuqueling73</dc:creator><description>&lt;p&gt;I said the pin nuber is the&amp;nbsp; number&amp;nbsp;&amp;nbsp;of IC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: THE uart of 52832</title><link>https://devzone.nordicsemi.com/thread/139848?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 09:24:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45903e63-67c2-40ed-8901-8494d77453f2</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;nRF52832 has 32 GPIOs from P0.00 to P0.31. Check your hardware for the right pin numbers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>