<?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>BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93185/bme280-not-working-on-v2-1-1</link><description>Hi, 
 I have recently updated to V2.1.1 and I can no longer get my BME280 sensor to work. 
 I am using the standard code from the samples directory, 
 
 
 
 my overlay file is this 
 
 
 
 my prj file looks like this 
 
 I am using VS and the line &amp;quot;CONFIG_BME280</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Oct 2022 09:09:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93185/bme280-not-working-on-v2-1-1" /><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/393170?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 09:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75a2a67b-c644-40a5-b029-a2c24bf08aaf</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Thanks Vidar,&lt;/p&gt;
&lt;p&gt;I confirmed that the BME680 device is faulty. I connected it to a Raspberry pi and ran some basic python code which failed to read its ID, it worked with my &amp;#39;280 device.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/393169?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 09:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef5b344a-841b-4845-ad61-6562d3342a80</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Maybe it could have it caused by stales settings, but I think it must have been the pinctrl assignments&amp;nbsp; in that case, as the other configurations shown in your generated zephyr.dts were correct.&lt;/p&gt;
&lt;p&gt;A pristine build is required when you add or remove configurations files.&lt;/p&gt;
&lt;p&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/pastedimage1667204253502v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/ui.html?h="&gt;https://nrfconnect.github.io/vscode-nrf-connect/connect/ui.html?h=&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/393130?ContentTypeID=1</link><pubDate>Sun, 30 Oct 2022 13:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd81310-92d0-4883-aa10-b2b41aa6bc24</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I have moved back to I2C0 and its all working fine. I still cannot get my BME680 sensor to work but I have got both the BME280 and my CFD display, which are both on the !2C0 bus working so am starting to think the &amp;#39;680 could be damaged. So, I am still at a loss to explain what the initial problem was. I am very methodical now about deleting my build directory after major changes. Maybe previously I was picking up some stale settings?&lt;/p&gt;
&lt;p&gt;I am using Visual Studio, I assume I can update the build commands so I can force a pristine build every time.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392957?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2022 08:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9854234-f05f-496d-80a9-8e8614401fd8</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I will check the registers later when i get a chance. I do have external pull ups, this is a board that has been working previously. My board is a nrf52840dongle_nrf52840.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392949?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2022 07:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a0d74c-b446-40f7-b38c-383fb44a458e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;The ticket is open now, so we can continue here.&lt;/p&gt;
&lt;p&gt;Are you able to check the TWIM0/1 registers like shown in my previous comment to see if there are any differences when you change from instance 1 to 0?&lt;/p&gt;
&lt;p&gt;It is also worth checking if the GPIO configuration for the SDA and SCL pin matches this :&amp;nbsp;&lt;span class="item"&gt;&lt;a class="" title="Master mode pin configuration" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/twim.html?cp=4_0_0_5_30_5#concept_x2r_gxp_xr"&gt;Master mode pin configuration&lt;/a&gt;. &lt;/span&gt;&amp;nbsp;&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/pastedimage1666943843133v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit:&amp;nbsp;&lt;/strong&gt;In case you don&amp;#39;t have external pull-ups on the SDA/SCL lines, please add the &amp;#39;bias-pull-up&amp;#39; property to your overlay (ref. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/bindings/pinctrl/nordic,nrf-pinctrl.html#grandchild-node-properties"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/bindings/pinctrl/nordic,nrf-pinctrl.html#grandchild-node-properties&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {

	i2c0_default_alt: i2c0_default_alt {
		group2 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 17)&amp;gt;, &amp;lt;NRF_PSEL(TWIM_SCL, 0, 20)&amp;gt;;
			bias-pull-up;
		};
	};

	i2c0_default_sleep: i2c0_default_sleep {
		group3 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 17)&amp;gt;, &amp;lt;NRF_PSEL(TWIM_SCL, 0, 20)&amp;gt;;
			low-power-enable;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, I don&amp;#39;t think I have asked you earlier, but what board do you build for, is it the &amp;#39;52840dk_nrf52840&amp;#39;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392947?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2022 07:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eb328d3-bdd8-4289-a94f-fb8b7976046b</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Yes, I am also not 100% convinced that this was the actual fix, it could be a coincidence. Previously, I had used !2C0. I will put it back to I2C0 and see if it still works.&lt;/p&gt;
