15.08.2013 Views

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.2.1.1 DS1996 Addressing and Memory Layout<br />

Properly communicating with the DS1996 [83] 1 – Wire® devices used in these tests<br />

requires an understanding and explanation of how the memory is organized and how to address<br />

individual pages within the memory. The memory map for a DS1996 [83] is shown in Figure<br />

6.3. At the top of the memory map is a 32-byte page, called the scratchpad. The scratchpad is an<br />

additional page that acts as a buffer when writing to memory. Beneath this are the additional 32-<br />

byte pages of memory. The DS1996 contains 256 pages which comprise the 65,536 bits of<br />

read/write nonvolatile memory.<br />

Figure 6.3 DS1996 iButton Memory Map.<br />

Because of the serial data transfer, the DS1996 employs three address registers, called<br />

TA1, TA2, and E/S as shown in Figure 6.4. Registers TA1 and TA2 must be loaded with the<br />

target address to which the data will be written or from which data will be sent to the 1 – Wire®<br />

Master upon a Read command. Register E/S acts like a byte counter and Transfer Status register.<br />

It is used to verify data integrity with Write commands. Therefore, the 1 – Wire® Master only<br />

197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!