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.

USCI_B0 I2C Slave problem

Other Parts Discussed in Thread: MSP430G2553Hi, I am connecting 2 MSP430g2553 boards via i2c. I had successfully made one board as master and other as slave, even i was able to transmit data from master to slave. Now the task is , slave receives data from master and sends back some data to the master. I have referred some examples drom resource explore(msp430g2xx3_uscib0_i2c_12 and msp430g2xx3_uscib0_i2c_13). I am able to get data from master to slave but i am not able send back the data from slave to master?? I have used some led blink code at ISR to know whether data is transferred or not. What could be the reason?? I tried to post code but couldnot able to put it correctly(any other way to attach code??)
  • Please edit your post :-) It is unreadable. Use the syntax-highlighter in rich formatting for code.

    Dennis
  • Thanks :-)

    Do the following:

    Answer using the rich text formatting and then:

    Use the button for inserting code.

    Dennis

  • I have clicked on "use rich formatting" Still have same problem..(Tried with chrome and firefox)
  • You may have disabled some critical feature in your browser(s). The rich text editor is a plug-in. I'm not sure whether it requires JAVA installed and enabled. Maybe your security settings prevent its usage.
    If posting code without the syntax highlighter, all whitespaces are joined, losing all indenting. Also line breaks are turned into paragraph breaks and other bad things, making the posted code almost unreadable. (not to mention the missing highlighting, marking of comments etc.)

    If you can't figure out what's wrong with your browser(s), you can post your code to pastebin and publish the URL here.
  • oh!!!  I have created one more account ,there am able to reply with rich text format!!!!

  • There is a profile setting "content editor: plain text / enhanced" maybe you did set this to plain text. I haven't played with all options since the forum frontend has changed in December. So I'm not sure about the effect of this setting (or whether it has a meaning at all in the new forum software)
    However, your new account name is much nicer anyway :)

**Attention** This is a public forum