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 want to interface MSP430G2553 with PCF8574..I am new to I2C..I have attached the circuit diagram..please correct me if wrong..Help me out with the I2C driver as I have wasted two days searching it..
Deepak,
I would recommend you install the MSP430ware SW support package http://www.ti.com/tool/msp430ware and check out some of the examples provided there.
For example, after installation you will find a trivial implementation of an I2C master on MSP430G2553 in the directory
C:\ti\msp430\MSP430ware_1_90_00_30\examples\grace\MSP430G2xxx\MSP430G2xx3\msp430g2xx3_usci_i2c_master_tx
The example above uses output from another tool called Grace http://www.ti.com/tool/grace which allows you to generate initialization code to configure the required peripherals of the MSP430 through a nice graphical user interface.
With the above mentioned tool and support package you will have a working example out of the box with no need to write any driver.
Your schematic looks fine with respect to the I2C connections.
Best regards,
/ Wolfgang