DS1977
13 of 29
Figure 7-3. MEMORY/CONTROL FUNCTION FLOW CHART
69h
Read Mem.
[w/PW]
Master TX
64-Bits [Password]
Master
TX Reset?
CRC OK?
Master RX "1"s
DS1977 sets Memory
Address = (T15:T0)
Master RX Data Byte
from Memory Address or
FFh if Password Address
Master TX
TA1 (T7:T0), TA2 (T15:T8)
Password
Accepted?
DS1977 Incre-
ments Address
Counter
End of Page?
Master RX CRC16 of
Command, Address, Data
(1
st
Pass); CRC16 of Data
(Subsequent Passes)
End of
Memory?
Master TX
Reset
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
Decision made
by DS1977
Decision made
by Master
Master Activates
Strong Pullup
DS1977 Incre-
ments Address
Counter
Master Activates
Strong Pullup
Strong pull-
up valid?
Y
N
Master
TX Reset?
To Figure 7
4
th
Part
From Figure 7
4
th
Part
From Figure 7
2
nd
Part
To Figure 7
2
nd
Part
NOTE: The strong pullup
must be activated within
40µs after the last bit of the
password is transmitted.
Pullup duration: see t
SPUR
To continue reading the next
memory page, the strong
pullup must be activated
within 40µs after the last bit
of the CRC16 is read.
See
Note
DS1977
14 of 29
Figure 7-4. MEMORY/CONTROL FUNCTION FLOW CHART
Master TX
TA1 (T7:T0), TA2 (T15:T8)
C3h
Verify
Password
N
Y
N
Y
Master TX
Password to verify
DS1977 sets Memory
Address = (T15:T3, 0, 0, 0)
Password
Match?
N
Y
Master Activates
Strong Pullup
Master
TX Reset?
Address of
Password?
Y
N
Master RX
AAh byte
Master RX
FFh byte
N
Y
Master
TX Reset?
From Figure 7
3
rd
Part
To Figure 7
3
rd
Part
CCh
Read
Version
Y
N
Master TX
two bytes 00h
Master RX two copies
of Version Register
NOTE
: The strong
pullup
must be activated within
40µs after the last bit of the
password is transmitted.
Pullup duration: see t
SPUV
DS1977
15 of 29
Read Version Command [CCh]
This command allows the master to read the chip revision code of the DS1977. After issuing the command code,
the master sends two 00h-bytes to access the version register. With the next 16 time slots the master receives two
copies of the content of the version register. Additional read-time slots will read logic 1's. Only the upper 3 bits of
the version register are valid. The lower 5 bits will all read 0.
1-Wire BUS SYSTEM
The 1-Wire bus is a system, which has a single bus master and one or more slaves. In all instances the DS1977 is
a slave device. The bus master is typically a microcontroller or PC. For small configurations the 1-Wire
communication signals can be generated under software control using a single port pin. A second port pin is
required to control the strong pullup to supply power for the commands Copy Scratchpad with Password, Read
Memory with Password and Verify Password. Alternatively, the DS2480B 1-Wire line driver chip or serial port
adapters based on this chip (DS9097U series) are can be used. This simplifies the hardware design and frees the
microprocessor from responding in real-time.
The discussion of this bus system is broken down into three topics: hardware configuration, transaction sequence,
and 1-Wire signaling (signal types and timing). The 1-Wire protocol defines bus transactions in terms of the bus
state during specific time slots that are initiated on the falling edge of sync pulses from the bus master. For a more
detailed protocol description, refer to Chapter 4 of the Book of DS19xx iButton Standards.
HARDWARE CONFIGURATION
The 1-Wire bus has only a single line by definition; it is important that each device on the bus be able to drive it at
the appropriate time. To facilitate this, each device attached to the 1-Wire bus must have open drain or tri-state
outputs. The 1-Wire port of the DS1977 is open-drain with an internal circuit equivalent to that shown in Figure 8.
A multi-drop bus consists of a 1-Wire bus with multiple slaves attached. At standard speed the 1-Wire bus has a
maximum data rate of 15.3 kbits per second. The speed can be boosted to 125 kbits per second by activating the
Overdrive mode. The value of the pullup resistor primarily depends on the network size and load conditions. For
most applications the optimal value of the pullup resistor will be approximately 2.2k for standard speed and 1.5k
for Overdrive speed.
The idle state for the 1-Wire bus is high. If for any reason a transaction needs to be suspended, the bus MUST be
left in the idle state if the transaction is to resume. If this does not occur and the bus is left low for more than 16µs
(Overdrive speed) or more than 120µs (standard speed), one or more devices on the bus may be reset.
TRANSACTION SEQUENCE
The protocol for accessing the DS1977 through the 1-Wire port is as follows:
Initialization
ROM Function Command
Memory Function Command
Transaction/Data
Illustrations of the transaction sequence for the various memory function commands are found later in this
document.
INITIALIZATION
All transactions on the 1-Wire bus begin with an initialization sequence. The initialization sequence consists of a
reset pulse transmitted by the bus master followed by presence pulse(s) transmitted by the slave(s). The presence
pulse lets the bus master know that the DS1977 is on the bus and is ready to operate. For more details, see the 1-
Wire Signaling section.
1-Wire ROM FUNCTION COMMANDS
Once the bus master has detected a presence, it can issue one of the eight ROM function commands. All ROM
function commands are 8 bits long. A list of these commands follows (refer to flowchart in Figure 9).

DS1977-F5#

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
iButtons & Accessories Password-Protected 32KB EEPROM iButton
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet