<?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 sends only the first read access</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59055/twi-sends-only-the-first-read-access</link><description>I have been debugging the TWI master of nRF52832 for a few days now and I have one more problem, which is very weird. For some reason, the master sends only the first read access. It seems that the TWI master is in a certain state where it cannot send</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2020 09:00:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59055/twi-sends-only-the-first-read-access" /><item><title>RE: TWI sends only the first read access</title><link>https://devzone.nordicsemi.com/thread/239659?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 09:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55247146-a6e3-4383-9ac3-c63263231eb8</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;That was indeed the root cause of the problem! Indeed the RXREADY event must be cleared. I assumed that it is cleared when the RXD register is read. The following&amp;nbsp;fix solved the problem:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    data = NRF_TWI1-&amp;gt;RXD;

    NRF_TWI1-&amp;gt;EVENTS_RXDREADY = 0;   // Clear the event!

    return data;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help Dmitry, I have been debugging this for hours &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sends only the first read access</title><link>https://devzone.nordicsemi.com/thread/239657?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 08:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd071fc5-4a04-493f-adf2-bf6da5af2971</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;are you clearing EVENTS_RXDREADY somewhere?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>