⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
dxwemat
Offline
Last seen:3年8个月前
加入:2017-05-09 13:12
I2C Multi-Master Mode

Hi MT_Dialog,

I'm studying the I2C-Controller and cant find any configuration for Multi-Master Mode.

I just can switch between SLAVE and MASTER.

static const i2c_config cfg = {
.speed = HW_I2C_SPEED_STANDARD,
.mode = HW_I2C_MODE_SLAVE,
.addr_mode = HW_I2C_ADDRESSING_7B,
}

Is it possible to configure the Controller with Multi-Master Mode?

Thanks

Device:
MT_dialog
Offline
Last seen:1 month 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi dxwemat,

Hi dxwemat,

Multi-master is the ability of more than one masters two co-exist on the same bus, and not operating as Slave and Master at the same time, which is not possible for the I2C module on the 580, since it can operate either as a master of a slave. Regarding the multi master operation, when operating as master this is enabled by default, the I2C module will probe the lines for any activity before starts "talking" on the bus.

Thanks MT_dialog