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.

MSP430FR2532: IIC switch between master and slave

Part Number: MSP430FR2532

I have a happy customer who released a product with MSP430FR2532 and now needs it for another application that requires two IIC ports: 1 master and 1 slave. Is it possible to switch back and forth in the application? What kind of latency should we expect and has anyone ever tried it before? What kind of glitches should we expect?

Thank you!

  • Hi Lenio,
    in principle it is possible to reconfigure the I2C communication by SW during operation repeatedly. The latency would be given by the necessary code for the reconfiguration. You cannot assume, just flipping the bit for Master/Slave. You need to reset and reconfigure the entire state machine. This means shut down the module, reconfigure for the respective operating mode and release the module.
    But I see the bigger problem with the counterparts on the I2C, especially when using the same GPIOs, which with MSP430FR2532 is definitely the case, as the I2C function is only available on one GPIO option. At least according to the information, you've provided the other master would be sitting on the same I2C line. Not sure how the customer intends to handle that?

    Best regards
    Peter

**Attention** This is a public forum