<?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>How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44648/how-to-communicate-an-external-module-through-uart-in-nrf9160dk</link><description>I want to let nRF9160DK communicate with an external module through UART in nRF9160DK 
 Then I need to assign rx and tx on two pins. 
 I will use UART0 for printk function so P0.26, 27, 28, and 29 are reserved. 
 
 I read page18 in nRF91_DK_User_Guide_v07</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Mar 2019 15:50:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44648/how-to-communicate-an-external-module-through-uart-in-nrf9160dk" /><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/179296?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 15:50:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c43fc379-103a-4edb-ac31-f828e5e255bb</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;yea, I&amp;#39;m using UART2 and it works fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/179216?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 12:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d19cbb-1ae5-41b2-bd40-594e0cee49ea</guid><dc:creator>robmilne</dc:creator><description>&lt;p&gt;Did you manage to get uart2 working?&amp;nbsp; I need an external uart from the Arduino header while leaving the USB uarts alone. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/176537?ContentTypeID=1</link><pubDate>Sat, 16 Mar 2019 04:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b573ba91-a878-4a90-9f84-8610a54a4a60</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I thought UART_2 module or GPIO might be broken as I input higher voltage(1.8v vs 3.3v), but it doesn&amp;#39;t seem to be broken.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;UART_1 works fine. So I replaced UART_1 with UART_2 with the same pin assignment. It works.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;.dts file&amp;gt;

zephyr,console = &amp;amp;uart2;

