DS2490
18 of 50
Control Command Set Descriptions:
RESET DEVICE—This command performs a hardware reset equivalent to the power-on reset. This
includes clearing all endpoint buffers and loading the Mode control registers with their default values.
START EXECUTION—This command starts execution of Communication commands. This command
is also required to start the execution of Communication commands with an IM (immediate execution
control) bit set to logic 0.
RESUME EXECUTION—This command is used to resume execution of a Communication command
that was halted with either of the HALT EXECUTION commands.
HALT EXECUTION WHEN IDLE—This command is used to halt the execution of the current
Communication command after the 1-Wire bus has returned to the idle state. Further Communication
command processing is stopped until a RESUME EXECUTION command is received. This command, or
the HALT EXECUTION WHEN DONE command, is also used to terminate a strong pullup of semi-
infinite or infinite duration.
HALT EXECUTION WHEN DONE—This command is used to halt the execution of a
Communication command after the current command execution is complete. Further Communication
command processing is stopped until a RESUME EXECUTION command is received. This command, or
the HALT EXECUTION WHEN IDLE command, is also used to terminate a strong pullup of semi-
infinite or infinite duration.
FLUSH COMM CMDS—This command is used to clear all unexecuted Communication commands
from the command FIFO. The DS2490 must be in a halted state before the FLUSH COMM CMDS
command can be processed.
FLUSH DATA RCV BUFFER—This command is used to clear EP3 receive data FIFO (data from 1-
Wire device). The DS2490 must be in a halted state before the FLUSH DATA RCV BUFFER command
can be processed.
FLUSH DATA XMT BUFFER—This command is used to clear EP2 transmit data FIFO (data to 1-
Wire device). The DS2490 must be in a halted state before the FLUSH DATA XMT BUFFER command
can be processed.
GET COMM CMDS—This command is used to retrieve unexecuted Communication commands and
parameters from the command FIFO. The DS2490 must be in a halted state before the GET COMM
CMDS command can be processed. Unexecuted commands are returned over EP0 in the control transfer
data phase. Host software is responsible for determining the number of command/parameter bytes to be
returned and specifying the value in the wLength field of the control transfer setup packet.
Commands/parameters are deleted from the FIFO as they are transmitted to the host; the command
pointer used with the FIFO is updated as values are read. Any commands/parameters that are not
transferred remain in the FIFO and will be processed when command execution resumes. If the wLength
value passed is larger than the number of command/parameter bytes, the DS2490 will terminate the
control transfer with a short data packet.