<?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>WT901 Driver working for nRF52DK but not for nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111860/wt901-driver-working-for-nrf52dk-but-not-for-nrf5340</link><description>I have been trying to interface the Witmotion WT901 sensor with the nRF5340 using the I2C interface. I have previously run the exact code on the nRF52DK and it was working perfectly well. However, when I try the same code for nRF5340, the sensor values</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jun 2024 07:38:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111860/wt901-driver-working-for-nrf52dk-but-not-for-nrf5340" /><item><title>RE: WT901 Driver working for nRF52DK but not for nRF5340</title><link>https://devzone.nordicsemi.com/thread/488028?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 07:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97338bf4-b4e7-48a8-9b5a-f41bd3cf6000</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you able to probe the i2c lines with scope/logic analyzer to see if the clock and data signals look ok?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WT901 Driver working for nRF52DK but not for nRF5340</title><link>https://devzone.nordicsemi.com/thread/487982?ContentTypeID=1</link><pubDate>Sat, 08 Jun 2024 17:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6d55ba-71d8-4ad2-adbd-23e29fdbf68f</guid><dc:creator>SkiddleSkeedaddle</dc:creator><description>&lt;p&gt;I do not get any i2c warning after enabling the logging. I do get the message:&lt;br /&gt;&amp;quot;Failed to write / read I2C device address 50 at Reg. 34&amp;quot;&lt;br /&gt;&lt;br /&gt;Which is caused because this if condition fails:&lt;br /&gt;&lt;br /&gt;&lt;span&gt; if (i2c_write_read_dt(&amp;amp;dev_i2c, &amp;amp;uiReg, 1, s_ucWitDataBuff, usTemp) == 0)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;What I can&amp;#39;t figure out why this fails particularly for nRF5340.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WT901 Driver working for nRF52DK but not for nRF5340</title><link>https://devzone.nordicsemi.com/thread/487615?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 06:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a91b4d6f-50b7-4212-8816-0c8ee14f6bd0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you see any warnings/errors reported by the i2c driver if you enable logging by adding CONFIG_LOG=y to your prj.conf file? Also, do you have external pull-ups on this bus?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>