&lt;p&gt;Since posting my &amp;quot;fix&amp;quot;, i have tried to get the BME680 sensor to work and the CFB display, both peripherals I have previously had working, also fail with !2C errors. I think there is someone more fundamental&amp;nbsp;&amp;nbsp;going on here. &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you open this ticket up again?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392945?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2022 07:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a505038c-1291-4c0c-9de2-ae8972c8ffc4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Thank your for the update, I&amp;#39;m glad to hear that it finally works now! Although, it would have been nice to understand why i2c0 did not work.&lt;/p&gt;
&lt;p&gt;The build should have triggered an error at compile if another peripheral&amp;nbsp; &lt;span&gt;&lt;a title="Peripherals with shared ID" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/peripheral_interface.html?cp=4_0_0_5_0_1#concept_shared_id"&gt;with a shared ID&lt;/a&gt; such as spi0 had been enabled. The peripheral also seems to get initialized correctly when I run it here. I will make sure to update this ticket if I figure out what may have caused this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/8623.pastedimage1666942020149v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392892?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 15:11:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce535f46-163e-41e6-9daf-699767ff24a6</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I got it working! I think the change was to move to using I2c1. I also actively disabled some other peripherals. For completeness, I have shared my overlay file below. I am using the standard code from the samples.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
	uart0_default_alt: uart0_default_alt {
		group0 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 24)&amp;gt;, &amp;lt;NRF_PSEL(UART_RX, 0, 22)&amp;gt;;
		};
	};

	uart0_sleep_alt: uart0_sleep_alt {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 24)&amp;gt;, &amp;lt;NRF_PSEL(UART_RX, 0, 22)&amp;gt;;
			low-power-enable;
		};
	};


	i2c1_default_alt: i2c1_default_alt {
		group2 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 17)&amp;gt;, &amp;lt;NRF_PSEL(TWIM_SCL, 0, 20)&amp;gt;;
		};
		
	};

	i2c1_sleep_alt: i2c1_sleep_alt {
		group3 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 17)&amp;gt;, &amp;lt;NRF_PSEL(TWIM_SCL, 0, 20)&amp;gt;;
			low-power-enable;
		};
		
	};
};

