<?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>two device use TWI transfers may be conflict ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42228/two-device-use-twi-transfers-may-be-conflict</link><description>i have one huge process one get positon sensor using i2c bus and another get led color also using i2c bus. 
 when color function is added in the process,positon sensor data seems freeze for a while , how can i avoid this ? 
 thank you !</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jan 2019 08:35:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42228/two-device-use-twi-transfers-may-be-conflict" /><item><title>RE: two device use TWI transfers may be conflict ?</title><link>https://devzone.nordicsemi.com/thread/164440?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 08:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c5665aa-f6fa-4634-bef1-bf8e8232d17f</guid><dc:creator>awneil</dc:creator><description>[quote userid="76270" url="~/f/nordic-q-a/42228/two-device-use-twi-transfers-may-be-conflict"]how can i avoid this&amp;nbsp; ?[/quote]
&lt;p&gt;You have to &lt;em&gt;&lt;strong&gt;design&lt;/strong&gt; &lt;/em&gt;your system so that it doesn&amp;#39;t happen!&lt;/p&gt;
&lt;p&gt;The I2C (TWI) bus is a shared resource - so you need to manage the access to it by the two processes using it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42189/combine-two-different-twi-into-a-single-function/164164#164164"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/42189/combine-two-different-twi-into-a-single-function/164164#164164&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>