<?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>I2C code on nRF connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86771/i2c-code-on-nrf-connect-sdk</link><description>Hi, 
 I read the link https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrfx/drivers/twis/driver.html and updated periodic_sync example as attached below. 
 But I am unable to see Request from the Master. I checked connections, addresses and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Apr 2022 08:42:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86771/i2c-code-on-nrf-connect-sdk" /><item><title>RE: I2C code on nRF connect SDK</title><link>https://devzone.nordicsemi.com/thread/363269?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 08:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e6bddc-895a-44df-ba33-ed261eed240b</guid><dc:creator>Ashishsult</dc:creator><description>&lt;p&gt;Meanwhile, I checked that the latest SDK version 1.9.1 has this issue with I2C, the version 1.8.0 and below does not have it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C code on nRF connect SDK</title><link>https://devzone.nordicsemi.com/thread/363224?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 14:54:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9674e27e-356d-4210-a82a-35c3d057d3e2</guid><dc:creator>Ashishsult</dc:creator><description>&lt;p&gt;I checked using the slave code with my external device, but it is also not working. I receive only nak.&lt;/p&gt;
&lt;p&gt;Also with nrf52840 dk board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C code on nRF connect SDK</title><link>https://devzone.nordicsemi.com/thread/362817?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 11:00:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1e92e36-8852-44a8-bc4d-1f894f7a0e8a</guid><dc:creator>Ashishsult</dc:creator><description>&lt;p&gt;Hi Oivind, Thanks for the link, it explains this well.&lt;/p&gt;
&lt;p&gt;I tried to implement the same example to check, but it does not work for me on nrf52832. Can you please check it in the added zip file?&lt;/p&gt;
&lt;p&gt;I get the error at Master side as:&lt;/p&gt;
&lt;p&gt;I2C device 1: i2c nRF52832 addr 0x28&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; I2C Master: Slave ADDR: 0x28 SCL: 31, SDA: 30, CLK(Hz): 100000&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [00:00:00.336,364] &amp;lt;err&amp;gt; i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0&lt;br /&gt;00&amp;gt; twi return code 4294967291&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [00:00:01.336,608] &amp;lt;err&amp;gt; i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0&lt;br /&gt;00&amp;gt; twi return code 4294967291&lt;br /&gt;00&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And on the Saleae, it is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;write to 0x28 nak&lt;br /&gt;read to 0x28 nak&lt;br /&gt;write to 0x28 nak&lt;br /&gt;read to 0x28 nak&lt;br /&gt;write to 0x28 nak&lt;br /&gt;read to 0x28 nak&lt;br /&gt;write to 0x28 nak&lt;br /&gt;read to 0x28 nak&lt;br /&gt;write to 0x28 nak&lt;br /&gt;read to 0x28 nak&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinky_2D00_twim_2D00_and_2D00_twis.zip"&gt;devzone.nordicsemi.com/.../blinky_2D00_twim_2D00_and_2D00_twis.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C code on nRF connect SDK</title><link>https://devzone.nordicsemi.com/thread/362625?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 13:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9030330d-45fa-4f51-9c2d-740259e88b38</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try disabling the i2c0 node in the overlay, and using the interrupt field of the overlay to set the priority.&lt;/p&gt;
&lt;p&gt;Have you read the TWIS section of this guide? &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/peripherals/posts/twi-ic2-implementation-with-nrfx-twis-driver"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/peripherals/posts/twi-ic2-implementation-with-nrfx-twis-driver&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There appears to be some typos in the guide, so anytime it mentions TWI1, SPI1 or i2c1, just read it as TWI0, SPI0 and i2c0 instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>