<?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>external eeprom arduino code migration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60131/external-eeprom-arduino-code-migration</link><description>Hi, 
 I need to use external eeprom memory AT24C256. I have not found any example for nrf52, so I started with migration existing arduino code to Nordic&amp;#180;s. Here is the Arduino code and below is my migration of this code, which did not work (the output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 14:34:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60131/external-eeprom-arduino-code-migration" /><item><title>RE: external eeprom arduino code migration</title><link>https://devzone.nordicsemi.com/thread/244495?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 14:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968d819b-26cd-4a06-9fef-1d3d8bd744ff</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Josef&lt;/p&gt;
&lt;p&gt;Do you have a scope or logic analyzer available so you can see what is happening on the bus?&lt;/p&gt;
&lt;p&gt;I would say that is invaluable when&amp;nbsp;debugging these kinds of serial applications.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, could you try changing the eeprom define to 0xA0 rather than 0x50?&lt;br /&gt;Different TWI libraries some times handle the 7-bit address differently in terms of alignment.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>