<?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>PCA953X driver intégration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84977/pca953x-driver-integration</link><description>Hi, 
 
 I want to use the pca953X driver present in the latest version of Zephyr. 
 For this purpose I started with this exemple : https://github.com/circuitdojo/air-quality-wing-zephyr-drivers 
 I copied gpio_pca953x.c and it&amp;#39;s devicetree binding. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Feb 2022 08:52:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84977/pca953x-driver-integration" /><item><title>RE: PCA953X driver intégration</title><link>https://devzone.nordicsemi.com/thread/355190?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 08:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bc465b0-dce5-4cb2-b399-6a40ab72f5a0</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Pierre!&lt;/p&gt;
&lt;p&gt;Great! Glad to hear it.&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><item><title>RE: PCA953X driver intégration</title><link>https://devzone.nordicsemi.com/thread/355189?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 08:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d4de59-85ab-4546-83f4-f075d9e0335a</guid><dc:creator>Neunz</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thank You, I finally get it working by compiling it as a module.&amp;nbsp;&lt;br /&gt;Like in the out-of-tree-driver sample.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I still don&amp;#39;t understand why It don&amp;#39;t initialize using the other method but the module will do the work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA953X driver intégration</title><link>https://devzone.nordicsemi.com/thread/354985?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 10:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:269a860b-13be-4d9c-abdd-c27421b08226</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey again Pierre,&lt;/p&gt;
&lt;p&gt;Once again there might be dependency issues, but you should be able to debug this.&lt;/p&gt;
&lt;p&gt;It would probably not be able to get any logging before the rtt/serial init-functions have run, but you should be able to set breakpoints to see if DEVICE_DT_INST_DEFINE is getting called.&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><item><title>RE: PCA953X driver intégration</title><link>https://devzone.nordicsemi.com/thread/354653?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 15:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:303d7019-35d2-4a3f-a8e3-a4a7e2452440</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Pierre, sorry about the delay&lt;/p&gt;
&lt;p&gt;Are you referring to v3.0? NCS v1.9 is using a fork of Zephyr 2.7.99, that might be causing some issues.&lt;/p&gt;
&lt;p&gt;I will have to get back to you on the rest.&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>