&amp;amp;uart2 {
	status = &amp;quot;ok&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;1&amp;gt;;
	rx-pin = &amp;lt;0&amp;gt;;
	rts-pin = &amp;lt;14&amp;gt;;
	cts-pin = &amp;lt;15&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, I toggled the voltage in P10~20. all the pins but P17,18,19 work fine. I&amp;#39;m using P10 for Tx and P11 for Rx so that&amp;#39;s fine.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;nrf9160.h&amp;gt;
#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;misc/printk.h&amp;gt;
#include &amp;lt;uart.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;math.h&amp;gt;
#include &amp;lt;gpio.h&amp;gt;

struct device *gpio_test;
int cnt = 0;

void main(void)
{
        printk(&amp;quot;Hello, World!\r\n&amp;quot;);
        gpio_test = device_get_binding(&amp;quot;GPIO_0&amp;quot;);
        if (!gpio_test) {
		printk(&amp;quot;error gpio_test\r\n&amp;quot;);
	}
        gpio_pin_configure(gpio_test, 10, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 11, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 12, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 13, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 16, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 17, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 18, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 19, GPIO_DIR_OUT);
        gpio_pin_configure(gpio_test, 20, GPIO_DIR_OUT);

        while(1){
                printk(&amp;quot;cnt = %i\r\n&amp;quot;, cnt);
                gpio_pin_write(gpio_test, 10, cnt % 2);
                gpio_pin_write(gpio_test, 11, cnt % 2);
                gpio_pin_write(gpio_test, 12, cnt % 2);
                gpio_pin_write(gpio_test, 13, cnt % 2);
                gpio_pin_write(gpio_test, 16, cnt % 2);
                gpio_pin_write(gpio_test, 17, cnt % 2);
                gpio_pin_write(gpio_test, 18, cnt % 2); // aloways undefined
                gpio_pin_write(gpio_test, 19, cnt % 2); // always high
                gpio_pin_write(gpio_test, 20, cnt % 2); // always low
                cnt++;
                k_sleep(1000);
        }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Tx is always H and releases no signal. I really appreciate it if you give me any advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/176138?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 10:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c863c442-5d56-437d-a5bf-807ab75e1ef1</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;nRF9160 UART logic level is originally 1.8V. I thought 3.3V.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway, I disconnected P10(Tx) and saw the waveform, but always 1.8V. No signal. I have no idea of why UART signal does not come...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175991?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 15:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3a0d664-8f4e-4368-80ed-90da9f3f3271</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;your advice is helpful.&lt;/p&gt;
&lt;p&gt;&amp;gt;Have you connected another UART to the GPIOs?&lt;/p&gt;
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is my code. very simple. Any advice is helpful for me.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;main.c&amp;gt;
#include &amp;lt;nrf9160.h&amp;gt;
#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;misc/printk.h&amp;gt;
#include &amp;lt;uart.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;math.h&amp;gt;

static u8_t uart_buf[1024];
static struct device *uart_wifi;

void uart_cb(struct device *_uart)
{
	uart_irq_update(_uart); // Start processing interrupts in ISR.
	int data_length = 0;

	if (uart_irq_rx_ready(_uart)) { // Check if UART RX buffer has a received char.
		data_length = uart_fifo_read(_uart, uart_buf, sizeof(uart_buf)); // Read data from FIFO.
		uart_buf[data_length] = 0;
	}
	printk(&amp;quot;%s\r\n&amp;quot;, uart_buf);
}

void uart_send_str(struct device *uart, char *str){
    printk(&amp;quot;callback!\r\n&amp;quot;);
    u32_t len = strlen(str);
    while (len--) {
        uart_poll_out(uart, *str++);
    }
}

void main(void)
{
        char *command = &amp;quot;AT,test\r\n&amp;quot;;
        printk(&amp;quot;Hello, World!\r\n&amp;quot;);

        uart_wifi = device_get_binding(&amp;quot;UART_2&amp;quot;); // &amp;quot;UART_1&amp;quot; works fine. &amp;quot;UART_2&amp;quot; does not work out.
        if (!uart_wifi) {
		printk(&amp;quot;error\r\n&amp;quot;);
	}
        uart_irq_rx_disable(uart_wifi);
        uart_irq_callback_set(uart_wifi, uart_cb); // Set UART interrupt callback
        uart_irq_rx_enable(uart_wifi);

	while (1) {
                printk(&amp;quot;loop head\r\n&amp;quot;);
                uart_send_str(uart_wifi, command);
                printk(&amp;quot;enter sleep\r\n&amp;quot;);
                __WFI();
	}
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;prj.conf&amp;gt;

CONFIG_SERIAL=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_1_NRF_UARTE=y
CONFIG_UART_2_NRF_UARTE=y
CONFIG_BSD_LIBRARY_TRACE_ENABLED=n
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;nrf9160_pca10090.dts&amp;gt;

/dts-v1/;
#include &amp;lt;nordic/nrf9160_xxaa.dtsi&amp;gt;

/ {
	model = &amp;quot;Nordic PCA10090 Dev Kit&amp;quot;;
	compatible = &amp;quot;nordic,pca10090-dk&amp;quot;, &amp;quot;nordic,nrf9160-xxaa&amp;quot;;

	chosen {
		zephyr,console = &amp;amp;uart0;
                zephyr,debug = &amp;amp;uart1;
                zephyr,uart-wifi = &amp;amp;uart2;
		zephyr,sram = &amp;amp;sram0;
		zephyr,flash = &amp;amp;flash0;
	};

	aliases {
		led0 = &amp;amp;led0;
		led1 = &amp;amp;led1;
		led2 = &amp;amp;led2;
		led3 = &amp;amp;led3;
		sw0 = &amp;amp;button2;
		sw1 = &amp;amp;button3;
		sw2 = &amp;amp;button0;
		sw3 = &amp;amp;button1;
	};

	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt;&amp;amp;gpio0 2 GPIO_INT_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 0&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt;&amp;amp;gpio0 3 GPIO_INT_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt;&amp;amp;gpio0 4 GPIO_INT_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt;&amp;amp;gpio0 5 GPIO_INT_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 3&amp;quot;;
		};
	};

	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
		button0: button_0 {
			gpios = &amp;lt;&amp;amp;gpio0 8 GPIO_PUD_PULL_UP&amp;gt;;
			label = &amp;quot;Switch 1&amp;quot;;
		};
		button1: button_1 {
			gpios = &amp;lt;&amp;amp;gpio0 9 GPIO_PUD_PULL_UP&amp;gt;;
			label = &amp;quot;Switch 2&amp;quot;;
		};
		button2: button_2 {
			gpios = &amp;lt;&amp;amp;gpio0 6 GPIO_PUD_PULL_UP&amp;gt;;
			label = &amp;quot;Push button 1&amp;quot;;
		};
		button3: button_3 {
			gpios = &amp;lt;&amp;amp;gpio0 7 GPIO_PUD_PULL_UP&amp;gt;;
			label = &amp;quot;Push button 2&amp;quot;;
		};
	};

	sram0_bsd: memory@20010000 {
		device_type = &amp;quot;memory&amp;quot;;
		compatible = &amp;quot;mmio-sram&amp;quot;;
	};
};

&amp;amp;uart0 {
	status = &amp;quot;ok&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;29&amp;gt;;
	rx-pin = &amp;lt;28&amp;gt;;
	rts-pin = &amp;lt;27&amp;gt;;
	cts-pin = &amp;lt;26&amp;gt;;
};

