DS2480B
22 of 31
The minimum duration of a strong pullup of infinite duration strongly depends on the baud rate of the
communication between host and DS2480B. The host must first receive the response byte of the Single
Bit command, react to it and then transmit the termination command. Neglecting the host’s response time,
the shortest duration of an infinite strong pullup therefore is 173.6ms at 115.2kbps, 347.2ms at 57.6kbps,
1.04ms at 19.2kbps, and 2.08ms at 9.6kbps.
SOFTWARE DRIVER EXAMPLES
The DS2480B requires a software driver that translates the activities to be generated on the 1-Wire bus
into the appropriate commands. The examples below cover typical situations, such as reading the ROM,
writing to the scratchpad of a Memory iButton, reading the memory of a Memory iButton, programming
an Add-Only iButton EPROM and performing a temperature conversion with the DS1920 temperature
iButton. An example for the use of the Search Accelerator is included in the Search Accelerator section
found earlier in this document.
The DS2480B command codes used in these examples are valid for regular speed and will work properly
on short 1-Wire buses (<10m). The response byte on the reset command assumes a normal presence
pulse, no alarm or short.
The DS2480B includes a 1-byte buffer that stores a byte received from the host while the previous byte is
being translated into activity on the 1-Wire bus. For this reason the host may send another byte even
without having received the response byte. Sending bytes faster than they can be translated into 1-Wire
activities may result in loss of data and/or synchronization and therefore should be avoided.
READ ROM SEQUENCE
Action Sequence Host TX Host RX
Generate Reset Pulse C1 CD or ED
Set Data Mode E1 (nothing)
Read ROM Command 33 (as sent)
Read ROM ID (8 bytes) FF (x8) ROM ID
Set Command Mode E3 (nothing)
Generate Reset Pulse C1 CD or ED
WRITE SCRATCHPAD SEQUENCE
Write 2 bytes to scratchpad at memory locations 16h and 17h
Action Sequence Host TX Host RX
Generate Reset Pulse C1 CD or ED
Set Data Mode E1 (nothing)
Skip ROM Command CC CC
Write Scratchpad Command 0F (as sent)
Starting Address TA1 16 (as sent)
Starting Address TA2 00 (as sent)
Write to the Scratchpad (2 bytes) (as sent)
Set Command Mode E3 (nothing)
Generate Reset Pulse C1 CD or ED
DS2480B
23 of 31
READ MEMORY SEQUENCE
Action Sequence Host TX Host RX
Generate Reset Pulse C1 CD or ED
Set Data Mode E1 (nothing)
Skip ROM Command CC CC
Read Memory Command F0 (as sent)
Starting Address TA1 40 (as sent)
Starting Address TA2 00 (as sent)
Read 8 Bytes of Data FF (x8) (data)
Set Command Mode E3 (nothing)
Generate Reset Pulse C1 CD or ED
WRITE EPROM SEQUENCE (DS2505)
Write memory starting at address 40h
Action Sequence Host TX Host RX
Set Vpp dur. = 512µs 29 28
Generate Reset Pulse C1 CD or ED
Set Data Mode E1 (nothing)
Skip ROM Command CC (as sent)
Write Memory Command 0F (as sent)
Starting Address TA1 40 (as sent)
Starting Address TA2 00 (as sent)
*** Send Data Byte (data) (as sent)
Receive CRC16 FF (x2) CRC16
Set Command Mode E3 (nothing)
Generate Program Pulse FD response
Set Data Mode E1 (nothing)
Read Written Byte FF (data)
Go to *** to write the next byte or end the sequence as shown below
Set Command Mode E3 (nothing)
Generate Reset Pulse C1 CD or ED
TEMPERATURE CONVERSION SEQUENCE
Action Sequence Host TX Host RX
Set pullup dur. = 524ms 39 38
Generate Reset Pulse C1 CD or ED
Set Data Mode E1 (nothing)
Skip ROM Command CC (as sent)
Set Command Mode E3 (nothing)
Arm Strong Pullup EF (nothing)
Terminate Pulse F1 response
Set Data Mode E1 (nothing)
Convert Temperature 44 (as sent)
Wait for Pulse Response (nothing) response
Set Command Mode E3 (nothing)
Disarm Strong Pullup ED (nothing)
Terminate Pulse F1 response
Generate Reset Pulse C1 CD or ED
DS2480B
24 of 31
HARDWARE APPLICATION EXAMPLES
This section discusses five typical application scenarios. The DS2480B can be configured for EPROM
programming as well as for 5V operation only.
OUTPUT FILTERING
As described in the CONTROLLED EDGES section, the DS2480B employs an active pullup on the rising
edges of the 1-Wire waveform.
Excessive noise on the 1-Wire line in the region of the pullup trip voltage, V
IAPTO,
can cause an
undesirable trip of the active pullup, which can disrupt 1-Wire communication. External R-C filtering as
shown in Figure 10 should be added to all DS2480B configurations with the exception of those that
perform EPROM programming or that are operating in Overdrive mode.
For EPROM programming configurations the R-C filter cannot be used due to the voltage drop that will
develop across the 100 resistor during programming.
Figure 10. R-C FILTERING
1-Wire Bus
Return
5 V
5V Operation Only
GND
1-W
POL
VDD
VPP
RXD
TXD
DS2480
470 pf
100 ohms
DS9503
To protect the 1-Wire port of the DS2480B from electrostatic discharge it is recommended to use a low-
capacitance ESD protection diode, such as the DS950x devices. For 5V operation a single device is
sufficient. For EPROM programming two DS950x devices must be connected in series to achieve a high
enough breakdown voltage.
Figures 11a-c are examples of connecting the DS2480B directly to a UART or RS232C interface. The
circuit becomes more complex if a 1-Wire bus is to be interfaced to a port that provides and expects
inverted signals, but does not necessarily meet the RS232C (±12V) standard (Figure 11b).

DS2480B

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Buffers & Line Drivers
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet