DS2490
29 of 50
DEVICE FEEDBACK
DS2490 state and result feedback are provided to the host over the EP1 interrupt pipe. The host interrupt
polling period for EP1 transfers is controlled by the alternate setting of the 1-Wire USB Interface as
described in the section: 1-Wire Interface Summary Description. As shown in Table 15, up to 32 bytes of
feedback data are returned. As a minimum, 16 bytes of STATE REGISTER data will be delivered at each
polling interval (or USB IN transaction to EP1); the position and definition of these data values are listed
in Table 16. In addition, as shown in Table 17, between 0 and 16 extra bytes of RESULT REGISTER
data will be delivered with feedback data. This consists of communication command processing result
data as controlled by the embedded communication command bits ICP and NTF and notification bytes for
1-Wire device arrival detection. If there are less than 32 bytes of result and state register data to return,
the DS2490 will terminate the IN transaction with a short or zero data packet.
Data is loaded into the RESULT REGISTER buffer based on embedded communication command bits
NTF and ICP or upon detection of a 1-Wire device attachment. There is no defined offset position for
data values in this buffer. Knowledge of communication command ordering sent to the DS2490 must be
maintained on the host to properly interpret the returned data values. In addition, a parse of the data is
required to determine whether or not a 1-Wire detect value is included; the value of the 1-Wire detect
byte is unique. Table 18 defines the 1-Wire detect byte and data values that result from Communication
command processing.
Interrupt Transfer Data Summary Table 15
OFFSET
DATA
0x00 to 0x0F
STATE REGISTERS
0x10 to 0x1F1
RESULT REGISTERS
Notes:
1. The number of RESULT RESIGTER values will vary depending on the setting of embedded
communication command bits NTF and ICP, the number of communication commands processed
since the previous EP1 polling period, or whether a 1-Wire device was detected.
DS2490 STATE REGISTERS Table 16
Description
Offset
Data
Enable Flags
0x00
bit7 bit6 bit5
bit4
bit3
bit2
bit1
bit0
--
SPCE
0
SPUE
SPUE If set to 1, the strong pullup to 5V is enabled, if set to 0,
it is disabled.
SPCE If set to 1, a dynamic 1-Wire bus speed change through a
Communication command is enabled, if set to 0, it is
disabled.
bit 3..7 These bits are reserved.
1-Wire Speed
0x01
current 1-Wire bus speed code
Strong Pullup Duration
0x02
current pullup duration
(Reserved)
0x03
Pulldown Slew Rate
Control
0x04
current pulldown slew rate code