<?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>i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96589/i2c_write_dt-gives-me--eio</link><description>Hi, 
 I followed the tutorial in the DevAcademy nRF Connect SDK Fundamentals where we try to establish an I2C communication. I managed to compile it, but the i2c_write_dt functions gives me an -EIO (general input / output error). Even the logic analyser</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Mar 2023 10:00:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96589/i2c_write_dt-gives-me--eio" /><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/413196?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 10:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da04d8c4-916f-432e-8514-5cb15bd957d2</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would guess this has to do with changes you&amp;#39;ve done to make it compatible with nRF9160, so it would help to see the exact changes you&amp;#39;ve made.&lt;/p&gt;
&lt;p&gt;But since this is a new issue could you please open a new ticket? This would make it easier for others with similar issues to find the ticket.&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/413117?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 19:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a810ae91-4f7d-4d9e-a94c-379ed95010f2</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;Hi Einarh, thanks! That was the issue. I can now use the I2C bus. However, I have another problem on a similar matter. I am now using the BME680 Sensor from Bosch. I decided to take the library from zephry and did some configuration to make it compatible to nrf9160.&amp;nbsp; I can compile it, but at run time the function device_is_ready() fails.It fails on this line:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1677785375146v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Basically, the dev-&amp;gt;state-&amp;gt;int_res should be 0, but it is 5, which in the errno.h is I/O error. Why is that so? Below are the files:&lt;/p&gt;
&lt;p&gt;main.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2018 Bosch Sensortec GmbH
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include &amp;lt;zephyr/kernel.h&amp;gt;
#include &amp;lt;zephyr/device.h&amp;gt;
#include &amp;lt;zephyr/drivers/sensor.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;

