<?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>sht21 with nrf51822 measuring temperature</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15830/sht21-with-nrf51822-measuring-temperature</link><description>Hi, 
 I am trying to measure the temperature using sht21 sensor with nrf51822. I am using TWI to do this. When I try to send a data to the sensor the application cannot do that. The code for initializing and measuring the temperature is as follows: </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Aug 2016 07:06:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15830/sht21-with-nrf51822-measuring-temperature" /><item><title>RE: sht21 with nrf51822 measuring temperature</title><link>https://devzone.nordicsemi.com/thread/60435?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 07:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfa70ade-ace9-4131-87f4-d8da42943211</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This error is generated in nrf_drv_twi.c-&amp;gt;twim_xfer where the actual transfer of the data is placed into the hardware.&lt;/p&gt;
&lt;p&gt;The documentation for the API nrf_drv_twi_tx shows that&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;@retval NRF_ERROR_INTERNAL If an error
was detected by hardware.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This means that the the function has finished what it supposed to do what there were errors detected in TWI-&amp;gt;ERRSRC module. Most probably this is an overrun error which means that you are not reading the data fast enough. The previous data in in RXD register was overwritten.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>