<?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>nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77297/nrf91-with-ccs811-issue</link><description>Hi! I am trying to interface the CCS811 with the nRF91-DK. For this purpose I am using nrf-sdk 1.6.0 and &amp;quot;ccs811&amp;quot; sample from zephyr. I created a nrf9160dk_nrf9160ns.overlay in the &amp;quot;boards&amp;quot; folder and enabled the I2C and CCS811 in prj.conf. Also I tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jul 2021 09:12:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77297/nrf91-with-ccs811-issue" /><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319732?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 09:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82362e3b-8541-4d21-a86a-759a4f197cc9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;If there is a bug with the driver, you can create an issue here:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/new/choose"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/new/choose&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It would be nice if you could link to the issue in this ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319543?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 09:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d723c5a-9c22-4fd6-ab95-3df9b44e818a</guid><dc:creator>mschweig</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I found out, that are some issues of the wake and reset routine of the CCS811 zephyr driver.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;A hotfix was that I added a reset pin to board config overlay but only attached the WAKE pin of the CCS811 to ground.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With that its working and I am receiving values. I will have a closer look at the issues in the driver in a few days.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Manuel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319476?ContentTypeID=1</link><pubDate>Sat, 10 Jul 2021 13:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f5e4470-abca-404b-916f-85326b76c05c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Do you have a logic analyzer? Try connecting it to the SDA and SCL lines to see what&amp;#39;s going on, and if the &lt;a href="https://interrupt.memfault.com/blog/i2c-in-a-nutshell#i2c-address-issues"&gt;correct address is used&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What happens if you try to read the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/a9423cbce69a5df78140a2cf3ba11aa56d395cfc/drivers/sensor/ccs811/ccs811.h#L17"&gt;status register&lt;/a&gt;&amp;nbsp;from the Arduino? Try connecting the logic analyzer in that case and see what&amp;#39;s going on.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319381?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 12:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c14c8fa-7fdf-4b19-99d2-acf1c126f26d</guid><dc:creator>mschweig</dc:creator><description>&lt;p&gt;Hi, I also saw that and double checked the address. I have the one with 5A.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Manuel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319377?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 12:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d63d9e3-9b66-496e-bb5c-d87e4a3ca8ad</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I googled the error message &amp;quot;&lt;span&gt;Error 0x0BAE0001 occurred for message 0&lt;/span&gt;&amp;quot; and found this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75770/i2c_nrfx_twi-error-0x0bae0001-occurred-for-message-0"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/75770/i2c_nrfx_twi-error-0x0bae0001-occurred-for-message-0&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you check that the address used is correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319365?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 12:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8ab4e6-c7de-461d-a0f9-cd5165e29ee6</guid><dc:creator>mschweig</dc:creator><description>&lt;p&gt;Hi Simon, I already checked zephyr.dts. i2c and ccs811 is properly included.&lt;br /&gt;&lt;br /&gt;I debugged ccs811_init() and it fails at resetting the sensor.&lt;/p&gt;
&lt;p&gt;&amp;lt;err&amp;gt; i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0&lt;br /&gt;[00:00:00.228,179] &amp;lt;err&amp;gt; CCS811: Failed to read Status register&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Manuel&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF91 with CCS811 issue</title><link>https://devzone.nordicsemi.com/thread/319363?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 12:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:338b9f65-dcf1-4f62-aa61-7034c2937def</guid><dc:creator>Simon</dc:creator><description>&lt;ul&gt;
&lt;li&gt;Check the file &lt;em&gt;ccs811/build/zephyr/zephyr.dts&lt;/em&gt; to see if everything from the overlay file is included. Search for &amp;quot;CCS811&amp;quot;.&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Debug the init function &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/0944459b5b622048a08ad1f8cf8a044c135fd0d3/drivers/sensor/ccs811/ccs811.c#L433"&gt;ccs811_init()&lt;/a&gt;, and see if it runs successfully. If that function fails, the call to device_get_binding() will fail as well&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>