<?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>BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65039/bme680-erro-reading-data</link><description>Hello everyone, 
 I have problem with a code for reading BME680. Here is my code the values display are wrong and never change. 
 Thank you for your time. I used this Library : github.com/.../BME680_driver the problem should be in the user_read or user_write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Aug 2020 09:44:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65039/bme680-erro-reading-data" /><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/266939?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 09:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:796ed69c-9266-4f8f-8125-9001b933b9c3</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;I see that there are multiple possible sources from the function declaration on Github that can return an error. I suggest setting a breakpoint in the function and stepping through it and see exactly what error is returned and from where.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/266266?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 13:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cc14e4e-9647-4a15-86be-137d87e8d6c2</guid><dc:creator>campestring</dc:creator><description>&lt;p&gt;the error is in this function :&amp;nbsp;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;rslt = bme680_set_sensor_settings(set_required_settings,&amp;amp;gas_sensor);&lt;/span&gt; provided by bosch, but I think the error should be in my write function so I call set_reg() to force two register to be written by me and then the program works. But I don&amp;#39;t really know why the initialisation doesn&amp;#39;t work...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/266102?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 07:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3555f76-8299-4839-8b80-8bd348767b48</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;What initialization&amp;nbsp;and what register are you referring to? Could you point it out in the code that you posted?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/265946?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 11:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddfd315a-84e2-4bc2-af6a-0e72b124fa48</guid><dc:creator>campestring</dc:creator><description>&lt;p&gt;I find that the error is in the initialisation a register is not written so I force it in the main with a function set_reg and it works but I Don&amp;#39;t know why the initialisation is&amp;#39;nt working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/265871?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 05:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42caf561-d898-4ade-84b9-60744bb56d7c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;But you&amp;#39;ve checked that the data is sent correctly from the sensor?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/265812?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 14:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aca0b4d5-5e08-4d3f-91e6-f41854975e21</guid><dc:creator>campestring</dc:creator><description>&lt;p&gt;Hi, thank you for you reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The initialisation Work perfectly but when I want to read the data The values Don&amp;#39;t change.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Arnaud&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BME680 Erro reading data</title><link>https://devzone.nordicsemi.com/thread/265790?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 13:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f01119d9-2eb9-403d-8189-a78967c1ea7f</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How does the SCL and SDA line look like when you write to the slave? Do you see a valid Clock signal?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>