Other Parts Discussed in Thread: MSP430F169
Hello
For my student project, I need to interface MSP430F169 with the Capacitance to Digital Converter AD7150 from Analog Devices, Inc.
I have been having problems understanding how to write the code in C for the I2C communication between the two.
Basically, I need to
1. Configure the AD7150 chip by writing to its internal registers
2. Read from the AD7150 data register, the data value obtained after conversion
3. This happens periodically with the Timer and an interrupt routine
Could anyone give me any source of general or specific code examples (I2C read and write Operations on a Slave Device) on how to do this!
It would be really great, if I could get some help.
Thank you so much