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.
I am having trouble getting the MSP430 G2553 to work in slave recieve mode. I am using a TM4C1294 as the master transmitter and I have verified that that code works. However, the slave does not seem to be responding to its address or something. I have zipped up and attached my code for the slave below.
Andrew,
I looked into your project files, and it looks like a blank (no application code) GRACE project. Are you attaching the right project files?
Robert,
I put 4 but Grace adds the ".0" after it once I compile and launch the program.
[...]
Edit: had this thread open before the missing ISR was posted, and didn't reload the page before answering.
Strange thing is that the GRACE screenshot twice reads 'transmit interrupt enable'. One of them should read 'receive interrupt enable'. One of them is selected. Perhaps the wrong one, and RX is not active while TX is.
The own address 4.0 is strange too. However, be sure to use the proper one. The own address is 7 bit and does not include the R/W bit. So if the own address is 4, the master must send a 0x08 start byte for writing to the slave, and 0x09 for reading.
Thank you for raising these issues. The following Bugzillas have been submitted and these issues will be addressed in the next Grace release.
[Bug 3021] USCI_B0 I2C Own Address displays in floating point, should be integer
[Bug 3022] USCI_B0 I2C receive interrupt enable displayed incorrectly
**Attention** This is a public forum