
DS2490
30 of 50
Description
Offset
Data
Write-1 Low Time
0x05
current Write-1 low time code
Data Sample Offset /
Write-0 Recovery Time
0x06
current data sample offset/ Write-0 recovery time code
Reserved (Test Register)
0x07
Device Status Flags
0x08
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
EP0F
--
IDLE
HALT
PMOD
--
SPUA
Bit Definitions:
SPUA if set to 1, the strong pullup to 5V is currently active, if
set to 0, it is inactive.
bit 1: Reserved
bit 2: Reserved
PMOD if set to 1, the DS2490 is powered from USB and
external sources, if set to 0, all DS2490 power is
provided from USB.
HALT if set to 1, the DS2490 is currently halted, if set to 0, the
device is not halted.
IDLE if set to 1, the DS2490 is currently idle, if set to 0, the
device is not idle.
bit 6: Reserved
EPOF: Endpoint 0 FIFO status, see Note 1.
Communication
Command, Byte 1
0x09
Communication command currently being processed. If the device
is idle, a register value of 0x00 is sent.
Communication
Command, Byte 2
0x0A
Communication command currently being processed. If the device
is idle, a register value of 0x00 is sent.
Communication
Command Buffer Status
0x0B
Number of data bytes currently contained in the 16-byte FIFO used
to hold communication commands.
1-Wire Data Out Buffer
Status
0x0C
Number of data bytes currently contained in the 128-byte FIFO
used to write data to the 1-Wire bus.
1-Wire Data In Buffer
Status
0x0D
Number of data bytes currently contained in the 128-byte command
FIFO used to read data from the 1-Wire bus.
Reserved (Test Register)
0x0E
Reserved
Reserved (Test Register)
0x0F
Reserved
Notes:
1. If EP0F is set to 1, the Endpoint 0 FIFO was full when a new control transfer setup packet was
received. This is an error condition in that the setup packet received is discarded due to the full
condition. To recover from this state the USB host must send a CTL_RESET_DEVICE command; the
device will also recover with a power on reset cycle. Note that the DS2490 will accept and process a
CTL_RESET_DEVICE command if the EP0F = 1 state occurs. If EP0F = 0, no FIFO error condition
exists.