&amp;amp;uart1 {
	status = &amp;quot;ok&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;1&amp;gt;;
	rx-pin = &amp;lt;0&amp;gt;;
	rts-pin = &amp;lt;14&amp;gt;;
	cts-pin = &amp;lt;15&amp;gt;;
};

&amp;amp;uart2 {
	status = &amp;quot;ok&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;10&amp;gt;;
	rx-pin = &amp;lt;11&amp;gt;;
};

...&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175967?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 14:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b181169-d94b-4d0f-b911-3418c05c9207</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The behavior depends on what you do in your example.&lt;/p&gt;
&lt;p&gt;The TXD pin should be high when idle, while the RXD pin should be floating when its not connected to another UART. Have you connected another UART to the GPIOs?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For testing reasons, you could add a loop where you send over UART2, using &amp;quot;uart_tx(..)&amp;quot; for instance.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175942?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 13:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8fa2689-fb7e-405e-bde9-aa7942a79a76</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you for your advice!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I added&amp;nbsp;&lt;span&gt;&amp;quot;CONFIG_UART_2_NRF_UARTE=y&amp;quot; to a wrong file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Building and Running were successful when I added it to correct file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, I can&amp;#39;t communicate through UART yet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tx pin is P0.10 = Pin 3 in P19.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;nbsp;checked the waveform of the Pin 3 with an o&lt;/span&gt;&lt;span lang="en"&gt;scilloscope, but there is no signal.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;Do you now why?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175824?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 07:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f54dd482-5d17-45f8-8fff-75c497d66e97</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Did you add &amp;quot;CONFIG_UART_2_NRF_UARTE=y&amp;quot; to your prj.conf? Are you using the bsdlib in this project? It tries to use UART2 unless you add &amp;quot;CONFIG_BSD_LIBRARY_TRACE_ENABLED=n&amp;quot; to the prj.conf.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175728?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 15:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3268b8fe-cc09-44b8-a36d-37e851b85d79</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you so much for your reply.&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;span&gt;&amp;nbsp;I&amp;#39;d recommend that you use GPIOs between P0.10 and P0.20,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Get it. Then I set uart2 as shown below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;nrf9160_pca10090.dts&amp;gt;

{

	chosen {
	    ..
        zephyr,uart-wifi = &amp;amp;uart2;
		..
	};
}

&amp;amp;uart2 {
	status = &amp;quot;ok&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;10&amp;gt;;
	rx-pin = &amp;lt;11&amp;gt;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void main(void)
{
    printk(&amp;quot;Hello, World!\r\n&amp;quot;);
    uart_wifi = device_get_binding(&amp;quot;UART_2&amp;quot;);
    if (!uart_wifi) {
    	printk(&amp;quot;error\r\n&amp;quot;);
	}
	..
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, &amp;quot;device_get_binding&amp;quot; does not work well and get error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;build is successful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you know why?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175597?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 10:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1281ff1-b6ae-4d78-b438-0a2238a2d2e1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You can do that similarly as shown in the uart example here, where you alter the main.c to use UART1:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/uart/src/main.c#L31"&gt;https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/uart/src/main.c#L31&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In prj.conf, you add:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_UART_1_NRF_UARTE=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And the overlay file should then hold your uart1 configuration:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart1 {
  status = &amp;quot;ok&amp;quot;;
  current-speed = &amp;lt;115200&amp;gt;;
  tx-pin = &amp;lt;1&amp;gt;;
  rx-pin = &amp;lt;0&amp;gt;;
  rts-pin = &amp;lt;14&amp;gt;;
  cts-pin = &amp;lt;15&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The above pin-out goes to the virtual com port on the nRF9160-DK. If you want to connect the pins externally, I&amp;#39;d recommend that you use GPIOs between P0.10 and P0.20, as these are default routed out to the pin lists on the DK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175458?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 16:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f167c09b-d2da-49ea-8836-69f028e31ee9</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I want to use UARTs other than UART0, because UART0 is used for printk func. So how do you let nRF9160 communicate with an external module through UART1, or 2?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to communicate an external module through UART in nRF9160DK?</title><link>https://devzone.nordicsemi.com/thread/175414?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 14:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e0954f-b75b-4a16-b645-f07fc8d4007f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, you can override the UART0 pinout using a .overlay file, as explained here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44114/continuous-wave-for-nrf9160/174022#174022"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44114/continuous-wave-for-nrf9160/174022#174022&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this .overlay file must be done in both the secure_boot and the non-secure application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>