Post Go back to editing

LTC1760CFW I2C comms with arduino

Pages 15 and 16 of the LTC1760 datasheet show a breakdown of the I2C comms.  This looks pretty clear, but I must be interpreting it incorrectly.  I can see there is a device on node 0x0A (surprisingly not 0x14, 0x16, or 0x18 as shown in the chart), but my attempts to send a command are not instigating reply data.

 In a nutshell, I am attempting

Wire.begin(8);      //join with address of 8

Wire.beginTransmission(0x0A);       //send info to address A

Wire.write(0x04);    //send command code 4 for BatterySystemInfo()

ackCheck=Wire.endTransmission();    //verify Ack of address

When monitoring the address afterwards, I see no reply, whereas I am expecting two bytes.

Would someone be willing to explain if the layout of the command is more than sending a byte to the appropriate address.  Is the layout of the response more than two bytes?

Thanks!

Parents Reply
  • Hi, 

    I tried the above code with my Arduino and the 486B Demo board, but it seems not to work. I can see the waveform of the SDA and SCL pins by using an oscilloscope but the LTC1760 does not acknowledge the address. Do you have any suggestions? 

    Regards,
    Minh.

Children
No Data