<?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>TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71337/twi-scanner-no-device-was-found</link><description>Hi, I&amp;#39;m using nRF52 DK (nRF52832) to detect my sensor. The sensor I2C address is 0x21 (verified by Arduino UNO). 
 My nRF52 DK (master) could detect the slave sensor before. But after I changed code somewhere (I forgot), the nRF52 DK cannot detect the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 11:26:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71337/twi-scanner-no-device-was-found" /><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/296500?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 11:26:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76764e9e-befb-49a9-82c9-f15624667a79</guid><dc:creator>Baha Louati</dc:creator><description>&lt;p&gt;I figured out how to make the TWI Scanner example detects my Sensor, I sent an I2C &amp;quot; ADC read&amp;quot; Command to the sensor&amp;nbsp; address before the scanning starts ( the sensor was&amp;nbsp; MS5803 ) and now its detectable . Good luck for others out there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/295942?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 07:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca3104e0-7068-4d90-b11e-8e7b62ed6810</guid><dc:creator>Baha Louati</dc:creator><description>&lt;p&gt;That&amp;#39;s Completely understandable!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have 3 sensors ( connected via Qwiic). I checked and all 3 of my sensors are detectable in the Arduino code, yet in Segger embedded studio only two of them were detected. it seems arduino code is doing something Segger isn&amp;#39;t? I have to check!&lt;/p&gt;
&lt;p&gt;Thanks so much for your reply, Your fast response&amp;nbsp; is really valuable. Hoping you have a wonderful day Steven!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/295931?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 22:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dbb1fd1-3124-464f-b4d4-44958f033983</guid><dc:creator>StevenW807</dc:creator><description>&lt;p&gt;Also, try the Arduino demo code (easier to use than nRF5) to test the hardware. Arduino community has so many libraries &amp;amp; demo codes, all free to use, very handy. Then, Learn Arduino code (C++), translate the code to Nordic code (C).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have an oscilloscope and logic analyzer, measure the I2C signals (SDA and SCL). Find out the signal information (e.g. address is correct? ACK exists? sending command is correct? )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/295930?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 22:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072c01fa-ca90-4ecd-a8bd-05e6f81a12d1</guid><dc:creator>StevenW807</dc:creator><description>&lt;p&gt;Sorry, Baha.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since it&amp;#39;s the company product, I cannot share the code. My suggestion is to read the datasheet + check the hardware connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hints&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Some sensors need to wait for a few us or ms after sending the command. e.g. delay 27 us after sending command&lt;/p&gt;
&lt;p&gt;2. Also, some sensors need to be initialized at the beginning.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. You may ask your supplier for software / debugging issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. Use the print function (e.g. NRF_LOG_INFO() ) to debug, see where the error is.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/295914?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 16:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded2f514-7c08-4d3c-b757-e70e5a9d4131</guid><dc:creator>Baha Louati</dc:creator><description>&lt;p&gt;Could you please Share the code? I am having the same problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/295475?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 04:07:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c641b9f-7b96-4a4a-b608-cdd84f54b1b5</guid><dc:creator>StevenW807</dc:creator><description>&lt;p&gt;&lt;strong&gt;Problem Solved!&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The code doesn&amp;#39;t work due to the slave device and time delay issue. The sensor I&amp;#39;m using requires:&lt;/p&gt;
&lt;p&gt;1) reset--&amp;gt;send continuous mode command--&amp;gt;read data (I didn&amp;#39;t add reset command before)&lt;/p&gt;
&lt;p&gt;2) meanwhile, for each&amp;nbsp;read/write command, we must add a time delay (e.g. 5 ms) after the command&lt;/p&gt;
&lt;p&gt;Thanks to everyone who helped me before! Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/293079?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 11:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0aa157-1247-4677-b418-59973369f58f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Steven,&lt;/p&gt;
&lt;p&gt;I have some suggestions that may helpful for your debugging:&lt;/p&gt;
&lt;p&gt;1. Did you check with Arduino again to make sure the device is still alive?&lt;/p&gt;
&lt;p&gt;2. Can you try with the original twi_scanner example?&lt;/p&gt;
&lt;p&gt;3. Do you have a logic analyzer to see what happens on the TWI bus? Please double check the wires&amp;#39; connectability.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Scanner no device was found</title><link>https://devzone.nordicsemi.com/thread/293016?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 03:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c83cbcdd-49e7-4bfa-99e8-48e8dafe4817</guid><dc:creator>StevenW807</dc:creator><description>&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: my sensor returns 9 bytes of data (2 bytes of pressure, 1 byte of Check, &lt;span&gt;2 bytes of temperature, 1 byte of Check,&amp;nbsp;&lt;/span&gt;&lt;span&gt;2 bytes of scaling factor, 1 byte of Check&lt;/span&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>