I’m having trouble reading the ETC (accumulated time) register on the DS1683 “Total-Elapsed-Time and Event Recorder with Alarm” device connected to an i2c bus. I’m running Linux on an embedded platform.
My problem is: the high-order two bytes (0xC and 0xD) are always coming back as zero. The low-order two bytes (0xA and 0xB) are returning values and incrementing.
Is there a requirement regarding the way this register is read (e.g. must be read as a single 32-bit value)? Can it be read with 4 individual byte reads (or two 16 bit reads? Apparently, I can’t successfully write to the 32-bit Password Entry register either.
I’m using the Linux i2cget utility to read from the device register set.
Am I missing something?
Thanks – Ben