<?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>I2C TWI Driver - legacy layer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91708/i2c-twi-driver---legacy-layer</link><description>Hi, 
 
 given &amp;quot;nrf_drv_twi_xfer&amp;quot; or its &amp;quot;nrfx_twim_xfer&amp;quot; younger brother is used to communicate over I2C, and its a TxTx tranfer, than what does &amp;quot;nrf_drv_flag_tx_no_stop&amp;quot; do? Does this mean that there is no stop after the second Tx? Or between Tx -Tx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Sep 2022 08:19:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91708/i2c-twi-driver---legacy-layer" /><item><title>RE: I2C TWI Driver - legacy layer</title><link>https://devzone.nordicsemi.com/thread/385188?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 08:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b5feb26-1f09-4d2e-8a09-9b44590d77d6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you want a stop, then the driver seems to be sending a 0 as the flag based on the code in nrfx_twim.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfx_err_t nrfx_twim_tx(nrfx_twim_t const * p_instance,
                        uint8_t             address,
                        uint8_t     const * p_data,
                        size_t              length,
                        bool                no_stop)
{
    nrfx_twim_xfer_desc_t xfer = NRFX_TWIM_XFER_DESC_TX(address, (uint8_t*)p_data, length);

    return nrfx_twim_xfer(p_instance, &amp;amp;xfer, no_stop ? NRFX_TWIM_FLAG_TX_NO_STOP : 0);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C TWI Driver - legacy layer</title><link>https://devzone.nordicsemi.com/thread/385127?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 22:57:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab3729ac-fdb6-4710-b911-3671906fefda</guid><dc:creator>Canadian_EE</dc:creator><description>&lt;p&gt;How do I get&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrfx_twim_xfer_desc_t xfer_desc = NRFX_TWIM_XFER_DESC_TXTX(Address_I2C, address_array, sizeof(address_array), start, length); &lt;br /&gt; error_code = nrfx_twim_xfer(&amp;amp;m_twim, &amp;amp;xfer_desc, 1); //NRFX_TWIM_FLAG_TX_NO_STOP&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;to end with a stop condition?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>