<?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>How to read FIFO_DATA buffer of MAX30102 using TWI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70974/how-to-read-fifo_data-buffer-of-max30102-using-twi</link><description>Hi. 
 I&amp;#39;m trying to read data of MAX30102 using TWI, it has 8 bits of data in the FIFO_DATA register. 
 
 
 The library I&amp;#39;m using for data extraction and processing was written for Arduino, so changed the basic read/write and time functions according</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 15:56:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70974/how-to-read-fifo_data-buffer-of-max30102-using-twi" /><item><title>RE: How to read FIFO_DATA buffer of MAX30102 using TWI</title><link>https://devzone.nordicsemi.com/thread/291854?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 15:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:672e8017-6925-489e-8284-9548b932e4e2</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;Should I just repeat my read function 4 times? Wouldn&amp;#39;t it give me the same data?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;It depends on the specific TWI sensor that you&amp;#39;re using, but most I2C sensor auto-increments for each reads the master does. I suggest that you check the datasheet of the TWI slave that you&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>