<?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>Interfacing Bosch BME680</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116628/interfacing-bosch-bme680</link><description>Hi, 
 
 I am trying the sample code in this regard. I have changed the I2C pins in the overllay file and bme register address to 0x77 as follows. It seems working but I have many questions. 
 
 1. I think this is using the Zephyr built in bme680 driver</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Dec 2024 09:43:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116628/interfacing-bosch-bme680" /><item><title>RE: Interfacing Bosch BME680</title><link>https://devzone.nordicsemi.com/thread/513586?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2024 09:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a7cac3c-254b-4567-80fc-27859ee8e815</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;span&gt;Kaushalya,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="kaushalyasat"]&lt;p&gt;I need to relax the sample timing to support my power budget requirements. Does this mean I cant use any other timing than specified in the drivers?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it is possible, how can I change the sample timing?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;&lt;br /&gt;I will need to discuss internally with the developers.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="kaushalyasat"]Thanks again. Is it within SDK folder or within Zephyr folder?[/quote]
&lt;p&gt;&lt;span&gt;This is a driver found in sdk-nrf, so you should call west commands in the nrf folder.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="kaushalyasat"]It would be great if you can update the driver page to correctly instruct a newcomer which folder he/she should use to update west for BSEC drivers.[/quote]
&lt;p&gt;&lt;span&gt;Yes, that is a very good point. I will notify internally!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Bosch BME680</title><link>https://devzone.nordicsemi.com/thread/513310?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 22:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8523befb-d18f-408e-a23f-9d9431b12ce3</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/116628/interfacing-bosch-bme680/513159"]Please do not change timing in the drivers[/quote]
&lt;p&gt;I need to relax the sample timing to support my power budget requirements. Does this mean I cant use any other timing than specified in the drivers?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it is possible, how can I change the sample timing?&lt;/span&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/116628/interfacing-bosch-bme680/513159"]Happy to see you were able to find the correct path and compile.[/quote]
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Thanks again. Is it within SDK folder or within Zephyr folder? It would be great if you can update the driver page to correctly instruct a newcomer which folder he/she should use to update west for BSEC drivers.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Kaushalya&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Bosch BME680</title><link>https://devzone.nordicsemi.com/thread/513159?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 10:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f99779a1-3752-4759-b9b3-faa6a67b4de1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="kaushalyasat"] I can see with my modified timing,[/quote]
&lt;p&gt;What modified timing did you perform? Please do not change timing in the drivers as this can cause issues with the root Bosch defined drivers. Our developers do not recommend changing these values due to the result that you got.&lt;/p&gt;
[quote user="kaushalyasat"]but does it matter you run the west update from within SDK folder or zephyr folder?[/quote]
&lt;p&gt;Happy to see you were able to find the correct path and compile.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Bosch BME680</title><link>https://devzone.nordicsemi.com/thread/513084?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 23:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f1d2cb-286a-4d3d-b701-031f31e5302d</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After further debugging, I can see with my modified timing, I get the &amp;#39;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;BSEC_W_SC_CALL_TIMING_VIOLATION&lt;/span&gt;&amp;#39; error from &amp;#39;bsec_sensor_control ()&amp;#39;, which is invoked from &amp;#39;bsec_thread_fn ()&amp;#39;.&lt;/p&gt;
&lt;p&gt;The comment of this this error code says &amp;#39;Difference between actual and defined sampling intervals of bsec_sensor_control() greater than allowed&amp;#39;.&lt;/p&gt;
&lt;p&gt;I couldnt find the source of bsec_sensor_control ().&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What are the limits of these timings? How can we change the timings to suit our application?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kaushalya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512872?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 03:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:411c3082-b5d1-46d0-a7ef-0fb73cf4fa13</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have infact&amp;nbsp;done this modification earlier, but no luck. Strangely I built the project and SDK from scratch at home over the weekend and it was successful!! Only diff I did was I executed the&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;west config manifest.group-filter +bsec
west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;within different folders. I cant exactly remember which is which, but does it matter you run the west update from within SDK folder or zephyr folder? The&amp;nbsp;BME68X IAQ driver page does not indicate which folder you should be in before executing the west update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway I did the same today at my office project folder and got it compiled.&lt;/p&gt;
&lt;p&gt;Now I can get the BME68x driver reading from my project.&lt;/p&gt;
&lt;p&gt;I wanted to play around the sample timings as outlined in the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BSEC_SAMPLE_RATE=BSEC_SAMPLE_RATE_LP&lt;br /&gt; BSEC_GAS_SAMPLE_RATE=BSEC_SAMPLE_RATE_ULP&lt;br /&gt; BSEC_SAMPLE_PERIOD_S=3&lt;/p&gt;
&lt;p&gt;I found these timing values are defined in&amp;nbsp;C:\ncs\v2.6.0\modules\lib\bsec\src\inc\bsec_datatypes.h. But when I changed the &amp;#39;BSEC_SAMPLE_RATE_ULP&amp;#39; and &amp;#39;BSEC_SAMPLE_RATE_LP&amp;#39; to different values (0.00167f and&amp;nbsp;0.017f) the driver seemed to stop sending any I2C comms to the BME68x. Any idea why?&lt;/p&gt;
&lt;p&gt;Also is there a way to modify these timings without modifying files in the SDK? Update the SDK and you loose all your settings.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kaushalya&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512699?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2024 09:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58732db2-313e-4a6e-826e-44eec024d807</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello again,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This is a bug and &lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/a8da223248bb65e4d0c1da8f10c0aa95caaf114f"&gt;has been fixed in e.g. v2.8.0&lt;/a&gt;, but the problem is found in&amp;nbsp;&lt;code&gt;nrf\drivers\sensor\bme68x_iaq\CMakeLists.txt&lt;/code&gt;. In this file, ~ line 27, you can see that&amp;nbsp;&lt;span&gt;&lt;code&gt;zephyr_library_compile_definitions_ifdef&lt;/code&gt;&amp;nbsp;&lt;/span&gt;is pointing to&amp;nbsp;&lt;code&gt;BME68X_IAQ_SAMPLE_RATE_QUICK_ULTRA_LOW_POWER&lt;/code&gt; and not &lt;code&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_QUICK_ULTRA_LOW_POWER&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If you replace the whole line with&amp;nbsp;&lt;code&gt;zephyr_library_compile_definitions_ifdef(BME68X_IAQ_SAMPLE_RATE_QUICK_ULTRA_LOW_POWER&lt;/code&gt; it should build as intended.&lt;/p&gt;
&lt;p&gt;Let me know how that works for you.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;KInd regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512685?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2024 08:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e9c2fe4-cfd0-481e-85c1-76b4f0df3063</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Kaushalya,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;my apologies for the late reply, for some reason my answer was not sent yesterday. I need to discuss internally in regards to the driver, and why it fails with&amp;nbsp;QUICK_ULTRA_LOW_POWER and not&amp;nbsp;ULTRA_LOW_POWER.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hope to have an answer by end of today or Monday.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512667?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2024 04:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea449afb-5e65-4204-859c-a560c82c7b3f</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Need some help building the sample with&amp;nbsp;&lt;span&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_QUICK_ULTRA_LOW_POWER. I get the build errors saying&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:/ncs/v2.6.0/nrf/drivers/sensor/bme68x_iaq/bme68x_iaq.c:35:32: error: &amp;#39;BSEC_GAS_SAMPLE_RATE&amp;#39; undeclared here
..
C:/ncs/v2.6.0/nrf/drivers/sensor/bme68x_iaq/bme68x_iaq.c:57:32: error: &amp;#39;BSEC_SAMPLE_RATE&amp;#39; undeclared here
...
C:/ncs/v2.6.0/nrf/drivers/sensor/bme68x_iaq/bme68x_iaq.c:463:35: error: &amp;#39;BSEC_SAMPLE_PERIOD_S&amp;#39; undeclared&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I use any other such as&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_ULTRA_LOW_POWER=y, it builds ok.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I cant figure out what is the difference.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Please help.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Cheers,&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kaushalya&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512495?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 05:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a240b718-6bd7-48c6-817f-8a47156de011</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. While I am trying to integrate it with my sensor code, when I add&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_QUICK_ULTRA_LOW_POWER&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;to my prj.conf, I get build error&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;C:/ncs/v2.6.0/nrf/drivers/sensor/bme68x_iaq/bme68x_iaq.c:463:35: error: &amp;#39;BSEC_SAMPLE_PERIOD_S&amp;#39; undeclared&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;But when I use&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_ULTRA_LOW_POWER=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;then no prob.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;I can see the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;BSEC_SAMPLE_PERIOD_S is defined in CMakeLists.txt in the driver folder. Why am I getting a build error when I use&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_QUICK_ULTRA_LOW_POWER ?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;2. Also for a long time all my iaq measurements are static no matter what I do. I always get&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;iaq: 50; CO2: 500.000000; VOC: 0.499999&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;But my temp and humidity changes. I had it working in one instance.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;All of a sudden my iaq, co2 and voc values start changing. After that they seem to respond correctly.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Does this means BME688 takes some time before the iaq, co2 and voc data becomes available?&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kaushalya&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512491?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 04:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0b3735f-2ea3-44ab-8271-07fa865bfd93</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks. I have added the bme68x_irq to my 2.6.0 SDK. However the sample I found was in nrf folder and&amp;nbsp;it would have been much better if this is mentioned in the &amp;#39;&lt;/span&gt;BME68X: Gas Sensor&amp;#39; page, as there are other samples folders as well with bme680.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I managed to get the sample running and can see the iaq, CO2 and VOC readings. I see these increases when I bring a permanent marker near the sensor and goes down after removing it. So I reckon the sensor is working.&amp;nbsp;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/116628/interfacing-boche-bme680/512272"]Do you actually get an error from your side? Does the sample work out of the box without editing anything[/quote]
&lt;p&gt;I think out of the box it worked. Then I wanted to fetch just individual channels and then I got the kernel panic. For individual channels, I changed the fetch to fetch_chan and specified chan as&amp;nbsp;SENSOR_CHAN_AMBIENT_TEMP. Then I got the kernel panic. Cant figure out the logic behind the assert as it seems like if the chan is not&amp;nbsp;&lt;span&gt;SENSOR_CHAN_ALL, it would make a kernel panic. But after I moved to bme68x_iaq, I haven&amp;#39;t noticed that.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But since I now can get the bme68x_irq working, I integrated it to my sensor app, which is a SED. I set following in the prj.conf.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_SENSOR_INFO=y

