DS2436
22 of 29
DS2436 COMMAND SET Table 3
INSTRUCTION DESCRIPTION PROTOCOL
1-WIRE BUS
MASTER STATUS
AFTER ISSUING
PROTOCOL
1-WIRE BUS DATA
AFTER ISSUING
PROTOCOL
Read Scratchpad
Reads bytes from
DS2436 Scratchpad
11<addr
(00h-5Fh)>
RX
<read data>
Write Scratchpad
Writes bytes to DS2436
Scratchpad
17h<addr
00h-5Fh)>
TX <write data>
Copy SP1 to NV1
Copies entire contents of
SP1 to NV1
22h Idle
{NVB bit in Status
Register=1 until copy
complete(2-5 ms,typ)}
Copy to SP2 to NV2
Copies entire contents of
SP2 to NV2
25h Idle
{NVB bit in Status
Register=1 until copy
complete(2-5 ms,typ)}
Copy SP3 to SRAM
Copies entire contents
to SP3 to SRAM
28h Idle Idle
Copy NV1 to SP1
Copies entire contents
of NV1 to SP1
71h Idle Idle
Copy NV2 to SP2
Copies entire contents
to NV2 to SP2
77h Idle Idle
Copy SRAM to SP3
Copies entire contents
of SRAM to SP3
7Ah Idle Idle
Lock NV1
Locks 24 bytes of SP1
and NV1 from writing
43h Idle
{NVB bit in Status
Register=1 until lock
complete(2-5 ms,typ)}
Unlock NV1
Unlocks 24
bytes of SP1 and NV1
for writing
44h Idle
{NVB bit in Status
Register=1 until
unlock complete(2-5
ms,typ)}
Read Registers
Reads bytes from
Temperature, Voltage,
Status and ID Registers
B2<addr
(60h-63h,
77h-78h,
80h-83h)>
RX <read data>
Reset Cycle Counter
Resets cycle counter
register to 0
B8h Idle
{NVB bit in Status
Register=1 until reset
complete(2-5 ms,typ)}
Increment Cycle
Counter
Increments the value in
the cycle counter register
B5h Idle
{NVB bit in Status
Register=1 until
increment complete(2-
5 ms,typ)}
Convert V
Initiates battery voltage
A/D conversion
B4h Idle
{ADB bit in Status
Register = 1 until
conversion complete}
Convert T
Initiates temperature
conversion
D2h Idle
{TB bit in Status
Register = 1 until
conversion complete}
DS2436
23 of 29
NOTES:
1. Temperature conversion takes up to 10 ms.
2. A/D conversion takes up to 10 ms.
3. Temperature and A/D conversions cannot take place simultaneously.
I/O SIGNALING
The DS2436 requires strict protocols to insure data integrity. The protocol consists of several types of
signaling on one line: reset pulse, presence pulse, write 0, write 1, read 0, and read 1. All of these signals,
with the exception of the presence pulse, are initiated by the bus master.
The initialization sequence required to begin any communication with the DS2436 is shown in Figure 8.
A reset pulse followed by a presence pulse indicates the DS2436 is ready to send or receive data given the
correct ROM command and memory function command.
The bus master transmits (TX) a reset pulse (a low signal for a minimum of 480 μs). The bus master then
releases the line and goes into a receive mode (RX). The 1-Wire bus is pulled to a high state via the 5k
pullup resistor. After detecting the rising edge on the I/O pin, the DS2436 waits 15-60 μs and then
transmits the presence pulse (a low signal for 60-240 μs).
READ/WRITE TIME SLOTS
DS2436 data is read and written through the use of time slots to manipulate bits and a command word to
specify the transaction.
Write Time Slots
A write time slot is initiated when the host pulls the data line from a high logic level to a low logic level.
There are two types of write time slots: Write 1 time slots and Write 0 time slots. All write time slots
must be a minimum of 60 μs in duration with a minimum of a 1 μs recovery time between individual
write cycles.
The DS2436 samples the I/O line in a window from 15 μs to 60 μs after the I/O line falls. If the line is
high, a Write 1 occurs. If the line is low, a Write 0 occurs (see Figure 9).
For the host to generate a Write 1 time slot, the data line must be pulled to a logic low level and then
released, allowing the data line to pull up to a high level within 15 μs after the start of the write time slot.
For the host to generate a Write 0 time slot, the data line must be pulled to a logic low level and remain
low for the duration of the write time slot.
DS2436
24 of 29
Read Time Slots
The host generates read time slots when data is to be read from the DS2436. A read time slot is initiated
when the host pulls the data line from a logic high level to logic low level. The data line must remain at a
low logic level for a minimum of 1 μs; output data from the DS2436 is then valid for the next 14 μs
maximum. The host therefore must stop driving the I/O pin low in order to read its state 15 μs from the
start of the read slot (see Figure 9). By the end of the read time slot, the I/O pin will pull back high via the
external pullup resistor. All read time slots must be a minimum of 60 μs in duration with a minimum
recovery time of 1 μs between individual read slots.
Figure 10 shows that the sum of T
INIT
, T
RC
, and T
SAMPLE
must be less than 15 μs. Figure 11 shows that
system timing margin is maximized by keeping T
INIT
and T
RC
as small as possible and by locating the
master sample time towards the end of the 15 μs period.
INITIALIZATION PROCEDURE “RESET AND PRESENCE PULSES” Figure 8
LINE TYPE LEGEND:
Bus master active low DS2436 active low
Both bus master and
DS2436 active low Resistor pullup

DS2436Z

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

Products related to this Datasheet