<?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>NRF52480 Dongle and communication over serial</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52458/nrf52480-dongle-and-communication-over-serial</link><description>Experts, 
 I&amp;#39;m trying to use NRF52480 Dongle to communicate over UART serial port. On the forum I found that pins 1.10 &amp;amp; 1.13 are used for TX/RX. I learned that flow control may be disabled and default speed is 115200 bps. Having this information I compiled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2019 07:44:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52458/nrf52480-dongle-and-communication-over-serial" /><item><title>RE: NRF52480 Dongle and communication over serial</title><link>https://devzone.nordicsemi.com/thread/211118?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 07:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f428acc8-1e50-49d7-9588-b14ca0b37c83</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;If you&amp;#39;re getting any data in your UART terminal, although scrambled, it&amp;#39;s either the baud rate, stop/parity, or HW flow control settings that are wrong. Also, note that your terminal might use auto-settings that incorrectly sets the baud rate for your terminal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I recommend using one of the examples that have been tested for the dongle as a base project, f.ex. the bla_app_blinky or blinky examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52480 Dongle and communication over serial</title><link>https://devzone.nordicsemi.com/thread/211080?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 00:48:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56929a52-42af-4cab-ab97-e24981f90246</guid><dc:creator>Keith Brafford</dc:creator><description>&lt;p&gt;If you are using this demo with a dongle and not using jtag, I *think* you will need to change the ORG (start of program space) to 0x1000 (from the default 0x0) so that you can load it with the nRFConnect app using the boot loader.&amp;nbsp; But someone with more experience with that part of the nordic ecosystem will have to explain it (I am new to the dongles)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52480 Dongle and communication over serial</title><link>https://devzone.nordicsemi.com/thread/211079?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 00:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90730c29-9f35-41ca-87ab-e496e214e355</guid><dc:creator>Keith Brafford</dc:creator><description>&lt;p&gt;For me the examples\peripheral\usbd_cdc_acm demo works on my PCA10056 board.&amp;nbsp; I can use the UART (on pins 6 and 8) and the USB port, and the CLI works (on the uart interface) and the USB demo also works at the same time. See:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://imgur.com/gallery/c4ZbCeZ"&gt;https://imgur.com/gallery/c4ZbCeZ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think you should be able to change main.c, line 227 to match your hardware and test it out:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;static void init_cli(void)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;{&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; ret_code_t ret;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; ret = bsp_cli_init(bsp_event_callback);&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; APP_ERROR_CHECK(ret);&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; nrf_drv_uart_config_t uart_config = NRF_DRV_UART_DEFAULT_CONFIG;&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&amp;nbsp; uart_config.pseltxd = TX_PIN_NUMBER;&amp;nbsp; // Change this to NRF_GPIO_PIN_MAP(1,10) ?&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp; uart_config.pselrxd = RX_PIN_NUMBER&lt;/strong&gt;; &lt;strong&gt;// Change this to&amp;nbsp;NRF_GPIO_PIN_MAP(1, 3)&amp;nbsp; ?&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; uart_config.hwfc = NRF_UART_HWFC_DISABLED;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; ret = nrf_cli_init(&amp;amp;m_cli_uart, &amp;amp;uart_config, true, true, NRF_LOG_SEVERITY_INFO);&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; APP_ERROR_CHECK(ret);&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; ret = nrf_cli_start(&amp;amp;m_cli_uart);&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; APP_ERROR_CHECK(ret);&lt;/em&gt;&lt;br /&gt;&lt;em&gt;}&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>