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.

MSP430F5524: [MSP430F5524] Sometimes I2C communication is stopped by noise.

Part Number: MSP430F5524
Other Parts Discussed in Thread: LDC1612

Hello

My customer is communicating with LDC1612 using I2C of USCI_B1.

During the I2C communication, there was a problem that the start bit did not occur, and as a result, it was confirmed that noise occurred by power line in the I2C line as a result of debugging.
When noise occurs in the I2C line, the start bit is not transmitted suddenly during communication, and the I2C block can not be restored even if it is software reset by UCSWRST bit.
Of course, I know that cause of this problem is wrong layout design.

Questions:
- Why does the I2C Block stop when noise is generated?
- Is there a way to avoid or recover software for this issue?

Thank you

  • Hi Wayne

    You can find the answer for your two questions in this thread e2e.ti.com/.../205379
    You can try reset msp430 to define where the problem is, the master or slaver?

    Best regards
    Gary
  • Hi Gary

    Thank you for your reply.

    The device is master mode.

    I think, I need to do test more but it seems to be resolved.

    When occured the problem, I did the following:

    1. Clear register bit. (UCTXSTP, UCTR, UCTXSTT).

    2. Change port map from I2C feature to GPIO feature

    3. Interrupt disable (UCNACKIE, UCALIE, UCTXIE, UCRXIE, UCSTTIE)

    4. I2C disable by UCSWRST bit

    5. I2C initialization.

    If I get the problem again after I test more, I will share with you.

    Thank you.