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/DAC7574: Not dependent on Lower byte, TMS320F28075, I2C

Part Number: DAC7574
Other Parts Discussed in Thread: TMS320F28075,

Tool/software: Code Composer Studio

HI,

I am using TMS320F28075 with DAC7574. The DAC7574 is giving output depending on the First value after control byte(high byte). Control byte is 0x10. But the output is not being dependent on the 2nd byte after control byte(lower byte).

I have written like this

I2caRegs.I2CCNT = 3;

I2caRegs.I2CDXR.all = 0x10;

I2caRegs.I2CDXR.all = I2C_HIGH_D;//0xFF

I2caRegs.I2CDXR.all = I2C_LOW_D;//0xF0

So, when I vary I2C_HIGH_D DAC output is being varied accordingly. But no change in output wrt I2C_LOW_D, Can you I know why is that happening?(1)

BTW i am sending 0x4C instead of 0x98 I dont have control over R/W' in the address byte. It automatically takes Write. Can you tell me how to change to read mode?(2)