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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A data access instruction may be one of the following: WRITE_SP (0x0F), READ_SP<br />

(0xAA), COPY_SP (0x55), and READ_MEM (0xF0).<br />

WRITE_SP – The Write Scratchpad command applies to the data memory and the<br />

writeable addresses in the register page of 1 – Wire® slave devices. After issuing the<br />

Write Scratchpad command, the bus master must provide a 2-byte target address<br />

followed by the data to be written to the scratchpad.<br />

READ_SP – The Read Scratchpad command allows the 1 – Wire® Master to read the<br />

contents of the scratchpad. The data transfer starts with the least significant bit of byte 0<br />

and continues through the scratchpad until the ninth byte (byte 8 – CRC) is read. The 1 –<br />

Wire® Master may issue a reset to terminate at any time if only part of the scratchpad<br />

data is needed.<br />

COPY_SP – The Copy Scratchpad command is used to copy data from the scratchpad of<br />

the slave device to the memory of the slave device. After issuing the copy scratchpad<br />

command, the master must provide a 3-byte authorization pattern which is obtained by<br />

reading the scratchpad for verification.<br />

READ_MEM – The Read Memory command is used to read data from 1 – Wire® slave<br />

devices that support EEPROM. The bus master follows the command byte with a two<br />

byte address that indicates a starting byte location within the EEPROM data field. With<br />

every subsequent read data time slot, the bus master receives data starting at the initial<br />

address and continuing until the end of the EEPROM data field is reached or until a Reset<br />

Pulse is issued.<br />

133

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

Saved successfully!

Ooh no, something went wrong!