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.

CCS/SM72445: i2c

Part Number: SM72445

Tool/software: Code Composer Studio

i have interfacing the sm72445 with my controller using the i2c communication in which i am facing the problem with i2c i am getting the data as  02 E0 03  FF FF FF FF FF FF FF FF

FOR THE BELOW CODING


i2c_start();
i2c_write(0x02);
i2c_write(0xE1);

i2c_start();


i2c_write(0x03);

for(i=0;i<=7;i++)
{
data[i]=i2c_read(TRUE);
}

i2c_stop();