<?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>nRF52832 I2C Testing &amp;amp; How to interface two nRF52 (Slaves) through I2C?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76021/nrf52832-i2c-testing-how-to-interface-two-nrf52-slaves-through-i2c</link><description>Hi, 
 I&amp;#39;m using nRF5_SDK_17.0.2_d674dde\examples\peripheral\twi_master_with_twis_slave\pca10040\blank\ses to check I2C as per infocenter TWI testing document. 
 I have done PuTTy settings as well, as stated in sheet &amp;amp; shorted P0.3 &amp;amp; P0.4 i.e. TWI_SCL_M</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jun 2021 13:19:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76021/nrf52832-i2c-testing-how-to-interface-two-nrf52-slaves-through-i2c" /><item><title>RE: nRF52832 I2C Testing &amp; How to interface two nRF52 (Slaves) through I2C?</title><link>https://devzone.nordicsemi.com/thread/314718?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 13:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:176a51f4-694a-452d-835e-aa40ffcdc591</guid><dc:creator>MeghaC</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As per your suggestion get new instance of SDK &amp;amp; tried. Thankfully issue resolved.&lt;/p&gt;
&lt;p&gt;Please find below screenshot for your reference.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1623331002835v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also, thanks for the direction given to develop TWIS.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Megha Choudhari&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 I2C Testing &amp; How to interface two nRF52 (Slaves) through I2C?</title><link>https://devzone.nordicsemi.com/thread/314414?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 09:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31c6c961-81f3-4ae7-9994-067138a70d55</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again&amp;nbsp;&lt;span&gt;Megha Choudhari,&lt;/span&gt;&lt;/p&gt;
[quote user="MeghaC"]I have not done any modification in example. I&amp;#39;m using nRF52832 DK board. As per mentioned in nordic infocenter (infocenter.nordicsemi.com/index.jsp config.h for TWI_SCL &amp;amp; TWI_SDA, I have shorted P0.03 &amp;amp; P0.04[/quote]
&lt;p&gt;&lt;span&gt;I have tested gone through the same test for the example here on my end (without the shorting of TWI_SCL and _SDA), and I am always seeing the welcome message in my serial terminal. It is strange that you are not seeing it for this particular example only. Could you download a new instance of the SDK, and try again with the example from it? This would rule out the possibility that something has been changed inadvertently.&lt;br /&gt;Please do this, and let me know if it resolves the issue.&lt;/span&gt;&lt;/p&gt;
[quote user="MeghaC"]I have checked TWI_Scanner &amp;amp; Sensor example in that case I can view welcome messages on PuTTY. But in this case I have not seen anything. I have connected the DK board to PC via USB.[/quote]
&lt;p&gt;Thank you for confirming this.&lt;/p&gt;
[quote user="MeghaC"]Please find above reference scenario: Modbus Module is my master &amp;amp; BLE is slaves.[/quote]
&lt;p&gt;Thank you for elaborating on this, and providing the diagram - I now understand that you would like the nRF to be the TWI Slave, and that the Modbus should be the TWI master.&lt;br /&gt;That mean that you should look in the &lt;em&gt;eeprom_simulator.c&lt;/em&gt; file of the example, to see how you may initialize and use the TWIS driver.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 I2C Testing &amp; How to interface two nRF52 (Slaves) through I2C?</title><link>https://devzone.nordicsemi.com/thread/314112?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 08:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64c2970a-9b80-44e9-aa01-36de102ecfa1</guid><dc:creator>MeghaC</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please find below my replies&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Q. Could you confirm for me whether you have many any modifications at all to the example project? Could you also confirm for me whether you are using an nRF52 DK or a custom board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Ans &amp;gt;&amp;gt; I have not done any modification in example. I&amp;#39;m using nRF52832 DK board. As per mentioned in nordic infocenter (infocenter.nordicsemi.com/index.jsp config.h for TWI_SCL &amp;amp; TWI_SDA, I have shorted P0.03 &amp;amp; P0.04&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Q. Are you seeing anything at all on the Serial monitor? How is your device connected to your PC?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Ans &amp;gt;&amp;gt; I have checked TWI_Scanner &amp;amp; Sensor example in that case I can view welcome messages on PuTTY. But in this case I have not seen anything. I have connected the DK board to PC via USB.&lt;/strong&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/76021/nrf52832-i2c-testing-how-to-interface-two-nrf52-slaves-through-i2c/314007#314007"]If one of the boards are configured as a TWI master, and the other is configured as a TWI slave, then the TWI Master can initiate transfers between the two, like shown in the example.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please find above reference scenario: Modbus Module is my master &amp;amp; BLE is slaves.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1623140232786v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Megha Choudhari&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 I2C Testing &amp; How to interface two nRF52 (Slaves) through I2C?</title><link>https://devzone.nordicsemi.com/thread/314007?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 16:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7a56ff2-37c0-42da-be43-18254e62b7cd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Megha Choudhari,&lt;/p&gt;
[quote user=""]I&amp;#39;m using&amp;nbsp;nRF5_SDK_17.0.2_d674dde\examples\peripheral\twi_master_with_twis_slave\pca10040\blank\ses to check I2C as per infocenter TWI testing document.[/quote]
&lt;p&gt;Could you confirm for me whether you have many any modifications at all to the example project? Could you also confirm for me whether you are using an nRF52 DK or a custom board?&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
[quote user=""]Compiled &amp;amp; flashed programmed &amp;amp; checking on terminal not getting welcome message.[/quote]
&lt;p&gt;Are you seeing anything at all on the Serial monitor? How is your device connected to your PC?&lt;/p&gt;
[quote user=""]Also, one more thing is. After this testing I want to interface two board of nRF52 with I2C, how can I do that one?[/quote]
&lt;p&gt;If one of the boards are configured as a TWI master, and the other is configured as a TWI slave, then the TWI Master can initiate transfers between the two, like shown in the example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 I2C Testing &amp; How to interface two nRF52 (Slaves) through I2C?</title><link>https://devzone.nordicsemi.com/thread/313803?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 04:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dfb8d2c-a990-4e7e-aeb4-fd4e47d6da30</guid><dc:creator>MeghaC</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Waiting for reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Megha Choudhari&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>