<?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 implementation using pca10059 dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86052/uart-implementation-using-pca10059-dongle</link><description>i have a code base which is originally run on nrf52832 dk and i want to port it to the pca10059 dongle i run in gcc env and successfully modified the definitions and includes to run on nrf52840. with one exception/problem: something with the uart handling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2022 13:08:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86052/uart-implementation-using-pca10059-dongle" /><item><title>RE: uart implementation using pca10059 dongle</title><link>https://devzone.nordicsemi.com/thread/360822?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 13:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b40c3b9-50ad-4f01-b1f1-13c5b0ec69b6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;OK, that GPIO should not be problematic to use.&lt;/p&gt;
[quote user="mg1234"]i am developing using nrf52832 dk but the nrf52840 i have in dongle form[/quote]
&lt;p&gt;I understand that, my suggestion was to connect the &amp;quot;Debug out&amp;quot; port of the nRF52 DK to the nRF52840 Dongle (either by soldering wires to SWDCLK/SWDIO pins, or soldering the debug header on the back (P1). The debug chip on the DK can be used to program any external nRF52xxx target.&lt;/p&gt;
&lt;p&gt;Adding the debug capabilities will make it easier to debug the issue you are seeing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart implementation using pca10059 dongle</title><link>https://devzone.nordicsemi.com/thread/359815?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 13:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e16e0b3e-2693-42e6-882a-4690e661a58b</guid><dc:creator>mg1234</dc:creator><description>&lt;p&gt;#define TX_PIN_NUMBER NRF_GPIO_PIN_MAP(0,2)&lt;br /&gt;#define RX_PIN_NUMBER UART_PIN_DISCONNECTED&lt;br /&gt;#define CTS_PIN_NUMBER UART_PIN_DISCONNECTED&lt;br /&gt;#define RTS_PIN_NUMBER UART_PIN_DISCONNECTED&lt;br /&gt;i am developing using nrf52832 dk but the nrf52840 i have in dongle form&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart implementation using pca10059 dongle</title><link>https://devzone.nordicsemi.com/thread/359538?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 09:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:765525d8-8c36-42a0-bbd3-758614487e3e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which GPIOs are you using for the UART peripheral? the default pins used for UART in most examples (P0.06/P0.08) are connected to LEDs on the Dongle. If the application also initializes BSP to control the LEDs, this may cause issues for UART if the same pins are used.&lt;/p&gt;
&lt;p&gt;If the application crashes when using UART/printf, and you don&amp;#39;t have a debugger connected to the Dongle, it would be quite hard to debug why it is failing. This is the reason that we do not recommend the Dongle for development of applications, it is mainly intended for use with prebuilt applications, together with our development tools (nRF Connect for desktop applications, nrfutil, OpenThread border router, etc). I would recommend that you either connect debug headers to the Dongle to be able to debug the application (you can use the debug output of the nRF52832 DK), or get a nRF52840 DK for application development.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart implementation using pca10059 dongle</title><link>https://devzone.nordicsemi.com/thread/359426?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 15:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bcba26-b90e-44eb-a4d0-6d2759eb48e5</guid><dc:creator>mg1234</dc:creator><description>&lt;p&gt;i have not connected a debugger, i want to connect the gpio pins to&amp;nbsp;TTL-232R to interface uart-usb&lt;br /&gt;i also verified with an oscilloscope to see if&amp;nbsp;the tx is working.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;i did try to add cdc acm functionality but couldnt get it to work with the existing codebase so i decided it would be simpler to just&amp;nbsp;use external uart interface.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;i program it using the bootloader&amp;nbsp;programming method(using nrf connect programmer program).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart implementation using pca10059 dongle</title><link>https://devzone.nordicsemi.com/thread/359343?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 11:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0166aabc-b9dd-46c2-9f01-6314390e560e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you modified the dongle with a debugger and connected the UART line(s) to something external? The Dongle does not come with a debug chip like the DKs, so it will not output UART over the USB port. You can also use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/usbd_cdc_acm_example.html"&gt;USB CDC ACM&lt;/a&gt; to send UART data over the USB port of the dongle.&lt;/p&gt;
&lt;p&gt;Please post a diagram of the dongle and how you program it and interface with the UART.&lt;/p&gt;
&lt;p&gt;For more details, please see the&amp;nbsp;nRF52840 Dongle Programming Tutorial.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>