&amp;amp;uart0 {
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default_alt&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep_alt&amp;gt;;	
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	compatible = &amp;quot;nordic,nrf-uart&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;i2c1 {
	status = &amp;quot;okay&amp;quot;;
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2c1_default_alt&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c1_sleep_alt&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	clock-frequency = &amp;lt;I2C_BITRATE_STANDARD&amp;gt;;
	bme280@76 {
		compatible = &amp;quot;bosch,bme280&amp;quot;;
		reg = &amp;lt;0x76&amp;gt;;
		label = &amp;quot;BME280&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
};

&amp;amp;i2c0 {
	status = &amp;quot;disabled&amp;quot;;
 };

 &amp;amp;spi0 {
	status = &amp;quot;disabled&amp;quot;;
 };

&amp;amp;spi1 {
	status = &amp;quot;disabled&amp;quot;;
 };

 &amp;amp;gpio0 {
	status = &amp;quot;disabled&amp;quot;;
 };

 &amp;amp;gpio1 {
	status = &amp;quot;disabled&amp;quot;;
 };

 &amp;amp;usbd {
	status = &amp;quot;disabled&amp;quot;;
 };
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392680?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 14:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:302ed4f4-cd8c-464a-bfca-f6225ba40a66</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Sorry, maybe that was a bad example. The &amp;#39;680 is 0x77, the &amp;#39;280 is 0x76.I have tried both. I have also tried both twi and twin.&lt;/p&gt;
&lt;p&gt;Rod&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392663?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 14:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ecc04f-6ae2-4cba-ae54-bff3d4f15b64</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;I notice you are setting the i2c address to 0x77 in the overlay you posted here: &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88912/errors-when-using-bme680-sample-code/372440"&gt;RE: Errors when using BME680 Sample Code&lt;/a&gt; and 0x76 in the one you posted here. Could this be the reason? I guess you could also try to use the TWI instead of the TWIM peripheral by changing &amp;quot;compatible&amp;quot; from &amp;quot;compatible = &amp;quot;nordic,nrf-&lt;strong&gt;twim&lt;/strong&gt;&amp;quot;; to compatible = &amp;quot;nordic,nrf-twi&amp;quot;;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392639?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 13:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd42dd8d-bb20-4f4a-98e0-7bcf24951aef</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Sorry, I was mistaken, the&amp;nbsp;&amp;quot;&lt;span&gt;CONFIG_DT_HAS_BOSCH_BME280_ENABLED not defined&amp;quot; is still there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I cant recall when this stopped working, I know it worked before the&amp;nbsp;changes to the&amp;nbsp;overlay file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88912/errors-when-using-bme680-sample-code"&gt;Errors when using BME680 Sample Code&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since then, the&amp;nbsp;board&amp;nbsp;hasn&amp;#39;t&amp;nbsp;&lt;/span&gt;changed, the pinout hasn&amp;#39;t changed,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392453?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 15:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8500a0f4-5fae-452f-a4a7-05d5527458b1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;OK, this is a good step in the right direction. I have only been focusing on the &amp;quot;CONFIG_DT_HAS_BOSCH_BME280_ENABLED not defined&amp;quot; warning until now. The 2nd error which you are seeing now is a runtime error and comes from the driver here: &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/i2c/i2c_nrfx_twim.c#L171"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/i2c/i2c_nrfx_twim.c#L171&lt;/a&gt;, and it occurs during initialisation of the driver on startup.&lt;/p&gt;
&lt;p&gt;It sounds like you were able to interface with the sensor before you updated to SDK v2.1.1. What version did you use previously? Also, is there anything else that have changed? Pin assignments, etc?&lt;/p&gt;
&lt;p&gt;The best way to troubleshoot this further may be to use a logic analyzer and probe the bus lines, if you have one available.&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392399?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 13:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:298d423a-e056-444f-aed2-e7eaf617a88c</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;No I dont see that error any more, just this one&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Error: Device &amp;quot;BME280&amp;quot; is not ready; check the driver initialization logs for errors.
[00:00:00.753,021] &amp;lt;err&amp;gt; i2c_nrfx_twim: Error on I2C line occurred for message 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392396?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 13:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8faa37fd-764a-434e-940a-e1f170a58562</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Thanks for confirming that &lt;strong&gt;CONFIG_DT_HAS_BOSCH_BME280_ENABLED&lt;/strong&gt; is defined in .config. But do you still see this warning in your build log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BME280 was assigned the value y, but got the value n. Missing dependencies:
DT_HAS_BOSCH_BME280_ENABLED&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;It says CONFIG_BME280 is set to =n because CONFIG_DT_HAS_BOSCH_BME280_ENABLED is not selected.&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392392?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 12:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3daca77-2a16-4ae1-868d-8c8b9563347c</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I can see that&amp;nbsp;&lt;strong&gt;CONFIG_DT_HAS_BOSCH_BME280_ENABLED is enabled in .config&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;However, when I look at my config file, it says its set to n in build&lt;/p&gt;
&lt;p&gt;&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/8623.thumbnail.png" /&gt;&lt;/p&gt;
&lt;p&gt;Yes, I have tried the original code, same error.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392361?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 11:22:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8ff427-7d72-40a3-80f4-981a7d52f426</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Do you still get the warning that the &amp;#39;DT_HAS_BOSCH_BME280_ENABLED&amp;#39; dependency is missing? I tried now to build the sample for &amp;#39;nrf52840dk_nrf52840&amp;#39; with the overlay you posted, but it appears to be working as expected for me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generated zephyr.dts from nrf52840dk_nrf52840 build with overlay&lt;/strong&gt;&lt;/p&gt;
&lt;p&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/pastedimage1666695852087v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CONFIG_DT_HAS_BOSCH_BME280_ENABLED enabled in .config&lt;/strong&gt;&lt;/p&gt;
&lt;p&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/pastedimage1666695878814v3.png" alt=" " /&gt;&lt;/p&gt;
[quote user="RodWatt"]Weirdly, its picking up arduino_i2c?[/quote]
&lt;p&gt;&amp;nbsp;This comes from the board file. Dev kits following the arduino form factor will typically define interfaces such as arduino_i2c, arduino_spi, etc to let the application know what i2c or SPI interface to select when connecting the board to arduino type shields. It&amp;#39;s like a tag/label to help the program select the correct interface. &lt;/p&gt;
&lt;p&gt;Have you tried with the original bme280 sample as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392334?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 10:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17753735-ee7c-4f2f-a39b-4f156502abce</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Mine looks like this,&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/thumbnail.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Weirdly, its picking up arduino_i2c?&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392280?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 05:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef04dd8f-ca33-4bf7-a478-acb68bf92023</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Could you check the generated zephyr dts in your build folder to see if it match your overlay (&amp;lt;build dir&amp;gt;/zephyr/zephyr.dts)?&lt;/p&gt;
&lt;p&gt;For comparison, this is what I get if I build the bme280 sample for the &amp;#39;bl654_sensor_board&amp;#39;:&lt;/p&gt;
&lt;p&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/pastedimage1666677163620v1.png" alt=" " /&gt;&lt;/p&gt;
[quote userid="76221" url="~/f/nordic-q-a/93185/bme280-not-working-on-v2-1-1/392254"]But this is now throwing an error, has this syntax changed?[/quote]
&lt;p&gt;Yes, the peripheral IO properties were replaced with pinctrl. So, they are no longer defined in the board files.&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392254?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 20:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:927dd755-5b32-42bf-80f6-cf5de157f56d</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Previously, I had to add the following lines to get this to work,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c0{
/delete-property/sda-gpios;
/delete-property/scl-gpios;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But this is now throwing an error, has this syntax changed?&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392252?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 20:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:629c0c09-5d3d-4589-8863-83b7111a3834</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion. I have updated my overlay file as suggested but still seeing the same error.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392246?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 18:59:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f70fb30-c516-4dca-b5de-d2fbfbbb53e5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The error indicates that the BM280 is not enabled in your DT. Please add the &amp;quot;status = &amp;quot;okay&amp;quot;;&amp;nbsp; line to your overlay as shown here: &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/d9f99ed1951a973c691cd5d6bd70aecb597b2030/boards/arm/bl654_sensor_board/bl654_sensor_board.dts#L87"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/d9f99ed1951a973c691cd5d6bd70aecb597b2030/boards/arm/bl654_sensor_board/bl654_sensor_board.dts#L87&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 Not working on v2.1.1</title><link>https://devzone.nordicsemi.com/thread/392217?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 15:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b629083b-60f1-4f0f-a073-115aacfb4ed6</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Sorry, forgot to post the error message,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Error: Device &amp;quot;BME280&amp;quot; is not ready; check the driver initialization logs for errors.
[00:00:00.753,021] &amp;lt;err&amp;gt; i2c_nrfx_twim: Error on I2C line occurred for message 0
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>