DS2490
39 of 50
CONTROL COMMANDS
GET COMM CMDS
The DS2490 must be in a halted state before the GET COMM
CMDS command can be processed.
Setup Packet Encoding:
bmRequestType
0xC0
bRequest
CONTROL_CMD
wValue
CTL_GET_COMM_CMDS
wIndex
0x0000
wLength
variable
The value of the wLength field depends on the number of
communication commands and parameters loaded in the FIFO.
APPENDIX 2: DS2490 COMMUNICATION COMMANDS, EMBEDDED COMMAND BITS, SETUP
PACKET ENCODING.
Communication commands contain embedded command parameter bits in the wValue field. The
definitions of bit parameters are described below.
BIT NAME
DESCRIPTION
CH
CH = 1 follows the chain if the page is redirected.
CH = 0 stops reading if the page is redirected.
CIB
CIB = 1 prevents a strong pullup to 5V if SPU = 1 and the bit read back from the 1-
Wire bus is 1.
CIB = 0 generally enables the strong pullup to 5V.
PS
PS = 1 reduces the preamble size to 2 bytes (rather than 3).
PS = 0 sets preamble size to 3 bytes.
D
Data bit value to be written to the 1-Wire bus.
DT
DT = 1 activates/selects the CRC16 generator
DT = 0 specifies no CRC.
F
F = 1 clears the buffers in case an error occurred during the execution of the previous
command; requires that ICP = 0 in the previous command.
F = 0 prevents the buffers from being cleared.
ICP
ICP = 1 indicates that the command is not the last one of a macro; as a consequence
command processing result feedback messages are suppressed.
ICP = 0 indicates that the command is the last one of a macro or single command
operation; enables command processing result feedback signaling.
IM
IM = 1 enables immediate execution of the command. Assumes that all 1-Wire device
data required by the command has been received at EP2.
IM = 0 prevents immediate execution of the command; execution must be started
through a control function command.
NTF
NTF = 1 always generate communication command processing result feedback if ICP =
0
NTF = 0 generate communication command processing result feedback only if an error
occurs and ICP = 0.
If ICP = 1 command result feedback is suppressed for either case, see the ICP bit above.