Hi, Using I2C I want to transmit PWM data from the MSP430 (master) to MAX5392 (slave) and based on the data received, develop desired output resistance by MAX5392. Sorry I am new with I2C and don't know if I need to consider the code for a master transmitting data or a slave receiving data! Studying TI sample code, I have started writing for a master transmitting data. I don't know how to transmit the PWM data continuously or how to connect the output of the PWM data to UCB1TXBUF. From the MAX5392 datasheet I found the slave address to start from 0x28 to 0x2E. Please see my attached code. Thank you. Niloofar (Please visit the site to view this file)
↧