void main(void)
{
	const struct device *const dev = DEVICE_DT_GET_ONE(bosch_bme680);
	struct sensor_value temp, press, humidity, gas_res;

	if (!device_is_ready(dev)) {
		printk(&amp;quot;sensor: device not ready.\n&amp;quot;);
		return;
	}

	printf(&amp;quot;Device %p name is %s\n&amp;quot;, dev, dev-&amp;gt;name);

	while (1) {
		k_sleep(K_MSEC(3000));

		sensor_sample_fetch(dev);
		sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &amp;amp;temp);
		sensor_channel_get(dev, SENSOR_CHAN_PRESS, &amp;amp;press);
		sensor_channel_get(dev, SENSOR_CHAN_HUMIDITY, &amp;amp;humidity);
		sensor_channel_get(dev, SENSOR_CHAN_GAS_RES, &amp;amp;gas_res);

		printf(&amp;quot;T: %d.%06d; P: %d.%06d; H: %d.%06d; G: %d.%06d\n&amp;quot;,
				temp.val1, temp.val2, press.val1, press.val2,
				humidity.val1, humidity.val2, gas_res.val1,
				gas_res.val2);
	}
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrf9160dk_nrf9160_ns.overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
	bme680: bme680@77 {
		compatible = &amp;quot;bosch,bme680&amp;quot;;
		reg = &amp;lt;0x77&amp;gt;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;zephyr.dts&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,entropy = &amp;amp;psa_rng;
		zephyr,flash-controller = &amp;amp;flash_controller;
		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; 0x12 &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: 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;disabled&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: 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;disabled&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;;
				bme680: bme680@77 {
					compatible = &amp;quot;bosch,bme680&amp;quot;;
					reg = &amp;lt; 0x77 &amp;gt;;
				};
			};
			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; 0x10 &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; 0xf &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; 0x1 &amp;gt;, &amp;lt; 0x2000e &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; 0x1 &amp;gt;, &amp;lt; 0x10000 &amp;gt;, &amp;lt; 0x2000e &amp;gt;, &amp;lt; 0x3000f &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; 0x8 &amp;gt;;
			group1 {
				psels = &amp;lt; 0xc001e &amp;gt;, &amp;lt; 0xb001f &amp;gt;;
			};
		};
		i2c2_sleep: i2c2_sleep {
			phandle = &amp;lt; 0x9 &amp;gt;;
			group1 {
				psels = &amp;lt; 0xc001e &amp;gt;, &amp;lt; 0xb001f &amp;gt;;
				low-power-enable;
			};
		};
		pwm0_default: pwm0_default {
			phandle = &amp;lt; 0xd &amp;gt;;
			group1 {
				psels = &amp;lt; 0x160002 &amp;gt;;
			};
		};
		pwm0_sleep: pwm0_sleep {
			phandle = &amp;lt; 0xe &amp;gt;;
			group1 {
				psels = &amp;lt; 0x160002 &amp;gt;;
				low-power-enable;
			};
		};
		spi3_default: spi3_default {
			phandle = &amp;lt; 0xb &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; 0xc &amp;gt;;
			group1 {
				psels = &amp;lt; 0x4000d &amp;gt;, &amp;lt; 0x6000c &amp;gt;, &amp;lt; 0x5000b &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;;
			};
		};
	};
	psa_rng: psa-rng {
		compatible = &amp;quot;zephyr,psa-crypto-rng&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x2 0x0 &amp;gt;;
			label = &amp;quot;Green LED 1&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; 0x11 &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; 0xa &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;p&gt;&lt;/p&gt;
&lt;p&gt;prj.conf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y

# BME680 - Temperature and humidity sensor.
CONFIG_DT_HAS_BOSCH_BME680_ENABLED=y
CONFIG_BME680=y
CONFIG_BME680_TEMP_OVER_2X=y
CONFIG_BME680_PRESS_OVER_16X=y
CONFIG_BME680_HUMIDITY_OVER_1X=y&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/410184?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 21:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b983f6a-6fdb-404c-a979-1b1b443f5446</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;Okay, now I understand. The pins should normally&amp;nbsp; be configured as open-drain. They can only pull to ground. I don&amp;#39;t know where and how this is done in Zephyr.&lt;/p&gt;
&lt;p&gt;I will get an I2C sensor with pull-ups to test if this is the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/409887?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 14:15:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d492af34-0f4c-40f8-9f48-c683e8ad7a39</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Ok I see.&lt;/p&gt;
&lt;p&gt;Then I have a couple pointers:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Your SDA and CLK pins must be pulled up if they aren&amp;#39;t already, it&amp;#39;s likely that what you&amp;#39;re seeing is caused by SDA being grounded.&lt;/li&gt;
&lt;li&gt;&lt;span&gt;TWIM specification says that &amp;quot;If a NACK is clocked in from the slave, the TWI master will generate an ERROR event.&amp;quot; Though it says &amp;quot;from the slave&amp;quot; so this might be irrelevant.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;More info here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Ftwim.html&amp;amp;cp=2_0_0_5_16"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Ftwim.html&amp;amp;cp=2_0_0_5_16&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/409822?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 11:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d247e7f7-6a39-48fb-9979-4713a5823e82</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;I don&amp;#39;t have a sensor connected to the DK at the moment. I just wanted to try to see if I can send the address out.... I should at least get an address and NACK from I2C.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/409805?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 10:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2420dcc5-07f2-40b7-9042-10bb67d618cf</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;I see in your picture that you have the DK, but I don&amp;#39;t see an expansion board/shield.&lt;/p&gt;
&lt;p&gt;What sensor are you communicating with?&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/409698?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 18:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f4a0d54-b469-4498-b4ff-f6b859f7882a</guid><dc:creator>J0sh1101</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I looked in the v2.2.99-dev3\zephyr\boards\arm\nrf9160dk_nrf9160\nrf9160dk_nrf9160_common-pinctrl.dtsi file, and there I found that the i2c2 was used. So I thought it was safe to use.&lt;/p&gt;
&lt;p&gt;I added the zephyr.dts above in the first post and also added the picture of the board to show that I have the right board. I wrote a simple program to trigger an interrupt on the buttons to switch some leds. It worked.&lt;/p&gt;
&lt;p&gt;I have seen in some posts that maybe there is a pull-up configured on the pins, which is causing the error and the strange pulses seen with the logic analyser. With STM you have the configuration in the C file, but I am on thin ice here as I have so much experience with Zephyr and Nordic.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_write_dt gives me -EIO</title><link>https://devzone.nordicsemi.com/thread/409525?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 10:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:854c8679-eeeb-4e2f-a9c1-1afd4e59dd0e</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I assume you actually have an expansion board connected to your DK?&lt;/p&gt;
&lt;p&gt;Also, have you taken this into account, since you&amp;#39;re using the nRF9160 and not the nRF52833:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;Depending on your board, the I2C controller connected to the UNO R3 Connector can be&amp;nbsp;&lt;/span&gt;&lt;code&gt;i2c0&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;code&gt;i2c1&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;i2c2&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span&gt;or&amp;nbsp;&lt;/span&gt;&lt;code&gt;i2c3&lt;/code&gt;&lt;span&gt;. Check the schematic of your board to know which I2C controller the UNO R3 Connector is connected to, like we did at the beginning of this exercise.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Could you share your generated devicetree in &lt;code&gt;/build/zephyr/zephyr.dts&lt;/code&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>