<?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>Regarding twi sensor</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32740/regarding-twi-sensor</link><description>Dear Sir, 
 I am using nrf52832 &amp;amp; sdk 14. When I dump your twi sensor code(SDK14\nRF5_SDK_14.2.0_17b948a\examples\peripheral\twi_scanner\pca10040\blank\arm5_no_packs) in the nrf52832 development kit there is no activity observed on the oscilloscope on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Apr 2018 07:39:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32740/regarding-twi-sensor" /><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/126752?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 07:39:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d46c911-ec4c-42c8-9d25-4e5158114405</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;I am getting the clock pulses on SCL &amp;amp; SDA&amp;nbsp; pins of the target board. But still I am not getting the data from the max30205. I am herewith uploading the two videos (both are with different time base) these clock pulses on the oscilloscope.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Blue line is SDA&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yellow line is SCL&lt;/p&gt;
&lt;p&gt;So please tell me where I am going wrong.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/video_5F00_20180404_5F00_123232.mp4"&gt;devzone.nordicsemi.com/.../video_5F00_20180404_5F00_123232.mp4&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/video_5F00_20180404_5F00_123319.mp4"&gt;devzone.nordicsemi.com/.../video_5F00_20180404_5F00_123319.mp4&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/126190?ContentTypeID=1</link><pubDate>Wed, 28 Mar 2018 04:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31874245-bba2-40ab-8535-28caaf975968</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;The twi sensor code is&amp;nbsp;working now. The problem was in pack installation. But now the thing is I am not able to configure the pins P0.09 &amp;amp; P0.10 as SCL &amp;amp; SDA. Other pins are getting configured.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/126076?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 09:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7df852a6-2217-4468-9e0d-1cf2a14b5acf</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I tested your code and it worked out of the box. I used&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An MPU9255 as slave (shouldn&amp;#39;t matter though as long as you have functional slave device?)&lt;/li&gt;
&lt;li&gt;PCA10040 development kit&lt;/li&gt;
&lt;li&gt;SDK 14.2.0&lt;/li&gt;
&lt;li&gt;And these pins:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define ARDUINO_SCL_PIN             27    // SCL signal pin
#define ARDUINO_SDA_PIN             26    // SDA signal pin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have attached my .hex file. Can you try to program it to your kit and see if it works? If it doesn&amp;#39;t, then your kit, or possibly any attached slave devices, seems to be broken. I have seen other cases where things work on my system, but not on the customer&amp;#39;s, and in one particular case it turned out that the customer had changed his driver files and forgotten about it.&amp;nbsp;Hence, it worked when I compiled the code with my original SDK files, but not when he compiled it with his modified files. So make sure to use original drivers.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/126044?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 04:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5edd8f0b-2060-49a1-8c5e-7d2d7c855665</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/twi_5F00_scanner.rar"&gt;devzone.nordicsemi.com/.../twi_5F00_scanner.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the twi scanner file. please check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125996?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 15:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85f0c015-f40f-408d-b287-6a82d7d97a8a</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;1.Yes I have tried with P0.24 &amp;amp; P0.25.&lt;/p&gt;
&lt;p&gt;2. We have our target board , but we don&amp;#39;t have another kit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125993?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 15:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da201b74-c2ce-4763-968b-d97349699d5b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;You can just upload it here. In the comment &amp;quot;input field&amp;quot; click Insert -&amp;gt; Insert Image/Video/File and choose &amp;#39;File Upload&amp;#39;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DId you try different pins? And by the way, do you have another kit you can try?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125989?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 14:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6afa4023-b8df-4d3a-8417-4611528301ba</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;Ok how shall i send the project file to you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125987?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 14:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77439941-646b-4228-a1be-31aea0133cff</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;That is strange.&lt;/p&gt;
&lt;p&gt;Have you tried to route the TWI to other pins on the DK? Pin 3 and 4 for example? They are my go-to TWI pins as they are not connected to any buttons or&amp;nbsp;LEDs etc. on the kit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you compile a fresh twi_scanner example with default pins etc., so that I can test the same code on my own development kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125941?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 12:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fff94f32-531b-465e-ad70-4d2e2f322a87</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;yes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125940?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 12:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d67689f-bff1-4668-9ca0-fa7df3d8da37</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Are you able to toggle the pins with minimal code (without using TWI)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125924?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 09:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fa53ea8-04f4-407f-9e7f-cd6f9ea63f4b</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;No, I have not modified&amp;nbsp;anything, the scl&amp;nbsp;&amp;amp; sda&amp;nbsp;pins are defined exactly as shown above. And I have also not connected anything other than DSO pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding twi sensor</title><link>https://devzone.nordicsemi.com/thread/125921?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 09:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f0bf911-4288-4304-9c51-b980fa5fb74c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As long as you haven&amp;#39;t modified anything, the scanner example and the PCA10040 should work out of the box.&amp;nbsp;Have you double checked that you are using the correct pins? The default pins are configured in pca10040.h as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define ARDUINO_SCL_PIN             27    // SCL signal pin
#define ARDUINO_SDA_PIN             26    // SDA signal pin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;which should be correct in your case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you connecte anything else than your scope to the pins?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>