<?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>Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93831/nrf9160-restarts-due-to-adding-serial-ports</link><description>hi: 
 I use ncs v2.1.1 
 Add uart1 or uart0 to the bink example. 
 results of enforcement: 
 
 prj.conf 
 
 
 Source code part:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Nov 2022 10:13:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93831/nrf9160-restarts-due-to-adding-serial-ports" /><item><title>RE: Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/thread/395508?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 10:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9918a5a3-2010-4ec5-b660-0eb03f160147</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;You have enabled both UART1 and I2C1 (TWI1), while your error message stated pretty clearly you cannot do this.&lt;/p&gt;
&lt;p&gt;Have you considered using another uart than UART1?&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/thread/395499?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 09:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc3d2f20-bb54-4dd4-967c-0a20592e2fbc</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I added&lt;/p&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;my_uart: &amp;amp;uart1 {
	status = &amp;quot;okay&amp;quot;;
};&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;to&amp;nbsp;nrf9160dk_nrf9160_ns.overlay.&lt;/p&gt;
&lt;p&gt;But there was an error in the build.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1668418581742v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/dts-v1/;

/ {
	#address-cells = &amp;lt; 0x1 &amp;gt;;
	#size-cells = &amp;lt; 0x1 &amp;gt;;
	model = &amp;quot;Nordic nRF9160 DK NRF9160&amp;quot;;
	compatible = &amp;quot;nordic,nrf9160-dk-nrf9160&amp;quot;;
	chosen {
		zephyr,flash-controller = &amp;amp;flash_controller;
		zephyr,entropy = &amp;amp;cryptocell_sw;
		zephyr,console = &amp;amp;uart0;
		zephyr,shell-uart = &amp;amp;uart0;
		zephyr,uart-mcumgr = &amp;amp;uart0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,sram = &amp;amp;sram0_ns;
		zephyr,code-partition = &amp;amp;slot0_ns_partition;
	};
	aliases {
		led0 = &amp;amp;led0;
		led1 = &amp;amp;led1;
		led2 = &amp;amp;led2;
		led3 = &amp;amp;led3;
		pwm-led0 = &amp;amp;pwm_led0;
		sw0 = &amp;amp;button0;
		sw1 = &amp;amp;button1;
		sw2 = &amp;amp;button2;
		sw3 = &amp;amp;button3;
		bootloader-led0 = &amp;amp;led0;
		mcuboot-button0 = &amp;amp;button0;
		mcuboot-led0 = &amp;amp;led0;
		watchdog0 = &amp;amp;wdt0;
	};
	soc {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		compatible = &amp;quot;nordic,nRF9160-SICA&amp;quot;, &amp;quot;nordic,nRF9160&amp;quot;, &amp;quot;nordic,nRF91&amp;quot;, &amp;quot;simple-bus&amp;quot;;
		interrupt-parent = &amp;lt; &amp;amp;nvic &amp;gt;;
		ranges;
		nvic: interrupt-controller@e000e100 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			compatible = &amp;quot;arm,v8m-nvic&amp;quot;;
			reg = &amp;lt; 0xe000e100 0xc00 &amp;gt;;
			interrupt-controller;
			#interrupt-cells = &amp;lt; 0x2 &amp;gt;;
			arm,num-irq-priority-bits = &amp;lt; 0x3 &amp;gt;;
			phandle = &amp;lt; 0x1 &amp;gt;;
		};
		systick: timer@e000e010 {
			compatible = &amp;quot;arm,armv8m-systick&amp;quot;;
			reg = &amp;lt; 0xe000e010 0x10 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
		};
		sram0: memory@20000000 {
			compatible = &amp;quot;mmio-sram&amp;quot;;
			reg = &amp;lt; 0x20000000 0x40000 &amp;gt;;
		};
		peripheral@40000000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			ranges = &amp;lt; 0x0 0x40000000 0x10000000 &amp;gt;;
			flash_controller: flash-controller@39000 {
				compatible = &amp;quot;nordic,nrf91-flash-controller&amp;quot;;
				reg = &amp;lt; 0x39000 0x1000 &amp;gt;;
				partial-erase;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x1 &amp;gt;;
				flash0: flash@0 {
					compatible = &amp;quot;soc-nv-flash&amp;quot;;
					erase-block-size = &amp;lt; 0x1000 &amp;gt;;
					write-block-size = &amp;lt; 0x4 &amp;gt;;
					reg = &amp;lt; 0x0 0x100000 &amp;gt;;
					partitions {
						compatible = &amp;quot;fixed-partitions&amp;quot;;
						#address-cells = &amp;lt; 0x1 &amp;gt;;
						#size-cells = &amp;lt; 0x1 &amp;gt;;
						boot_partition: partition@0 {
							label = &amp;quot;mcuboot&amp;quot;;
							reg = &amp;lt; 0x0 0x10000 &amp;gt;;
						};
						slot0_partition: partition@10000 {
							label = &amp;quot;image-0&amp;quot;;
							reg = &amp;lt; 0x10000 0x40000 &amp;gt;;
						};
						slot0_ns_partition: partition@50000 {
							label = &amp;quot;image-0-nonsecure&amp;quot;;
							reg = &amp;lt; 0x50000 0x30000 &amp;gt;;
						};
						slot1_partition: partition@80000 {
							label = &amp;quot;image-1&amp;quot;;
							reg = &amp;lt; 0x80000 0x40000 &amp;gt;;
						};
						slot1_ns_partition: partition@c0000 {
							label = &amp;quot;image-1-nonsecure&amp;quot;;
							reg = &amp;lt; 0xc0000 0x30000 &amp;gt;;
						};
						scratch_partition: partition@f0000 {
							label = &amp;quot;image-scratch&amp;quot;;
							reg = &amp;lt; 0xf0000 0xa000 &amp;gt;;
						};
						storage_partition: partition@fa000 {
							label = &amp;quot;storage&amp;quot;;
							reg = &amp;lt; 0xfa000 0x6000 &amp;gt;;
						};
					};
				};
			};
			adc: adc@e000 {
				compatible = &amp;quot;nordic,nrf-saadc&amp;quot;;
				reg = &amp;lt; 0xe000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xe 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
				phandle = &amp;lt; 0x14 &amp;gt;;
			};
			dppic: dppic@17000 {
				compatible = &amp;quot;nordic,nrf-dppic&amp;quot;;
				reg = &amp;lt; 0x17000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu0: egu@1b000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1b000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1b 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu1: egu@1c000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1c000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1c 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu2: egu@1d000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1d000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1d 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu3: egu@1e000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1e000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1e 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu4: egu@1f000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1f000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1f 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu5: egu@20000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x20000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x20 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			ipc: ipc@2a000 {
				compatible = &amp;quot;nordic,nrf-ipc&amp;quot;;
				reg = &amp;lt; 0x2a000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x2a 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			i2s0: i2s@28000 {
				compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x28000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x28 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			kmu: kmu@39000 {
				compatible = &amp;quot;nordic,nrf-kmu&amp;quot;;
				reg = &amp;lt; 0x39000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x39 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			pdm0: pdm@26000 {
				compatible = &amp;quot;nordic,nrf-pdm&amp;quot;;
				reg = &amp;lt; 0x26000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x26 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			regulators: regulator@4000 {
				compatible = &amp;quot;nordic,nrf-regulators&amp;quot;;
				reg = &amp;lt; 0x4000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			vmc: vmc@3a000 {
				compatible = &amp;quot;nordic,nrf-vmc&amp;quot;;
				reg = &amp;lt; 0x3a000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			uart0: uart@8000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				current-speed = &amp;lt; 0x1c200 &amp;gt;;
				pinctrl-0 = &amp;lt; &amp;amp;uart0_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;uart0_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
			};
			uart1: arduino_serial: my_uart: uart@9000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				current-speed = &amp;lt; 0x1c200 &amp;gt;;
				pinctrl-0 = &amp;lt; &amp;amp;uart1_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;uart1_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
			};
			uart2: uart@a000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				pinctrl-0 = &amp;lt; &amp;amp;uart2_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;uart2_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
			};
			uart3: uart@b000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			i2c0: i2c@8000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			i2c1: my_i2c: i2c@9000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				pinctrl-0 = &amp;lt; &amp;amp;i2c1_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;i2c1_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
			};
			i2c2: arduino_i2c: i2c@a000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				pinctrl-0 = &amp;lt; &amp;amp;i2c2_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;i2c2_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
			};
			i2c3: i2c@b000 {
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			spi0: spi@8000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				max-frequency = &amp;lt; 0x7a1200 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			spi1: spi@9000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				max-frequency = &amp;lt; 0x7a1200 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			spi2: spi@a000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				max-frequency = &amp;lt; 0x7a1200 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
			};
			spi3: arduino_spi: spi@b000 {
				compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				max-frequency = &amp;lt; 0x7a1200 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				cs-gpios = &amp;lt; &amp;amp;arduino_header 0x10 0x1 &amp;gt;;
				pinctrl-0 = &amp;lt; &amp;amp;spi3_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;spi3_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
			};
			pwm0: pwm@21000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x21000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x21 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				#pwm-cells = &amp;lt; 0x3 &amp;gt;;
				pinctrl-0 = &amp;lt; &amp;amp;pwm0_default &amp;gt;;
				pinctrl-1 = &amp;lt; &amp;amp;pwm0_sleep &amp;gt;;
				pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
				phandle = &amp;lt; 0x12 &amp;gt;;
			};
			pwm1: pwm@22000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x22000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x22 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				#pwm-cells = &amp;lt; 0x3 &amp;gt;;
			};
			pwm2: pwm@23000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x23000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x23 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				#pwm-cells = &amp;lt; 0x3 &amp;gt;;
			};
			pwm3: pwm@24000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x24000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x24 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				#pwm-cells = &amp;lt; 0x3 &amp;gt;;
			};
			gpio0: gpio@842500 {
				compatible = &amp;quot;nordic,nrf-gpio&amp;quot;;
				gpio-controller;
				reg = &amp;lt; 0x842500 0x300 &amp;gt;;
				#gpio-cells = &amp;lt; 0x2 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				port = &amp;lt; 0x0 &amp;gt;;
				phandle = &amp;lt; 0x11 &amp;gt;;
			};
			rtc0: rtc@14000 {
				compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
				reg = &amp;lt; 0x14000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x4 &amp;gt;;
				interrupts = &amp;lt; 0x14 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				clock-frequency = &amp;lt; 0x8000 &amp;gt;;
				prescaler = &amp;lt; 0x1 &amp;gt;;
			};
			rtc1: rtc@15000 {
				compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
				reg = &amp;lt; 0x15000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x4 &amp;gt;;
				interrupts = &amp;lt; 0x15 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				clock-frequency = &amp;lt; 0x8000 &amp;gt;;
				prescaler = &amp;lt; 0x1 &amp;gt;;
			};
			clock: clock@5000 {
				compatible = &amp;quot;nordic,nrf-clock&amp;quot;;
				reg = &amp;lt; 0x5000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x5 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			power: power@5000 {
				compatible = &amp;quot;nordic,nrf-power&amp;quot;;
				reg = &amp;lt; 0x5000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x5 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			wdt: wdt0: watchdog@18000 {
				compatible = &amp;quot;nordic,nrf-wdt&amp;quot;;
				reg = &amp;lt; 0x18000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x18 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			timer0: timer@f000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0xf000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0xf 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
			};
			timer1: timer@10000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0x10000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0x10 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
			};
			timer2: timer@11000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0x11000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0x11 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
			};
		};
		gpiote: gpiote@40031000 {
			compatible = &amp;quot;nordic,nrf-gpiote&amp;quot;;
			reg = &amp;lt; 0x40031000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x31 0x5 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
	};
	pinctrl: pin-controller {
		compatible = &amp;quot;nordic,nrf-pinctrl&amp;quot;;
		uart0_default: uart0_default {
			phandle = &amp;lt; 0x2 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x1d &amp;gt;, &amp;lt; 0x2001b &amp;gt;;
			};
			group2 {
				psels = &amp;lt; 0x1001c &amp;gt;, &amp;lt; 0x3001a &amp;gt;;
				bias-pull-up;
			};
		};
		uart0_sleep: uart0_sleep {
			phandle = &amp;lt; 0x3 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x1d &amp;gt;, &amp;lt; 0x1001c &amp;gt;, &amp;lt; 0x2001b &amp;gt;, &amp;lt; 0x3001a &amp;gt;;
				low-power-enable;
			};
		};
		uart1_default: uart1_default {
			phandle = &amp;lt; 0x4 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x15 &amp;gt;, &amp;lt; 0x10016 &amp;gt;;
			};
			group2 {
				psels = &amp;lt; 0x10000 &amp;gt;, &amp;lt; 0x3000f &amp;gt;;
				bias-pull-up;
			};
		};
		uart1_sleep: uart1_sleep {
			phandle = &amp;lt; 0x5 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x15 &amp;gt;, &amp;lt; 0x10016 &amp;gt;;
				low-power-enable;
			};
		};
		uart2_default: uart2_default {
			phandle = &amp;lt; 0x6 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x18 &amp;gt;, &amp;lt; 0x10017 &amp;gt;;
			};
		};
		uart2_sleep: uart2_sleep {
			phandle = &amp;lt; 0x7 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x18 &amp;gt;, &amp;lt; 0x10017 &amp;gt;;
				low-power-enable;
			};
		};
		i2c2_default: i2c2_default {
			phandle = &amp;lt; 0xa &amp;gt;;
			group1 {
				psels = &amp;lt; 0xc000d &amp;gt;, &amp;lt; 0xb000e &amp;gt;;
			};
		};
		i2c2_sleep: i2c2_sleep {
			phandle = &amp;lt; 0xb &amp;gt;;
			group1 {
				psels = &amp;lt; 0xc000d &amp;gt;, &amp;lt; 0xb000e &amp;gt;;
				low-power-enable;
			};
		};
		pwm0_default: pwm0_default {
			phandle = &amp;lt; 0xf &amp;gt;;
			group1 {
				psels = &amp;lt; 0x160002 &amp;gt;;
			};
		};
		pwm0_sleep: pwm0_sleep {
			phandle = &amp;lt; 0x10 &amp;gt;;
			group1 {
				psels = &amp;lt; 0x160002 &amp;gt;;
				low-power-enable;
			};
		};
		spi3_default: spi3_default {
			phandle = &amp;lt; 0xd &amp;gt;;
			group1 {
				psels = &amp;lt; 0x4000d &amp;gt;, &amp;lt; 0x6000c &amp;gt;, &amp;lt; 0x5000b &amp;gt;;
			};
		};
		spi3_sleep: spi3_sleep {
			phandle = &amp;lt; 0xe &amp;gt;;
			group1 {
				psels = &amp;lt; 0x4000d &amp;gt;, &amp;lt; 0x6000c &amp;gt;, &amp;lt; 0x5000b &amp;gt;;
				low-power-enable;
			};
		};
		i2c1_default: i2c1_default {
			phandle = &amp;lt; 0x8 &amp;gt;;
			group1 {
				psels = &amp;lt; 0xc0012 &amp;gt;, &amp;lt; 0xb0013 &amp;gt;;
				bias-pull-up;
				nordic,drive-mode = &amp;lt; 0x6 &amp;gt;;
			};
		};
		i2c1_sleep: i2c1_sleep {
			phandle = &amp;lt; 0x9 &amp;gt;;
			group1 {
				psels = &amp;lt; 0xc0012 &amp;gt;, &amp;lt; 0xb0013 &amp;gt;;
				low-power-enable;
			};
		};
	};
	rng_hci: entropy_bt_hci {
		compatible = &amp;quot;zephyr,bt-hci-entropy&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
	cpus {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x0 &amp;gt;;
		cpu@0 {
			device_type = &amp;quot;cpu&amp;quot;;
			compatible = &amp;quot;arm,cortex-m33f&amp;quot;;
			reg = &amp;lt; 0x0 &amp;gt;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			mpu: mpu@e000ed90 {
				compatible = &amp;quot;arm,armv8m-mpu&amp;quot;;
				reg = &amp;lt; 0xe000ed90 0x40 &amp;gt;;
				arm,num-mpu-regions = &amp;lt; 0x10 &amp;gt;;
			};
		};
	};
	cryptocell_sw: cryptocell-sw {
		compatible = &amp;quot;nordic,nrf-cc310-sw&amp;quot;;
		label = &amp;quot;CRYPTOCELL_SW&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: my_gpio: led_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0xf 0x0 &amp;gt;;
			label = &amp;quot;Ctrl IO&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x3 0x0 &amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x4 0x0 &amp;gt;;
			label = &amp;quot;Green LED 3&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x5 0x0 &amp;gt;;
			label = &amp;quot;Green LED 4&amp;quot;;
		};
	};
	pwmleds {
		compatible = &amp;quot;pwm-leds&amp;quot;;
		pwm_led0: pwm_led_0 {
			pwms = &amp;lt; &amp;amp;pwm0 0x0 0x1312d00 0x0 &amp;gt;;
		};
	};
	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
		button0: button_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x6 0x11 &amp;gt;;
			label = &amp;quot;Push button 1&amp;quot;;
		};
		button1: button_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x7 0x11 &amp;gt;;
			label = &amp;quot;Push button 2&amp;quot;;
		};
		button2: button_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x8 0x11 &amp;gt;;
			label = &amp;quot;Switch 1&amp;quot;;
		};
		button3: button_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x9 0x11 &amp;gt;;
			label = &amp;quot;Switch 2&amp;quot;;
		};
	};
	interface_to_nrf52840: gpio-interface {
		compatible = &amp;quot;nordic,nrf9160dk-nrf52840-interface&amp;quot;;
		#gpio-cells = &amp;lt; 0x2 &amp;gt;;
		gpio-map-mask = &amp;lt; 0xf 0x0 &amp;gt;;
		gpio-map-pass-thru = &amp;lt; 0x0 0xffffffff &amp;gt;;
		gpio-map = &amp;lt; 0x0 0x0 &amp;amp;gpio0 0x11 0x0 &amp;gt;, &amp;lt; 0x1 0x0 &amp;amp;gpio0 0x12 0x0 &amp;gt;, &amp;lt; 0x2 0x0 &amp;amp;gpio0 0x13 0x0 &amp;gt;, &amp;lt; 0x3 0x0 &amp;amp;gpio0 0x15 0x0 &amp;gt;, &amp;lt; 0x4 0x0 &amp;amp;gpio0 0x16 0x0 &amp;gt;, &amp;lt; 0x5 0x0 &amp;amp;gpio0 0x17 0x0 &amp;gt;;
		phandle = &amp;lt; 0x13 &amp;gt;;
	};
	nrf52840_reset: gpio-reset {
		compatible = &amp;quot;nordic,nrf9160dk-nrf52840-reset&amp;quot;;
		status = &amp;quot;disabled&amp;quot;;
		gpios = &amp;lt; &amp;amp;interface_to_nrf52840 0x5 0x0 &amp;gt;;
	};
	arduino_header: connector {
		compatible = &amp;quot;arduino-header-r3&amp;quot;;
		#gpio-cells = &amp;lt; 0x2 &amp;gt;;
		gpio-map-mask = &amp;lt; 0xffffffff 0xffffffc0 &amp;gt;;
		gpio-map-pass-thru = &amp;lt; 0x0 0x3f &amp;gt;;
		gpio-map = &amp;lt; 0x0 0x0 &amp;amp;gpio0 0xe 0x0 &amp;gt;, &amp;lt; 0x1 0x0 &amp;amp;gpio0 0xf 0x0 &amp;gt;, &amp;lt; 0x2 0x0 &amp;amp;gpio0 0x10 0x0 &amp;gt;, &amp;lt; 0x3 0x0 &amp;amp;gpio0 0x11 0x0 &amp;gt;, &amp;lt; 0x4 0x0 &amp;amp;gpio0 0x12 0x0 &amp;gt;, &amp;lt; 0x5 0x0 &amp;amp;gpio0 0x13 0x0 &amp;gt;, &amp;lt; 0x6 0x0 &amp;amp;gpio0 0x0 0x0 &amp;gt;, &amp;lt; 0x7 0x0 &amp;amp;gpio0 0x1 0x0 &amp;gt;, &amp;lt; 0x8 0x0 &amp;amp;gpio0 0x2 0x0 &amp;gt;, &amp;lt; 0x9 0x0 &amp;amp;gpio0 0x3 0x0 &amp;gt;, &amp;lt; 0xa 0x0 &amp;amp;gpio0 0x4 0x0 &amp;gt;, &amp;lt; 0xb 0x0 &amp;amp;gpio0 0x5 0x0 &amp;gt;, &amp;lt; 0xc 0x0 &amp;amp;gpio0 0x6 0x0 &amp;gt;, &amp;lt; 0xd 0x0 &amp;amp;gpio0 0x7 0x0 &amp;gt;, &amp;lt; 0xe 0x0 &amp;amp;gpio0 0x8 0x0 &amp;gt;, &amp;lt; 0xf 0x0 &amp;amp;gpio0 0x9 0x0 &amp;gt;, &amp;lt; 0x10 0x0 &amp;amp;gpio0 0xa 0x0 &amp;gt;, &amp;lt; 0x11 0x0 &amp;amp;gpio0 0xb 0x0 &amp;gt;, &amp;lt; 0x12 0x0 &amp;amp;gpio0 0xc 0x0 &amp;gt;, &amp;lt; 0x13 0x0 &amp;amp;gpio0 0xd 0x0 &amp;gt;, &amp;lt; 0x14 0x0 &amp;amp;gpio0 0x1e 0x0 &amp;gt;, &amp;lt; 0x15 0x0 &amp;amp;gpio0 0x1f 0x0 &amp;gt;;
		phandle = &amp;lt; 0xc &amp;gt;;
	};
	arduino_adc: analog-connector {
		compatible = &amp;quot;arduino,uno-adc&amp;quot;;
		#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
		io-channel-map = &amp;lt; 0x0 &amp;amp;adc 0x1 &amp;gt;, &amp;lt; 0x1 &amp;amp;adc 0x2 &amp;gt;, &amp;lt; 0x2 &amp;amp;adc 0x3 &amp;gt;, &amp;lt; 0x3 &amp;amp;adc 0x4 &amp;gt;, &amp;lt; 0x4 &amp;amp;adc 0x5 &amp;gt;, &amp;lt; 0x5 &amp;amp;adc 0x6 &amp;gt;;
	};
	reserved-memory {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		ranges;
		sram0_s: image_s@20000000 {
			reg = &amp;lt; 0x20000000 0x16000 &amp;gt;;
		};
		sram0_modem: image_modem@20016000 {
			reg = &amp;lt; 0x20016000 0xa000 &amp;gt;;
		};
		sram0_ns: image_ns@20020000 {
			reg = &amp;lt; 0x20020000 0x20000 &amp;gt;;
		};
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/thread/395497?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 09:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:552bc393-24e9-4dd1-a650-8dc0c4b29fc9</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;UART1 is disabled by the nrf9160dk_nrf9160_ns board definition, see &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts#L19_L22"&gt;UART1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;/* Disable UART1, because it is used by default in TF-M */&lt;br /&gt;&amp;amp;uart1 {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;Your log indicates that by &amp;quot;UART not ready&amp;quot;. I guess , your variable &amp;quot;uart&amp;quot; is therefore still NULL.&lt;/p&gt;
&lt;p&gt;If the uart is not available, and your variable is NULL, you can&amp;#39;t call user_uart_rx_enable, it will not work anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/thread/395481?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 08:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39914387-0bcc-4264-b74e-dba66ca326ae</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could you share the content of your UART1 node from your devicetree found in build/zephyr/zephyr.dts?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/thread/395480?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 08:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2007cea5-2140-4215-b57d-a86e03fd840b</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;I changed it to this, but it failed and kept resetting.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;void uart_init(void)
{
&amp;#160; &amp;#160; uart = device_get_binding(DT_NODE_FULL_NAME(DT_NODELABEL(uart1)));
&amp;#160; &amp;#160; if (!device_is_ready(uart)) { printk(&amp;quot;UART not ready!\n&amp;quot;); }
&amp;#160; &amp;#160; user_uart_rx_enable();
}&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1668414831255v1.png" alt=" " /&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 restarts due to adding serial ports</title><link>https://devzone.nordicsemi.com/thread/395464?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 06:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:133cbda3-9bd0-4d0e-85c9-6fef49807f34</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;quot;uart = device_get_binding(&amp;quot;UART_1&amp;quot;);&amp;quot;&lt;/p&gt;
&lt;p&gt;Starting with NCS 2.1.0, this returns NULL.&lt;/p&gt;
&lt;p&gt;&amp;quot;uart = DEVICE_DT_GET(DT_NODELABEL(uart1))&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&amp;quot;uart = device_get_binding(DT_NODE_FULL_NAME(DT_NODELABEL(uart1)))&amp;quot;&lt;/p&gt;
&lt;p&gt;works. I would always add the check&lt;/p&gt;
&lt;p&gt;&amp;quot;if (!device_is_ready(uart)) { printk(&amp;quot;UART not ready!\n&amp;quot;); }&amp;quot;&lt;/p&gt;
&lt;p&gt;to see, if the device is available and ready.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>