<?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>Why I I got &amp;quot;NRF_DRV_TWI_EVT_DATA_NACK&amp;quot; when try to call &amp;quot;nrf_drv_twi_tx&amp;quot; in another function??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38485/why-i-i-got-nrf_drv_twi_evt_data_nack-when-try-to-call-nrf_drv_twi_tx-in-another-function</link><description>In the main function, this works. 
 Works .. 
 
 
 Not works , I got NRF_DRV_TWI_EVT_DATA_NACK error.. 
 
 
 
 and I cannot call &amp;quot;nrf_drv_twi_tx&amp;quot; in the timer event handler function? When I try to call &amp;quot; nrf_drv_twi_tx&amp;quot; in the timer event handler (for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Sep 2018 09:53:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38485/why-i-i-got-nrf_drv_twi_evt_data_nack-when-try-to-call-nrf_drv_twi_tx-in-another-function" /><item><title>RE: Why I I got "NRF_DRV_TWI_EVT_DATA_NACK" when try to call "nrf_drv_twi_tx" in another function??</title><link>https://devzone.nordicsemi.com/thread/149383?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 09:53:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06c27f34-4ca6-48d4-875f-1ec6d1eed4a3</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Can you upload the rest of your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I I got "NRF_DRV_TWI_EVT_DATA_NACK" when try to call "nrf_drv_twi_tx" in another function??</title><link>https://devzone.nordicsemi.com/thread/148893?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 02:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:307bc992-640c-4352-b986-6d0bad5ca218</guid><dc:creator>sosse</dc:creator><description>&lt;p&gt;yes, the sht_measurement() is defined in the same file.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I I got "NRF_DRV_TWI_EVT_DATA_NACK" when try to call "nrf_drv_twi_tx" in another function??</title><link>https://devzone.nordicsemi.com/thread/148562?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 09:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c05b66af-6cd4-4742-9146-a246c43456e2</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;That is strange.&lt;/p&gt;
&lt;p&gt;Is&amp;nbsp;sht_measurement() defined in the same file? I assume&amp;nbsp;SHT_ADDRESS and the reg buffer is containing the exact same address and buffer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>