DS2490
23 of 50
033199
bytes loaded into the EP3 FIFO must be monitored so that the data can be read before the FIFO
overflows. See the HW/SW APPLICATION RECOMMENDATION section for additional details.
Command parameters:
2 bytes specifying block size.
EP2 data:
Length
Description
Same as
block size
EP3 data:
Length
Description
Same as
block size
Result Register:
None, this command returns no error code.
Data block to be written to the 1-Wire device.
Data block read from the 1-Wire device.
MATCH ACCESS -
This command is used to address a device on the active section of the 1-Wire bus
using the Match ROM or Overdrive Match command code. The EP2 FIFO must be pre-filled with the 8
bytes target ROM ID before command execution. Embedded command bit RST enables a 1-Wire reset
before the command executes, and embedded command bit SE enables a 1-Wire speed change that takes
effect before the command executes.
Command parameters:
2 bytes: match command byte, new 1-Wire speed byte (optional).
EP2 data:
Length
Description
8 bytes
ROM ID of the device to be accessed.
EP3 data:
None
Result Register:
None, this command returns no error code.
READ STRAIGHT -
This command transmits a user-specified preamble of data to the 1-Wire bus and
then reads back as many bytes as specified. The preamble typically consists of a 1-Wire command code
followed by TA1 and TA2. It is possible to include a Match ROM command and ROM ID in the
preamble to also address a device at the current speed. This command can also be used to copy the
scratchpad or disconnect a path. Embedded command bit RST enables a 1-Wire reset before the
command executes. The EP2 FIFO must be pre-filled with preamble data before command execution.
Additionally, for preamble sizes greater then the FIFO size, the FIFO content status must be monitored by
host SW so that additional data can be sent to the FIFO when necessary. A similar EP3 FIFO content
monitoring requirement exists for the block read. During a block read the number of bytes loaded into
the EP3 FIFO must be monitored so that the data can be read before the FIFO overflows. See the
HW/SW APPLICATION RECOMMENDATION section for additional details.
Command parameters:
3 bytes: 2-byte parameter specifying block read size, byte specifying
preamble size.
EP2 data:
Length
Description
Same as
preamble size
EP3 data:
Length
Description
Same as
block size
Result Register:
None, this command returns no error code.
Preamble data to be written to the 1-Wire device.
Data block read from the 1-Wire device.
DO & RELEASE -
This command is typically used to control the activity of the CPU of the crypto
iButton, which requires a release sequence. This command can also be used to read from or write to the
I/O buffer or Status Register of the crypto iButton. A short preamble (3 bytes) consists of a 1-Wire