<?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 sensor data not sent</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44050/twi-sensor-data-not-sent</link><description>Hello 
 I am trying to send data every 5 seconds from a temperature sensor (MAX30205) using the nrf52 chip to a mobile phone via bluetooth. 
 To do this, I have studied and adapted the ble_app_uart and TWI_sensor example codes. However, I can&amp;#39;t seem to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Mar 2019 00:55:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44050/twi-sensor-data-not-sent" /><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/175197?ContentTypeID=1</link><pubDate>Sun, 10 Mar 2019 00:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:920d30d6-6d17-425d-88ea-49df32565fbb</guid><dc:creator>timothyeah</dc:creator><description>&lt;p&gt;I&amp;#39;ve narrowed down this problem and identified that something is wrong with my data_array. The new question is&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44643/problem-sending-data-array-using-ble_nus_data_send"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/173166?ContentTypeID=1</link><pubDate>Wed, 27 Feb 2019 08:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1eacead-95bf-46b8-be77-661ee2aae7a8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;What does&amp;nbsp;&lt;span&gt;ble_nus_data_send() return? And what softdevice and SDK version are you using?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/173072?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 14:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345ba7cf-dfed-4d65-84be-83fa7f100d87</guid><dc:creator>timothyeah</dc:creator><description>&lt;p&gt;Yes, I can confirm the nRF receives data from the sensor correctly.&lt;/p&gt;
&lt;p&gt;The problem must be somewhere in transferring the data to the bluetooth functions. This seems like it should be simple to achieve, but it&amp;#39;s not clear why it is not working.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/173061?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 14:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b868e14f-6ee4-4c84-b080-0e24f779adf3</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The first step in debugging this is to confirm that the nRF receives the data from the Temperature sensor correctly. Could you use the debugger and see if it&amp;#39;s received?&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/172609?ContentTypeID=1</link><pubDate>Sat, 23 Feb 2019 12:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eafa769c-2eca-4d7b-8b65-d3e55d5cd38c</guid><dc:creator>timothyeah</dc:creator><description>&lt;p&gt;I think that&amp;#39;s the same as in line 764. Anyway I tried re-arranging it into the form shown in this sensor example code, but no luck. Still getting the same result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/172607?ContentTypeID=1</link><pubDate>Sat, 23 Feb 2019 11:28:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69561170-46e9-46ba-aa4d-58d9a80b90d0</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;yes but you need declare like below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; */
void LM75B_set_mode(void)
{
    ret_code_t err_code;

    /* Writing to LM75B_REG_CONF &amp;quot;0&amp;quot; set temperature sensor in NORMAL mode. */
    uint8_t reg[2] = {0x00U};
    err_code = nrf_drv_twi_tx(&amp;amp;m_twi, LM75B_ADDR, reg, sizeof(reg), false);
    APP_ERROR_CHECK(err_code);
    while (m_xfer_done == false);

}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/172606?ContentTypeID=1</link><pubDate>Sat, 23 Feb 2019 11:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:267aec27-2293-43cc-bec3-d53b218e0634</guid><dc:creator>timothyeah</dc:creator><description>&lt;p&gt;The register addresses for TWI are stored in line 74&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI sensor data not sent</title><link>https://devzone.nordicsemi.com/thread/172605?ContentTypeID=1</link><pubDate>Sat, 23 Feb 2019 11:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ed414c-2ddd-44c1-9def-5eef44909592</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;i think you need to give the register address in order to get the data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>