<?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>Slow TWI single byte reads</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6677/slow-twi-single-byte-reads</link><description>I need to poll a NMEA data stream and it&amp;#39;s easiest getting a byte at a time, but it&amp;#39;s dropping to 30ms between individual reads in this loop: 
 uint8_t next = 0;
 uint8_t ref = 6;
 uint8_t readbuf[2] = {0};
 while(next != &amp;#39;\n&amp;#39;)
 {
 nrf_gpio_pin_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Apr 2015 07:23:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6677/slow-twi-single-byte-reads" /><item><title>RE: Slow TWI single byte reads</title><link>https://devzone.nordicsemi.com/thread/23426?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2015 07:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb7fd116-3d90-41bc-b0f4-fd3a8bdad3e0</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi. I can&amp;#39;t see any obvious errors. Could it be your NMEA device that is slow? Are you able to measure where in your code your device is pausing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>