This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P401R: I2C multi-master operation

Part Number: MSP432P401R

Hi

I am trying to setup an MPSP432P401R as an I2C multimaster. Is there an example code available to do/ understand the same? I used the code composer studio I2C example code to have the MSP432 MCU currently working as an ordinary master with the necessary read/write operations being performed with the multiple connected slaves on the bus. I now need to modify the current working code to multimaster mode as the necessity has arise to have two master MCUs on the same I2C bus. 

I am fairly new to I2C programming and by reading the MSP432 technical manual and previous forum posts, I couldn't understand what needs to be done. Is there a flowchart somewhere to help me understand the MSP432 multimaster operation? In the MSP432 peripheral user guide (pg. 169), I found two functions mentioned for enabling and disabling multimaster mode in driverlib but I am unsure how to use them in my code.

Any help or guidance would be highly appreciated.

Thank You.

  • The technical reference manual would be the best place to start. In both Figures 26-12 and 26-13 the diagram shows the case where the arbitration is lost and then section 26.3.4.3 discusses arbitration.

    www.ti.com/.../slau356h.pdf

    I have not found any examples. The eUSCI peripheral is common to the MSP430 family of devices and would recommend searching for examples/discussions around multi-master with the MSP430.

    Regards,
    Chris

**Attention** This is a public forum