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.

MSP430F169: Trying to do I2C and not seeing any output on oscope

Part Number: MSP430F169

I am trying just to send 1 byte of data via I2C to verify it is working, and I am not seeing any output. I have the SDA and SCL of my MSP430 connected to ground through 10k resistors, but I don't have them connected to anything else, because I am trying to verify my code is working before I start actually using the slave device. I don't see any output at all on the oscope, I don't see a clock signal or anything. Can someone send me the simplest possible code for sending 1 byte of data in I2c (in C/C++)? I just want to see the simplest possible example and get that working, after that I can build off of that and do everything I want to do. But the example code I have is not outputting anything, and I have tried reducing it to do what I want but nothing is working, no output on the oscope ever, and I just would like someone to send me the code for just transmitting 1 byte of data to a slave, that's all I need.

**Attention** This is a public forum