<?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>unable to write to and read from a FRAM using i2c in nrf52 sdk 11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55395/unable-to-write-to-and-read-from-a-fram-using-i2c-in-nrf52-sdk-11</link><description>Hi, 
 I am a beginner in ble and I am trying to understand the technology. I am trying to write to and read from FM24W256 FRAM through I2C. The reference I have considered is the example of TWI_sensor from sdk11. 
 The configuration is NRF_DRV_TWI_DEFAULT_CONFIG</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Dec 2019 11:19:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55395/unable-to-write-to-and-read-from-a-fram-using-i2c-in-nrf52-sdk-11" /><item><title>RE: unable to write to and read from a FRAM using i2c in nrf52 sdk 11</title><link>https://devzone.nordicsemi.com/thread/225131?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 11:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08599d57-6b21-401c-a9bb-a0b60cb234d5</guid><dc:creator>Reshma Tomy</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thanks for replying, The pins used were 3 and 4. The actual issue was the wrong slave address. Unlike other mpu API&amp;#39;s , here we need not select the last bit of slave addressing, ie R/W. The slave address is 7bit.&amp;nbsp;&lt;span&gt;nrf_drv_twi_rx sets it for reading and&amp;nbsp;nrf_drv_twi_tx sets it for write. I was unaware of that. I should have written the code&amp;quot; #define ADDR_24LC02&amp;nbsp;0x50 &amp;quot;instead of &amp;quot; #define ADDR_24LC02&amp;nbsp;0xA0&amp;quot;. Now it&amp;#39;s working.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to write to and read from a FRAM using i2c in nrf52 sdk 11</title><link>https://devzone.nordicsemi.com/thread/224497?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 14:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8de25a0a-b878-4cc5-a627-83e30cc4f24f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which pin numbers are you using for the SDA/SCL pins? Can you post the full code you are using?&lt;/p&gt;
&lt;p&gt;Error 3&amp;nbsp;is caused by:&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group__nrf__error.html#gadf8b0c33ea15352808e5ac7f69c2be8a"&gt;NRF_ERROR_INTERNAL&lt;/a&gt;&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;If an error was detected by hardware.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>