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.

MSP430F2003 I2C speed

Other Parts Discussed in Thread: MSP430F2003

Hello,

My customer uses MSP430F2003 and they have a problem working with I2C in 400kHz..

Can I2C of this device work in 400kHz?

If yes, can you send the working code?

they also used the code from the link below msp430x20x3_usi_15.c file and saw that I2C is working in lower speed but falls in 400kHz.

http://www.ti.com/lit/zip/slac080 

Pls advise.

Igor

  • Igor Gorelik said:
    Can I2C of this device work in 400kHz?

    What does the datasheet say?

    Igor Gorelik said:
    If yes, can you send the working code?

    No. This is not a "make my job for me for free" forum. However, if the non-working code is posted here, likely someone will take a look at it.

    Igor Gorelik said:
    they have a problem working with I2C in 400kHz..

    Is the code running at a lower speed? What speed does the slave support? How do the waveforms look like? Checking the signals with a logic analyzer or (better, as it shows the real form of the signal) with a scope is a standard way of debugging this kind of communication problems.

    Possible problems are weak pull-up resistors, large line capacitance, long signal lines, heavy crosstalk, whatever. And of course racing conditions or timing problems in the code.

**Attention** This is a public forum