<?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 with nrf52dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49820/twi-with-nrf52dk</link><description>hi 
 I connect AT24C02 EEPROM with nrf52dk. 
 I already test EEPROM with arduino and it work fine. 
 Now i want to communicate with NRF52DK kit,so which example I would prefer for that in seger emb. studio ??twi_master_with_twis_slave ?? 
 I connect SCL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2019 15:02:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49820/twi-with-nrf52dk" /><item><title>RE: twi with nrf52dk</title><link>https://devzone.nordicsemi.com/thread/199341?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 15:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5ac653c-c9a3-447b-ab5e-8e8f2dee9358</guid><dc:creator>nngohel</dc:creator><description>&lt;p&gt;Thank.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;twi_master_with_twis_slave was run success fully.&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;now if i want to read particular only one address of my EEPROM and sent to BLE.&lt;/p&gt;
&lt;p&gt;1st i want to do this only.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20190718_5F00_201902.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twi with nrf52dk</title><link>https://devzone.nordicsemi.com/thread/198562?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 20:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81110b93-7a50-4647-8f5e-350c7d80a929</guid><dc:creator>awneil</dc:creator><description>[quote userid="80909" url="~/f/nordic-q-a/49820/twi-with-nrf52dk"]Would anyone help me to start my twi with nrf52dk[/quote]
&lt;p&gt;&lt;a href="https://www.avrfreaks.net/comment/1138166#comment-1138166" rel="noopener noreferrer" target="_blank"&gt;As for any microcontroller&lt;/a&gt;, before TWI, I would recommend that you start by getting familiar with some simpler examples; eg,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/gpio_example.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/gpio_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/uart_example.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/uart_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also practice using the debugger:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fdebug.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fdebug.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These will be invaluable in getting further projects working.&lt;/p&gt;
&lt;p&gt;Moving on to TWI&lt;/p&gt;
&lt;p&gt;The place to start is the &lt;strong&gt;TWI Scanner&lt;/strong&gt; example - that will verify that you have connectivity to your Slave.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/twi_scanner_example.html"&gt;infocenter.nordicsemi.com/.../twi_scanner_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You really need to have an oscilloscope or analyser so that you can see what is happening on the wires.&lt;/p&gt;
&lt;p&gt;Once you have verified the connection, you can use the TWI Master example to communicate with your EEPROM:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/twi_master_with_twis_slave_example.html?cp=5_1_4_6_45_1#twi_master_with_twis_slave_example_master"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/twi_master_with_twis_slave_example.html?cp=5_1_4_6_45_1#twi_master_with_twis_slave_example_master&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(The nRF52 is the Master; your EEPROM is the Slave).&lt;/p&gt;
&lt;p&gt;For general introductions to Nordic, see:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Get-Started"&gt;https://www.nordicsemi.com/Get-Started&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/introduction-to-bluetooth-low-energy-and-ble-devel"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/introduction-to-bluetooth-low-energy-and-ble-devel&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4278._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>