<?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 sending wrong data - SDK15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33996/twi-sending-wrong-data---sdk15</link><description>Hello, 
 I&amp;#39;m trying to communicate with another device via I2C. I&amp;#39;m trying to do a simple write but it seems that the TWI NRFX driver is sending wrong data. 
 I&amp;#39;m just calling nrfx_twi_tx(&amp;amp;m_twi, I2C_ADDR, data, size, false); with some data, but when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 May 2018 10:22:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33996/twi-sending-wrong-data---sdk15" /><item><title>RE: TWI sending wrong data - SDK15</title><link>https://devzone.nordicsemi.com/thread/130775?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 10:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6fd6990-ddee-4072-9e73-45f4ae7d3331</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;I found the problem. The buffer I wanted to send was going out of scope. I solved it by making it a static array in the file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>