Other Parts Discussed in Thread: MSP430G2553
Hi,
So I have been trying to get a working I2C interface on my MSP430G2553 and I have recently run into another issue. I now have the right patterns being generated but I kept receiving a NACK from the slave when I realized that my SCL was only clocking at around 100Hz (no I did not mean kHz). I then started to look at the clocking documentation and have set all registers to about as high as the DCO can go. Here is a screen shot of the register values. 
As you can see the DCO is set to 3, RSEL is set to 15, all clock dividers are set to 0, and SMCLK is set to the DCO. I was unable to capture it in the screenshot but my I2C interface is set to use SMCLK as its source and the prescalar is set to 0. When I do this my SCL clocks in the 200Hz range (I am no longer in the lab so I have forgot the exact number). I am assuming this low frequency clock is the reason that I keep getting a NACK from the slave but I have not idea what the problem is. My initializations code is:
void Initialize_I2C()
{
//Set up UC Module as I2C Master
DISABLE_I2C; // Enable SW RESET
UCB0CTL0 = (UCMST + UCMODE_3 + UCSYNC); // Setup UC Modules as I2C 7 bit addressing and as a Master
UCB0CTL1 = (UCSSEL_2 + UCSWRST); // Setup I2C module with SMCLK
UCB0BR0 = 0; // Set Prescalar value
UCB0BR1 = 0;
//Interrupts
UCB0I2CIE = UCNACKIE; // Enable NACK interrupt
IE2 |= UCB0TXIE + UCB0RXIE; // Enable TX and RX interrupts
ENABLE_I2C; // Disable SW Reset
}
In the register screenshot above I also added this line of code to try to increase the DCO
BCSCTL1 |= RSEL3;
Thanks for everyone's help.