<?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>Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63836/unable-to-interface-ccs881-with-nrf-board-error-failed-to-get-device-binding</link><description>Hello, 
 
 I am trying to run the CCS881 sensor sample in my nrf9160 board. I have made changes to my project config file and main.c file as mentioned in 
 https://devzone.nordicsemi.com/f/nordic-q-a/59834/nrf9160-with-ccs811-and-missing-log-in-lte-link</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jul 2021 07:42:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63836/unable-to-interface-ccs881-with-nrf-board-error-failed-to-get-device-binding" /><item><title>RE: Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/thread/319293?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 07:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f521c3-9aaf-4fca-8428-bb2226b1b026</guid><dc:creator>mschweig</dc:creator><description>&lt;p&gt;Hi, I am doing the same and I get the same error. Have you managed the communication with the ccs811?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/thread/261658?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 22:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f45b125-5a62-4ada-b160-1d003c28aad4</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you simply try to add the interrupts field like it&amp;#39;s done &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/dts/arm/nordic/nrf9160_common.dtsi#L206"&gt;here&lt;/a&gt;? Hmm.. I find it strange that the error comes up when it&amp;#39;s set in the file&amp;nbsp;nrf9160_common.dtsi. However, try to set it in the overlay file and see if the error goes away.&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: Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/thread/261080?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 20:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a08df8-235c-4489-8265-c595f77f3775</guid><dc:creator>Aditya_s</dc:creator><description>&lt;p&gt;I get this error while building the code:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1595362718787v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/thread/261069?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 18:32:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e606b1c-ba8b-4b54-91e1-d7f21aec5e5d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Try adding&amp;nbsp;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;nordic,nrf-twim&amp;quot;&lt;/span&gt;&lt;span&gt;; to the overlay file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
    compatible = &amp;quot;nordic,nrf-twim&amp;quot;; //Add this
    status = &amp;quot;okay&amp;quot;;
    sda-pin = &amp;lt; 12 &amp;gt;;
    scl-pin = &amp;lt; 11 &amp;gt;;
    clock-frequency = &amp;lt;I2C_BITRATE_S
    ..
    ..
    ..
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If it still doesn&amp;#39;t work, try to &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-temporary#h131sk0f71xdy1hliuda1vq9p8n11weqgr"&gt;debug&lt;/a&gt; the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.3.0-rc1-ncs1/drivers/sensor/ccs811/ccs811.c#L432"&gt;init function&lt;/a&gt; to see if/what is failing.&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: Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/thread/260654?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 16:55:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcb1ca4d-b896-409d-99ef-8e49a3e5338d</guid><dc:creator>Aditya_s</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;The NCS tag is&amp;nbsp;v1.2.0&lt;/p&gt;
&lt;p&gt;Thank you for your response. My connections are as follows:&lt;/p&gt;
&lt;p&gt;Vin&amp;nbsp; &amp;nbsp; &amp;nbsp;: 5v&lt;br /&gt;GND,WAKE : Ground&lt;br /&gt;SDA&amp;nbsp; &amp;nbsp;: P0.11&lt;/p&gt;
&lt;p&gt;SCL&amp;nbsp; &amp;nbsp;: P0.12&lt;/p&gt;
&lt;p&gt;This is how my overlay file looks like. Are connections okay?&lt;/p&gt;
&lt;p&gt;&amp;amp;i2c2 {&lt;br /&gt; status = &amp;quot;ok&amp;quot;;&lt;br /&gt; sda-pin = &amp;lt; 12 &amp;gt;;&lt;br /&gt; scl-pin = &amp;lt; 11 &amp;gt;;&lt;br /&gt; clock-frequency = &amp;lt;I2C_BITRATE_STANDARD&amp;gt;;&lt;/p&gt;
&lt;p&gt;/* The I2C address could be one of two, here 0x5A is assumed */&lt;br /&gt; ccs811@5A {&lt;br /&gt; compatible = &amp;quot;ams,ccs811&amp;quot;;&lt;br /&gt; reg = &amp;lt;0x5A&amp;gt;;&lt;br /&gt; label = &amp;quot;CCS811&amp;quot;;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to interface CCS881 with nrf board : error  : Failed to get device binding</title><link>https://devzone.nordicsemi.com/thread/260506?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 09:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c48c77e1-6fab-46c7-ae10-f788a0af3850</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;What NCS version are you using?&lt;/p&gt;
&lt;p&gt;Have you connected the sensor correctly to your board? If not, the call to device_get_binding() will fail, since the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.3.0-rc1-ncs1/drivers/sensor/ccs811/ccs811.c#L432"&gt;init function of the CC811 driver&lt;/a&gt; will do some different checks to see if it&amp;#39;s connected properly or not. Read more about this &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-temporary#h89sk0f70r67s4yr0ru3xvf021v6zh"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You should debug the mentioned init function and see if it fails or not.&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></channel></rss>