<?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>Issue with I2C burst write function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51684/issue-with-i2c-burst-write-function</link><description>I need to use a burst write i2c function to write the dmp library for the MPU6050 gyroscope. 
 The current function that I&amp;#39;ve been using does not work for this case: 
 
 And, I&amp;#39;ve been researching on another solution: 
 
 From this code, it writes to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2019 11:15:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51684/issue-with-i2c-burst-write-function" /><item><title>RE: Issue with I2C burst write function</title><link>https://devzone.nordicsemi.com/thread/207648?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 11:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1167f24e-55e0-49ff-bdbe-01ad73ea1f95</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It should be possible to call nrf_drv_twi_tx mulitple times with the no_stop bit set true, to allow you to do a write followed by a repeated start and another write. You just have to make sure that the last transaction sets no_stop to false, to properly finish the transaction.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This hasn&amp;#39;t been extensively tested though, as most sensors either just use a normal write or a write followed by a read.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>