<?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>EEPROM Non-Blocking</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107453/eeprom-non-blocking</link><description>I have an nRF5340 with an AT24CM01 EEPROM on an I2C bus (SDA = P0.16, SDL = P0.17). My devicetree looks like so: 
 
 I&amp;#39;m having troubles when writing and reading in rapid succession. If I do this, it throws a bunch of errors: 
 
 
 From other forum posts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jan 2024 17:24:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107453/eeprom-non-blocking" /><item><title>RE: EEPROM Non-Blocking</title><link>https://devzone.nordicsemi.com/thread/464681?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 17:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6893077f-095f-447b-ae31-cd033a73ea53</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The NACK error is generated when the I2C/TWI slave device NACKs the transaction. The Zephyr library can&amp;#39;t know if the external EEPROM device is ready to receive new data or not, so it will pass the error to the application.&lt;/p&gt;
&lt;p&gt;I do not have any experience with this specific EEPROM, but having a quick look at the &lt;a href="https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/AT24CM01-I2C-Compatible-Two-Wire-Serial-EEPROM-Data-Sheet-20006170A.pdf"&gt;datasheet&lt;/a&gt;, this seems to be the expected behavior:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/AT24CM01_5F00_1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/AT24CM01_5F00_3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/AT24CM01_5F00_2.png" /&gt;&lt;/p&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>