CONFIG_BME680=n
CONFIG_BME68X_IAQ=y
CONFIG_CONSOLE=y
CONFIG_LOG=y
CONFIG_BME68X_IAQ_SAMPLE_RATE_ULTRA_LOW_POWER=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can see a sample being taken every 5 minutes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. My console seems to hang after this sample is taken. No log messages are printed as well.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. I want to get temp and humidity samples every 60 sec and VOC every 10 minutes. How can I configure the timing?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kaushalya&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512272?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 08:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd809652-dc67-41d5-86f8-1727dc71cc83</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user="kaushalyasat"]Unfortunately I cant find any driver like bme68x_irq under my &amp;#39;drivers/sensor&amp;#39; folder. How can I install the bme68x driver code?[/quote]
&lt;p&gt;Have you followed the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.0/page/nrf/drivers/bme68x_iaq.html"&gt;documentation for the BME68x driver?&lt;/a&gt;&lt;/p&gt;
[quote user="kaushalyasat"]This seems like the &amp;#39;chan&amp;#39; variable has to be&amp;nbsp;SENSOR_CHAN_ALL or otherwise a kernel panic would occur. I want to measure just temp and humidity channel. What is the reason for this _ASSERT ?[/quote]
&lt;p&gt;&lt;span&gt;The&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.0/page/zephyr/kernel/services/other/fatal.html#assertnomsg"&gt;&lt;code&gt;&lt;span&gt;__ASSERT_NO_MSG()&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.0/page/zephyr/kernel/services/other/fatal.html#assertnomsg"&gt;&amp;nbsp;macro&lt;/a&gt; can be used to perform an assertion that reports the failed test and its location, but lacks additional debugging information provided to assist the user in diagnosing the problem; its use is discouraged.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you actually get an error from your side? Does the sample work out of the box without editing anything&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/512235?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 00:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:106b2992-021b-4eea-a523-9c65e90e8365</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;My SDK is 2.6.0.&lt;/p&gt;
&lt;p&gt;2. Unfortunately I cant find any driver like bme68x_irq under my &amp;#39;drivers/sensor&amp;#39; folder. How can I install the bme68x driver code?&lt;/p&gt;
&lt;p&gt;3. I have managed to cut the power by turning off the heater for gas measurements. But I had to comment out the line 219 in bme680.c in &amp;#39;drivers/sensor/bme680/&amp;#39;. The line is&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;__ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This seems like the &amp;#39;chan&amp;#39; variable has to be&amp;nbsp;SENSOR_CHAN_ALL or otherwise a kernel panic would occur. I want to measure just temp and humidity channel. What is the reason for this _ASSERT ?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Cheers,&lt;/div&gt;
&lt;div&gt;Kaushalya&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Boche BME680</title><link>https://devzone.nordicsemi.com/thread/511683?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 14:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39159187-c2b1-4dfa-aa49-bf20802af21b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both sensors have been in use in our samples and prototyping platforms Thingy:53 and Thingy:91. What version of our SDK are you using? The information below is based on nRF Connect SDK v2.8.0.&lt;/p&gt;
[quote user=""]1. I think this is using the Zephyr built in bme680 driver, isn&amp;#39;t it?[/quote]
&lt;p&gt;Yes, looking at &lt;code&gt;zephyr\boards\nordic\thingy53\thingy53_nrf5340_common.dtsi&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;i2c1 {
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	clock-frequency = &amp;lt;I2C_BITRATE_FAST&amp;gt;;

	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;;
	bmm150: bmm150@10 {
		compatible = &amp;quot;bosch,bmm150&amp;quot;;
		reg = &amp;lt;0x10&amp;gt;;
	};

	bh1749: bh1749@38 {
		compatible = &amp;quot;rohm,bh1749&amp;quot;;
		reg = &amp;lt;0x38&amp;gt;;
		int-gpios = &amp;lt;&amp;amp;gpio1 5 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
	};

	bme688: bme688@76 {
		compatible = &amp;quot;bosch,bme680&amp;quot;;
		reg = &amp;lt;0x76&amp;gt;;
	};
};&lt;/pre&gt;&lt;/p&gt;
[quote user=""]2. I am evaluating both BME680 and BME688.&amp;nbsp; How can I change code to suit BME688?[/quote]
&lt;p&gt;Have a the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/samples/sensor/bme68x_iaq/README.html"&gt;look at the BME68x: Gas sensor sample&lt;/a&gt;. This supports both sensors. You can also have a look the samples in our SDK that uses these sensors i.e. the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/applications/asset_tracker_v2/doc/sensor_module.html"&gt;sensor module in Asset Tracker v2&lt;/a&gt;&amp;nbsp;or the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/samples/bluetooth/mesh/sensor_server/README.html"&gt;Bluetooth Mesh: sensor sample&lt;/a&gt;.&lt;/p&gt;
[quote user=""]3. My case is a battery powered sensor, so I have to make it as much power efficient as possible. The sample program doesnt seem to meet that goal. I tried commenting out each channel and it doesn&amp;#39;t seem that affect the power consumption.&amp;nbsp; I tried using &amp;#39;sensor_sample_fetch_chan (dev, SENSOR_CHAN_AMBIENT_TEMP) just to fetch temp channel, but still same. Any idea why?[/quote]
&lt;p&gt;I&amp;#39;m not that familiar with the BME68x devices. What sample program are you referring to? The Sensors API in the Zephyr OS does have &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/zephyr/hardware/peripherals/sensor/power_management.html"&gt;power management features&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;There are options to set ultra low power using&amp;nbsp;&lt;code&gt;CONFIG_BME68X_IAQ_SAMPLE_RATE_ULTRA_LOW_POWER=y &lt;/code&gt;but I recommend looking through the BME68x driver documentation.&lt;/p&gt;
[quote user=""]4. I want to read/write registers of the sensor, but Sensor API doesn&amp;#39;t seem to provide any interface. How can I do&amp;nbsp; this?[/quote]
&lt;p&gt;I think you will need to &lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-2.8.0/page/group_sensor_interface.html"&gt;look at the Sensor API&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope this helps and provides some answers.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>