<?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 with nRF Connect SDK for the nRF52833 board.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91540/bme280-with-nrf-connect-sdk-for-the-nrf52833-board</link><description>I am having a lot of trouble having to change my dt files and receive errors every time i try to run a basic sample for the NCS . Is there any &amp;#39;How to&amp;#39; that i can refer and build my solution</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Sep 2022 05:21:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91540/bme280-with-nrf-connect-sdk-for-the-nrf52833-board" /><item><title>RE: BME280 with nRF Connect SDK for the nRF52833 board.</title><link>https://devzone.nordicsemi.com/thread/384403?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2022 05:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8db86701-9170-4bcb-b750-ed65e90dff16</guid><dc:creator>Manas_punjabi</dc:creator><description>&lt;p&gt;HI we had some hardware issues , the issue is resolved .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 with nRF Connect SDK for the nRF52833 board.</title><link>https://devzone.nordicsemi.com/thread/384290?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 09:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bc789f6-ed52-4511-83ac-433fe619c2ba</guid><dc:creator>Manas_punjabi</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;device.h&amp;gt;
#include &amp;lt;devicetree.h&amp;gt;
#include &amp;lt;drivers/i2c.h&amp;gt;
#include &amp;lt;sys/printk.h&amp;gt;

#define BME280_ID_REG					0xD0

#define I2C0_NODE DT_NODELABEL(mysensor)

uint8_t id_read[1] ;

void main(void)
{

	static const struct i2c_dt_spec dev_i2c = I2C_DT_SPEC_GET(I2C0_NODE);
	
	if (!device_is_ready(dev_i2c.bus)) {
		printk(&amp;quot;I2C bus %s is not ready!\n\r&amp;quot;,dev_i2c.bus-&amp;gt;name);
		return;
	}

	uint8_t id_write[1] = {BME280_ID_REG};
	
	while (1)
	{
		i2c_write_read_dt(&amp;amp;dev_i2c,&amp;amp;id_write[0],1,&amp;amp;id_read[0],1);
		printk(&amp;quot;%d\n&amp;quot;,id_read[0]);
	}
}



----------------------------------------------------------------------------------------------------------
overlay file

&amp;amp;i2c0 {
    
    mysensor: mysensor@76{
        compatible = &amp;quot;bosch,bme280&amp;quot;;
        reg = &amp;lt; 0x76 &amp;gt;;
        label = &amp;quot;MYSENSOR&amp;quot;;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am referring that only , and as a first step I am just trying to get the ID . I am not receiving any ID value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME280 with nRF Connect SDK for the nRF52833 board.</title><link>https://devzone.nordicsemi.com/thread/384266?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 08:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea3a6a19-45a4-440a-87ed-2f26a8771aef</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Manas,&lt;/p&gt;
&lt;p&gt;In order to get familiar with NCS I would recommend you to take a look at out &lt;a href="https://academy.nordicsemi.com/"&gt;DevAcademy&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>