<?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 pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70327/i2c-pin-connections-on-nrf9160-dk</link><description>In the nrfConnect SDK I can see just one example for a I2C sensor - BH1749 
 I want to modify this for other I2C sensors. 
 However the README does not explain how to make the connections. The nrf9160 datasheet does not seem to help much. 
 Can you suggest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jan 2021 12:38:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70327/i2c-pin-connections-on-nrf9160-dk" /><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/289198?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 12:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:088488e4-b745-4465-9840-53e9aa99618a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Good to hear!&lt;br /&gt;&lt;br /&gt; I guess UART1 or some other _1-peripheral is active somehow.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/289192?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 12:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aede625-f69b-4b57-a38b-db6b3129a85d</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Many thx Carl.&lt;/p&gt;
&lt;p&gt;Switching over to I2C2 fixed it.&amp;nbsp; Sensible values coming back from the sensor.&lt;/p&gt;
&lt;p&gt;Regards, Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/289172?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 11:46:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f506916-3a5a-4a80-a84d-29fdcb137821</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;The sensor is appearently not communicating properly with the nRF9160. Are you able to probe the pin P0.10 and P0.11 to see if there are any activity at all? If no activity, could you try using I2C_2 instead? There may be some interference with UART_1. In addition, could you have a look at what Jan Tore mentions in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60411/nrf9160-with-bme280-sensor/245778#245778"&gt;this comment&lt;/a&gt;&amp;nbsp;about the BME280 on nRF9160?&lt;br /&gt;&lt;br /&gt; I2C can access any of the GPIOs to that should not be an issue. You can read more about available GPIO on the DK &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/if_connector.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/289015?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 18:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3ec9d45-41d1-43b8-a99d-429984e20ba7</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx Carl,&lt;/p&gt;
&lt;p&gt;OK.&amp;nbsp; I checked the config against that example, also made sure that the connections were OK, including setting VDD to 3.3v.&amp;nbsp; I checked at the datasheets for BME280 (its address is 0x76) and tried a second module in case the first one was not working.&lt;/p&gt;
&lt;p&gt;I wanted to verify the I2C_1 is accessible on PO.10 and PO.11 but could not find that in the user guide.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m stuck now.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to be able to look at what&amp;#39;s happening during the call to device_get_binding() but I don&amp;#39;t understand enough about all the driver magic that relies on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288900?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 11:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20561c73-dae3-4c16-b81f-45d2b39cc618</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;I see. It should not be necessary to change the prj.conf.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Are your sure that the correct adress for the sensor is used in the overlay? If you&amp;#39;re using a different board for the BME280 than &lt;a href="https://thinkrobotics.in/products/bme280-digital-sensor"&gt;the one in the tutorial&lt;/a&gt;&amp;nbsp;the address may be different aswell. I believe the address is available in the documentation of the sensor board, but if it isn&amp;#39;t you could use this unofficial&amp;nbsp;&lt;a href="https://github.com/crfosse/ncs_projects/tree/main/peripheral/i2c"&gt;I2C scanner sample&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288878?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 10:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc080b4b-90c6-4b50-821f-7eeeb3c28f1f</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx Carl,&lt;/p&gt;
&lt;p&gt;Just changing the overlay did not fix it.&lt;/p&gt;
&lt;p&gt;in prj.conf would this still be correct?&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;CONFIG_SENSOR=y&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;CONFIG_BME280=y&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;CONFIG_I2C_1=y&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;CONFIG_I2C=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288812?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 07:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aed95339-6703-4675-8857-62a2c58376fb</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;Could you try to use P0.10 and P0.11 instead? These should work just as well for I2C.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;P0.30 and P0.31 are used for I2C communication with the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/board_controller.html"&gt;I/O expander of the DK&lt;/a&gt;&amp;nbsp;and are thus not available for use when that is enabled. Apologies for not informing you earlier about this. I was not aware of it myself.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288719?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 15:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a35f7d0d-9e71-421c-956d-f53ebf7771ee</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;OK. We have and error initialising the I2C device:&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p&gt;const struct device *dev = device_get_binding(BME280_LABEL);&lt;/p&gt;
&lt;p&gt;produces dev == NULL&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p&gt;I have downloaded and searched through various documents to check the pin numbering for I2C but found nothing so connections are as above (PO.30 and PO.31).&lt;/p&gt;
&lt;p&gt;Are any other hardware links etc needed?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288685?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 14:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae6e7a4-cc59-4f7d-bccc-19bb5eb88d7e</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Good to hear that it helped you solve the issue! I believe using SPI only will be a manner of changing prj.conf and the overlay, yes.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288666?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 13:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a86a7976-a3ff-4146-9eb4-ba5812405120</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Many thx Carl.&amp;nbsp; That was the issue.&amp;nbsp; I should know better than to trust file system viewers on MacOS (and other platforms).&amp;nbsp; Now to hook it up and fully test...&lt;/p&gt;
&lt;p&gt;Meanwhile, I was looking for an SPI example (bme280 does both).&amp;nbsp; I suppose this would just be an overlay change.&lt;/p&gt;
&lt;p&gt;Regards, Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288622?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 11:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da7df75-045d-4edf-b3ab-5eeba0952106</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;The build fails here as well. &lt;br /&gt;&lt;br /&gt;I see that the nRF9160 overlay you&amp;#39;re using is named &amp;quot;(...).overlay.txt&amp;quot;. Could you try to remove the &amp;quot;.txt&amp;quot; part? That works for me.&lt;br /&gt;&lt;br /&gt;Best regards,&amp;nbsp;&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288610?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 10:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5289dba8-f728-46f4-8f65-84e6333eec8b</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;ncs is 3.6.0&lt;/p&gt;
&lt;p&gt;zip of zephyr/drivers/sensor/bme280 is attached&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bme280.zip"&gt;devzone.nordicsemi.com/.../bme280.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288592?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 10:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8534a41e-6966-43d0-815d-dbbefb6e9688</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again.&lt;br /&gt;&lt;br /&gt;The overlay should be in the correct place. What version of NCS are you using?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please send me a compressed file with the project, so that I could test it here.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288578?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 09:53:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0b32c02-ca11-48b8-9fb3-76a5b6ea8552</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Sorry I forgot to say.&amp;nbsp; On command line:&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;west build -b nrf9160dk_nrf9160ns -p&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288566?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 09:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3b4de5-0624-48c0-8f4a-c7711f039c86</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;I see. How are you building the sample? When using SES the project must be reloaded before the changes apply. When using commandline tools the application should be built as &amp;quot;pristine&amp;quot;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288554?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 08:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9304bae-1062-4c8c-80f1-312a6b2ec87c</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx for the clarification Carl.&lt;/p&gt;
&lt;p&gt;I checked the two files and all is as above, however, I still get the same error.&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;Your devicetree has no enabled nodes with compatible &amp;quot;bosch,bme280&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;I wonder if I have the .overlay file in the right place?&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;```&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;..&lt;/span&gt;&lt;span class="s1"&gt;ncs/zephyr/samples/sensor/&lt;/span&gt;&lt;span class="s1"&gt;bme280&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; boards&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;nrf9160dk_nrf9160ns.overlay&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; build&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; CMakeLists.txt&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; Kconfig&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; prj.conf&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&amp;nbsp; src&lt;/p&gt;
&lt;p class="p1"&gt;&amp;nbsp; &amp;nbsp; main.c&lt;/p&gt;
&lt;p class="p1"&gt;```&lt;/p&gt;
&lt;p class="p1"&gt;BTW. I also checked the .yaml file and put&amp;nbsp;&lt;span&gt;nrf9160dk_nrf9160ns in the platform_allow field.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288535?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 07:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a0ed47d-8594-45ec-8aa4-3f8af523af1f</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;First, you are correct that the DK has two chips on it, but as it is a nRF9160 development kit all GPIO are routed to the SiP. You can read more about available GPIO and the nRF52840&amp;#39;s role on the board in the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_description.html"&gt;Hardware description&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As shown in the tutorial I linked the SDA and SCL pins must be specified in the overlay aswell. Furthermore, I recommend using I2C1 as I2C0 can&amp;#39;t coexist with UART0. UART0 is by default used for serial logging from the DK. When using the following nrf9160dk_nrf9160ns.overlay the sample built successfully for me:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c1 {
    compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	sda-pin = &amp;lt; 30 &amp;gt;;
	scl-pin = &amp;lt; 31 &amp;gt;;
    clock-frequency = &amp;lt;I2C_BITRATE_STANDARD&amp;gt;;  
	
	/* The I2C address could be one of two, here 0x76 is assumed */
	bme280@76 {
		compatible = &amp;quot;bosch,bme280&amp;quot;;
		reg = &amp;lt;0x76&amp;gt;;
		label = &amp;quot;BME280&amp;quot;;
	};
};

