<?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>Multimaster I2C communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30096/multimaster-i2c-communication</link><description>I&amp;#39;m working on a design featuring two different MCUs. I&amp;#39;m looking to use the nRF52840 as one of them. I need both processors to be able to send each other messages and ideally interrupt each other. 
 I was thinking of using Multimaster I2C. Is this supported</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Dec 2021 15:53:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30096/multimaster-i2c-communication" /><item><title>RE: Multimaster I2C communication</title><link>https://devzone.nordicsemi.com/thread/343251?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 15:53:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:966ccee3-c131-487c-a8e2-0d26128ae229</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi Jostikas, that is correct. In hardware context you enable either TWI slave or TWI master which are two different peripherals.&lt;/p&gt;
&lt;p&gt;However, it is possible to switch between TWI master and TWI slave peripherals during software runtime. So the TWI slave can be configured as the default peripheral, and then switch to TWI master if data should be read or written on the bus. This will have to be implemented in software and would probably not be robust against collisions on the bus.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multimaster I2C communication</title><link>https://devzone.nordicsemi.com/thread/343211?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 14:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81e30155-54ca-4063-8383-ab3a6de7b5e5</guid><dc:creator>Jostikas</dc:creator><description>&lt;p&gt;Well, no.&amp;nbsp;I2C is a bus topology, where &amp;quot;master&amp;quot; is the device that first started driving the clock (if there was no contention) or the device that won arbitration (if there was contention for the bus) and every other device is a slave. And these terms are only valid for the duration of one transaction. Multi-Master simply means there are multiple devices that can initiate transfers on the bus, and there&amp;#39;s no reason the sometimes-masters can&amp;#39;t talk to each other, if they have assigned addresses.&lt;br /&gt;&lt;br /&gt;The correct answer is that Nordic&amp;#39;s &amp;quot;TWI&amp;quot; peripheral is not actually I2C multimaster compatible.&lt;br /&gt;&lt;br /&gt;EDIT: Sorry, I assumed the response was from a Nordic employee.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multimaster I2C communication</title><link>https://devzone.nordicsemi.com/thread/119451?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 00:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88464163-a08b-47e0-8d9a-bcba17b40719</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The best solution for that is to use UART. &amp;nbsp;It is bi-directional. &amp;nbsp;It will interrupt on receive and send is independent sot both can send and listen at the same time. &amp;nbsp;The nRF can handle 1 MBaud.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multimaster I2C communication</title><link>https://devzone.nordicsemi.com/thread/119450?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 00:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57610397-a8b6-4e41-bebb-653cb05a4929</guid><dc:creator>carlf</dc:creator><description>&lt;p&gt;I need either MCU to be able to initiate communication. The issue with a Master/Slave configuration is that the Slave needs to wait for the Master to initiate the communication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multimaster I2C communication</title><link>https://devzone.nordicsemi.com/thread/119449?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 00:10:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:523cf8e6-36bc-4b2f-8f61-c0952478eac3</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I am not sure to fully understand what you want to do exactly. &amp;nbsp;If just to transfer data between 2 MCUs, there are many ways. &amp;nbsp;I2C (Master/Slave), SPI (Master/Slave) or UART. &amp;nbsp;Multimaster means 2 MCU in master mode trying to access the peripherals on the same bus not for talking to each other.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>