cancel
Showing results for 
Search instead for 
Did you mean: 

I2C in both master and slave at the same time

phani
Associate II
Posted on March 14, 2009 at 17:05

I2C in both master and slave at the same time

1 REPLY 1
phani
Associate II
Posted on May 17, 2011 at 13:06

Can I use the I2C Module both as a master and slave at the same time. I need to do this on STM32F101VE.

I understand that in I2C slave cannot initiate a data transfer. I have a requirement for bidirectional communication where any of the nodes can initiate a data transfer. I dont want to impleent any kind of polling, this might consume MCU resources.

Since the I2C is Multi Master capable, I plan to run both nodes as master and in this regard I want to know if I can run the MCU both Master and Slave at the same time.