<?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>nrf_drv_twi_tx twi softdevice s110 problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27029/nrf_drv_twi_tx-twi-softdevice-s110-problem</link><description>hi~
i am working with nrf 51822 with custom board and softdevice s110.
i am using is7020-a20 temperature / humidity sensor via twi (i2c) 
 i tried 2 versions of twi example in sdk ver.10 using nrf_drv_twi and app_twi.
twi_init() looks working fine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Nov 2017 12:47:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27029/nrf_drv_twi_tx-twi-softdevice-s110-problem" /><item><title>RE: nrf_drv_twi_tx twi softdevice s110 problem</title><link>https://devzone.nordicsemi.com/thread/106108?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 12:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f176b80d-2a07-44d5-bcd7-fbd7914814c1</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Shooting from the hip here, but it could be similar to &lt;a href="https://devzone.nordicsemi.com/question/179175/spi-from-ble-event/?comment=179788#comment-179788"&gt;this case&lt;/a&gt; (or the cases linked to within it). If that is not the case I think you should open a new thread, and maybe post some of you code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_drv_twi_tx twi softdevice s110 problem</title><link>https://devzone.nordicsemi.com/thread/106107?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 06:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d96acf36-86bc-44b8-acc8-e25953c0d24e</guid><dc:creator>AndrewJ</dc:creator><description>&lt;p&gt;Hi Martin, Justin.  We are facing the exact same problem here (using nRF5_SDK_12.3.0).  When I have no softdevice, I can call nrf_drv_twi_tx() and talk to my sensor, but with softdevice enabled, the call to nrf_drv_twi_tx() will hang forever.  Was there any resolution to this thread?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_drv_twi_tx twi softdevice s110 problem</title><link>https://devzone.nordicsemi.com/thread/106106?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2016 02:59:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18e53507-e4ed-41d5-9dec-8cab52b33901</guid><dc:creator>justin chang</dc:creator><description>&lt;p&gt;hi, thanks for answer.
yes, i tried to running twi example without softdevice and got right return values.
it still doesn&amp;#39;t work with softdevice. it seems reset when execute nrf_drv_twi_tx() with softdevice.
i have two leds, so i tested that led1 blinks when tx_done and led2 blinks when rx_done in twi_handler without softdevice. i checked with ocillator, scl and sda are fine without softdevice but it doesn&amp;#39;t with softdevice. it doesn&amp;#39;t show any waves. is there any common trouble issue for twi with softdevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_drv_twi_tx twi softdevice s110 problem</title><link>https://devzone.nordicsemi.com/thread/106105?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 13:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f34c13a8-75ae-499c-a5ee-fd111418eab7</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Have you tried to communicate with your device without the SoftDevice running?&lt;/li&gt;
&lt;li&gt;Are you sure the address is correct and that you are supposed to right shift it?&lt;/li&gt;
&lt;li&gt;Have you checked for errors returned from the TWI drivers? You can check p_event-&amp;gt;type for NRF_DRV_TWI_ERROR as well as NRF_DRV_TWI_RX_DONE and NRF_DRV_TWI_TX_DONE. If you don&amp;#39;t use a TWI handler then the TWI drivers will operate in blocking mode meaning that your code will get stuck if you try to transmit something on the TWI bus and something goes wrong.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Martinsbl/twi-find-devices-on-bus"&gt;Here&lt;/a&gt; is a simple example for debugging a TWI application.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>