I2C multimaster mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-12-17 10:28 AM
Hi,
I would like to know if I can use one I2C bus for 3 devices, first is master, sencond is slave and third is master/slave (STM will siwtch between master and slave mode to communicate with this 2 devices). Is there anything unusual that I must take into account while designing that kind of system?
#i2c #stm32- Labels:
-
I2C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-12-17 12:28 PM
If all 3 devices are on the same I2C bus, the first device must be also multimaster.
If looking at old standard for multimaster, look at
https://en.wikipedia.org/wiki/ACCESS.bus
.Multimaster increase complexity of development and bus monitoring/debug is tricky.
If it is feasible to use 2 I2C bus with STM32 in the middle (slave on one side, master on the other) it might be easier to get the job done.