&amp;amp;uart1 {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I used the following prj.conf:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SENSOR=y
CONFIG_BME280=y
CONFIG_I2C_1=y
CONFIG_I2C=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288442?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 15:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:163899c0-20e5-4249-ac05-bd84d806a4d2</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx Carl&lt;/p&gt;
&lt;p&gt;I found ../&lt;span class="s1"&gt;ncs/zephyr/samples/sensor/bme280 in the SDK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;Then added&amp;nbsp;nrf9160dk_nrf9160ns.overlay in the boards folder:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;```&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&amp;amp;i2c0 {&lt;br /&gt;&amp;nbsp; bme280@77 {&lt;br /&gt;&amp;nbsp; &amp;nbsp; compatible = &amp;quot;bosch,bme280&amp;quot;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; reg = &amp;lt;0x77&amp;gt;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; label = &amp;quot;BME280&amp;quot;;&lt;br /&gt;&amp;nbsp; };&lt;br /&gt;};&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;```&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;When trying to&amp;nbsp;build this I get&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;```&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;error: #error Your devicetree has no enabled nodes with compatible &amp;quot;bosch,bme280&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;```&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;I don&amp;#39;t understand how to check that the following is valid for&amp;nbsp;&lt;span&gt;nrf9160dk&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;```&lt;/p&gt;
&lt;table height="72"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;BME280&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Board&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SCL&lt;/td&gt;
&lt;td&gt;P0.31&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;SDA&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;P0.30&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;GND&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;GND&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;VIN&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;VDD&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;
&lt;p&gt;PS. Being that the DK has two Nordic chips on it, please note that I want to do this &lt;strong&gt;with the 9160 without using the&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;nRF52840&lt;/strong&gt;.&amp;nbsp; The DK board has pins labelled PO.30 and PO.31 but it&amp;#39;s not clear how these are connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c pin connections on nrf9160-DK</title><link>https://devzone.nordicsemi.com/thread/288313?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 08:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17deecec-2445-4825-ba55-ffac6d7e958b</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi, Paul!&lt;br /&gt;&lt;br /&gt;In &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0#h79sk0f70607qwcyitkx2xn61bmh9mo"&gt;chapter 1.2 of the nRF Connect SDK tutorial - Part 3&lt;/a&gt;, simon explains how the BME280 can be used with the nRF9160. I suggest trying out his approach.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please reach out if you face any difficulities!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>