AD5259
Preliminary Technical Data
two dummy bytes and proceed directly to the “Slave Address Byte” which would be followed by the “Read Back Data”
Rev. PrJ 7/22/04 | Page 8 of 14
Calculating R
AB
Tolerance Stored in Read-Only Memory
0
A
A
D7
D6
D5
D4
D3
D2
D1
D0
SIGN
SIGN
7 BITS FOR INTEGER NUMBER
2
6
2
5
2
4
2
3
2
2
2
1
2
0
A
D7
D6
D5
D4
D3
D2
D1
D0
8 BITS FOR DECIMAL NUMBER
2
–8
2
–1
2
–2
2
–3
2
–4
2
–5
2
–6
2
–7
Figure 5. Format of Stored Tolerance in Sign Magnitude Format with Bit Position Descriptions. (Unit is percent. Only data bytes are shown.)
The AD5259 features a patented R
AB
tolerance storage in the nonvolatile memory. The tolerance is stored in the memory during factory
production and can be read by users at any time. The knowledge of stored tolerance allows users to calculate R
AB
accurately. This feature is
valuable for precision, rheostat mode, and open-loop applications where knowledge of absolute resistance is critical.
The stored tolerance resides in the read-only memory, and is expressed as a percentage. The tolerance is stored in two memory locations
in sign magnitude binary form(see Figure 5). The two EEMEM address bytes are 11110(sign+integer) and 11111 (decimal number). The
two bytes can be accessed individually in two separate commands(see Table 13ii). Alternatively, in order to allow read back of the first
byte followed by the second byte in one command(see Table 13i), the memory pointer will automatically increment from the first to the
second EEMEM locations(increments from 11110 to 11111) if read consecutively.
In the first memory location, the MSB is designated for the sign (0 = + and 1= –) and the 7 LSBs are designated for the integer portion of
the tolerance. In the second memory location, all eight data bits are designated for the decimal portion of tolerance. For example, if the
rated R
AB
= 10 k and the data readback from Address 11110 shows 0001 1100 and Address 11111 shows 0000 1111, then the tolerance
can be calculated as
MSB: 0 = +
Next 7 MSB: 001 1100 = 28
8 LSB: 0000 1111 = 15 × 2
–8
= 0.06
Tolerance = +28.06% and therefore
R
AB_ACTUAL
= 12.806 k
EEMEM Write-Acknowledge Polling
After each write operation to the EEMEM registers, an internal write cycle begins. The I
2
C interface of the device is disabled. To
determine if the internal write cycle is complete and the I
2
C interface is enabled, interface polling can be executed. I
2
C interface polling
can be conducted by sending a start condition followed by the slave address + the write bit. If the I
2
C interface responds with an ACK, the
write cycle is complete and the interface is ready to proceed with further operations. Other-wise, I
2
C interface polling can be repeated
until it succeeds.